Enable intraday range drift for metals only (XAUUSD 1500pts, XAGUSD 450pts)

Both metals sat above their daily pivot band all week (Jul 20-22) with
zero fills: the no-trade-zone guard correctly refused buy-stops too
close to price, and the once-daily pivot recalc meant the band never
re-anchored once price drifted away and stayed there. CheckRangeDrift()
already existed for this (disabled everywhere); enabling it for the two
metals lets the band re-center intraday once price drifts ~1x hourly ATR
from the midpoint, without touching FX presets which don't show this
problem.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-22 23:40:10 -04:00
co-authored by Claude Fable 5
parent e72a2ea5c4
commit dbc6eb1671
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -24,6 +24,16 @@ UseATRFilter=true
ATRPeriod=14
ATRMultiplier=2.5
; === Range Drift ===
; Daily pivot band only refreshes once per server day. Gold spent all of
; Jul 20-22 sitting above that stale band (no fresh buy-stop could be
; placed — no-trade-zone guard correctly refused one too close to price),
; so the sell-side-only grid kept getting cancelled/re-placed without a
; fill. Re-center intraday once price drifts ~1x hourly ATR from the
; band's midpoint so both sides stay reachable.
InpRangeDriftEnable=true
InpMoveRangeTrigger=1500
; === Stop Loss (MANDATORY — Gold can wipe 500 pts without SL) ===
InpUseStopLoss=true
StopLoss=1500