Black_Whale_Trend_BTC

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 לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.
הוראות המחבר
כתב ויתור
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. יהיה עליך לשלוח בקשת גישה ולקבל אישור לשימוש. בדרך כלל, הגישה ניתנת לאחר תשלום. למידע נוסף, עקוב אחר ההוראות של היוצר בהמשך או צור קשר עם sky00478 ישירות.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.