OPEN-SOURCE SCRIPT

Range Rotation Scalping - Gold & BTC

191
Tuning for Gold & BTC

Range Threshold (0.3%):
Gold: Moves ~0.1–0.5% intraday on 1m–60m charts during active hours (e.g., London/NY session). 0.3% keeps ranges tight but realistic.
BTC: Can move 0.5–2% in minutes, but 0.3% works for micro-ranges on lower timeframes (e.g., 5m).
Value Area Size (0.7%):
Centered on Tap 1, ±0.7% fits both assets:
Gold: ~$15–20 range around a $2,000 price on 5m–15m.
BTC: ~$300–500 range around a $60,000 price on 5m–15m.
Keeps the BoS fractal within a scalp-friendly zone.
Stop Loss (0.4%) & Take Profit (0.8%):
Gold: 0.4% ≈ $8 stop, $16 profit at $2,000—quick and achievable.
BTC: 0.4% ≈ $240 stop, $480 profit at $60,000—suits its volatility.
1:2 risk-reward ratio for scalping consistency.
Lookback (3):

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.