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:
@@ -29,6 +29,13 @@ ATRMultiplier=2.2
|
|||||||
; of 30 blocked every cycle. 60 clears normal spread, still blocks blowouts.
|
; of 30 blocked every cycle. 60 clears normal spread, still blocks blowouts.
|
||||||
InpMaxSpreadPoints=60
|
InpMaxSpreadPoints=60
|
||||||
|
|
||||||
|
; === Range Drift ===
|
||||||
|
; Same issue as gold — stale daily band left silver sell-only and unfilled
|
||||||
|
; all week. Re-center intraday once price drifts ~1x hourly ATR from the
|
||||||
|
; band's midpoint (silver ATR ~0.4-0.5 -> ~400-500pts at 0.001 point size).
|
||||||
|
InpRangeDriftEnable=true
|
||||||
|
InpMoveRangeTrigger=450
|
||||||
|
|
||||||
; === Stop Loss (MANDATORY) ===
|
; === Stop Loss (MANDATORY) ===
|
||||||
InpUseStopLoss=true
|
InpUseStopLoss=true
|
||||||
StopLoss=1000
|
StopLoss=1000
|
||||||
|
|||||||
@@ -24,6 +24,16 @@ UseATRFilter=true
|
|||||||
ATRPeriod=14
|
ATRPeriod=14
|
||||||
ATRMultiplier=2.5
|
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) ===
|
; === Stop Loss (MANDATORY — Gold can wipe 500 pts without SL) ===
|
||||||
InpUseStopLoss=true
|
InpUseStopLoss=true
|
||||||
StopLoss=1500
|
StopLoss=1500
|
||||||
|
|||||||
Reference in New Issue
Block a user