OPEN-SOURCE SCRIPT
SilverHawk Range Box

SilverHawk Range Box
This indicator detects volatility compression (ranging markets) using standard deviation, variance, and ATR thresholds, then draws a dynamic range box with trend line.
Features:
- Range detection when volatility is low (compressed std/var/ATR)
- Range box with mid bands and gradient fills
- Trend line inside range (bullish/bearish color)
- Bottom-left warning note when range is active
- Alert on range start
Settings:
- Range Period: lookback length (default 10)
- Range Multiplier: band width (default 1.8)
- StdDev/Variance/ATR Multipliers: compression thresholds (default 0.8/0.8/0.9)
- Show Trend Line / Range Bands: toggle visuals
- Enable Alerts: toggle range start alert
Best used on H1 to H4 timeframes in Forex or indices to avoid choppy ranging markets. Use with proper risk management and confirmation.
Educational tool only. Not financial advice. Trading involves risk.
This indicator detects volatility compression (ranging markets) using standard deviation, variance, and ATR thresholds, then draws a dynamic range box with trend line.
Features:
- Range detection when volatility is low (compressed std/var/ATR)
- Range box with mid bands and gradient fills
- Trend line inside range (bullish/bearish color)
- Bottom-left warning note when range is active
- Alert on range start
Settings:
- Range Period: lookback length (default 10)
- Range Multiplier: band width (default 1.8)
- StdDev/Variance/ATR Multipliers: compression thresholds (default 0.8/0.8/0.9)
- Show Trend Line / Range Bands: toggle visuals
- Enable Alerts: toggle range start alert
Best used on H1 to H4 timeframes in Forex or indices to avoid choppy ranging markets. Use with proper risk management and confirmation.
Educational tool only. Not financial advice. Trading involves risk.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
SilverHawk Suite
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
SilverHawk Suite
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.