OPEN-SOURCE SCRIPT

SilverHawk Range Box

456
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.