Per user decision 2026-07-22/23, applying the endorsed sizing from the metals sizing review (skipping the 'temporary ceiling' variant). Caps per-position risk at ~$1,125 gold / ~$1,750 silver (vs $1,500/$5,000 at 1.00 lot); tail case (4 stops both sides, both symbols) now ~$5,750 (~5.1% of $111k equity) vs the prior ~$26k. Cross-EA combined-risk cap (the doc's other ask) remains a separate future v5.7 task -- not yet built, so the account-level dollar cap is not enforced, only the per-symbol lot reduction. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
82 lines
2.0 KiB
Plaintext
82 lines
2.0 KiB
Plaintext
; === OrdersEA_Smart_Grid_BO - XAUUSD (Gold) ===
|
|
; Strongest trending instrument — excellent BO candidate on macro events
|
|
; Timeframe: H1
|
|
; WARNING: 500+ pt moves on FOMC, NFP, geopolitical shocks — SL is critical
|
|
|
|
; === Grid / BO Settings ===
|
|
UseAutoPivots=true
|
|
InpManualHigh=0
|
|
InpManualLow=0
|
|
Entry=100
|
|
TP=5000
|
|
Lots=0.75
|
|
MaxLevels=2
|
|
|
|
; === Range Filters ===
|
|
UseRSIFilter=false
|
|
RSIPeriod=14
|
|
RSILower=40
|
|
RSIUpper=60
|
|
UseADXFilter=true
|
|
ADXPeriod=14
|
|
ADXMax=30
|
|
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
|
|
|
|
; === Trailing Stop ===
|
|
InpUseTrailingStop=true
|
|
InpTrailStartPoints=1000
|
|
InpTrailStop=500
|
|
|
|
; === Risk Management ===
|
|
TRADE_RANGE=200
|
|
LongLimit=0
|
|
ShortLimit=0
|
|
GetOut=N
|
|
OpenNewTrades=Y
|
|
TakeProfitLevelPercent=0
|
|
TakeProfitLevelDollarAmount=0
|
|
EquityFactorPercent=0
|
|
LotsFactorPercent=0
|
|
BaseEquity=10000
|
|
Master=false
|
|
DiagnosticModeOn=true
|
|
InpMaxDailyDrawdown=3.0
|
|
InpMaxWeeklyDrawdown=7.0
|
|
|
|
; === Weekend Protection ===
|
|
InpCloseBeforeWeekend=true
|
|
InpWeekendCloseHour=7
|
|
InpCancelPendingBeforeWeekend=true
|
|
InpMondayStartHour=7
|
|
|
|
; === Thursday Wind-Down ===
|
|
InpUseWinddown=true
|
|
InpWinddownStartHour=19
|
|
InpWinddownTrailStart=200
|
|
InpWinddownTrailStop=150
|
|
|
|
; === EA Settings ===
|
|
MagicNum=444013
|
|
|
|
; === Session Notes ===
|
|
; Best BO events: FOMC decisions, NFP, geopolitical escalation, CPI surprises
|
|
; Gold trends very cleanly once ADX > 30
|
|
; ADXMax=30 set higher than other pairs — Gold needs confirmed trend before BO fires
|
|
; Avoid thin Asian overnight sessions for BO entry
|