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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
SilverHawk Suite
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
SilverHawk Suite
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.