INVITE-ONLY SCRIPT
Black_Whale_Trend_BTC

## Black_Whale_Trend (BTC) — Trend-Following Strategy (Research)
This script is a **BTC-only** trend-following strategy.
(Using it on other assets may change signal frequency and performance due to different volatility/volume structures.)
### 1) Concept
The strategy aims to participate in strong trend legs by confirming:
* **Trend regime** via **Keltner Channel position (p)**
* **Momentum** via a **strong bullish candle** (body strength vs. wick)
* **Participation** via **volume expansion** above a threshold
### 2) Entry / Exit Rules
**Entry (Long)**
* `p > enterPosTh`
* AND `strongBull`
* AND `highVol`
**Exit**
* `p < exitPosTh`
### 3) Position Sizing (Leverage / Exposure)
**Manual mode**
* Uses `manualLevPct` directly (**ignores** levMin/levMax clamp).
**AutoRisk mode**
* Estimates stop distance using ATR:
* `stopPct = ATR(stopAtrLen) * stopMult / close * 100`
* `autoLevPct = riskPct / stopPct * 100`
* Then applies clamp: `levMinPct ~ levMaxPct`
### 4) Stop Mode
* **Close**: No stop-loss; exits are channel-based only.
* **DisasterStop**: Fixes ATR at entry and places a stop via `strategy.exit(stop=stopPrice)`.
### 5) Parameters (Core/Range Guidance)
Default values reflect a **flattened Core (P50)** derived under **(Manual + Close)**.
When tuning, it is recommended to stay within the **suggested ranges** shown in each input tooltip and validate changes on out-of-sample periods.
### 6) Notes & Disclaimer
* Results can vary significantly depending on **fees, slippage, and execution**.
* This script is provided for **research/educational purposes** and is **not financial advice**. Use at your own risk.
This script is a **BTC-only** trend-following strategy.
(Using it on other assets may change signal frequency and performance due to different volatility/volume structures.)
### 1) Concept
The strategy aims to participate in strong trend legs by confirming:
* **Trend regime** via **Keltner Channel position (p)**
* **Momentum** via a **strong bullish candle** (body strength vs. wick)
* **Participation** via **volume expansion** above a threshold
### 2) Entry / Exit Rules
**Entry (Long)**
* `p > enterPosTh`
* AND `strongBull`
* AND `highVol`
**Exit**
* `p < exitPosTh`
### 3) Position Sizing (Leverage / Exposure)
**Manual mode**
* Uses `manualLevPct` directly (**ignores** levMin/levMax clamp).
**AutoRisk mode**
* Estimates stop distance using ATR:
* `stopPct = ATR(stopAtrLen) * stopMult / close * 100`
* `autoLevPct = riskPct / stopPct * 100`
* Then applies clamp: `levMinPct ~ levMaxPct`
### 4) Stop Mode
* **Close**: No stop-loss; exits are channel-based only.
* **DisasterStop**: Fixes ATR at entry and places a stop via `strategy.exit(stop=stopPrice)`.
### 5) Parameters (Core/Range Guidance)
Default values reflect a **flattened Core (P50)** derived under **(Manual + Close)**.
When tuning, it is recommended to stay within the **suggested ranges** shown in each input tooltip and validate changes on out-of-sample periods.
### 6) Notes & Disclaimer
* Results can vary significantly depending on **fees, slippage, and execution**.
* This script is provided for **research/educational purposes** and is **not financial advice**. Use at your own risk.
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、sky00478に直接お問い合わせください。
TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
This script is **Invite-only**.
Click **[Request access]** and include **purpose / symbol & timeframe / brief experience**.
Approval is **case-by-case**; access may be revoked for **misuse or unauthorized sharing**.
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、sky00478に直接お問い合わせください。
TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
This script is **Invite-only**.
Click **[Request access]** and include **purpose / symbol & timeframe / brief experience**.
Approval is **case-by-case**; access may be revoked for **misuse or unauthorized sharing**.
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。