Monday's pivots and ATR are built from Friday's session and the first server hours are the thin Sunday-evening ET market — historically the only losing weekday (-$121 across 204 trades vs all other days positive). New CheckMondayStandDown() blocks new grids on Monday before InpMondayStartHour (default 7 = midnight ET), and because it sits above the daily pivot recalc, Monday's pivots/ATR are sampled at the resume hour instead of the rollover. All 17 presets set InpMondayStartHour=7. Trading week is now Mon 00:00 ET -> Fri 00:00 ET. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
; === OrdersEA_Smart_Grid_BO - EURCHF ===
|
|
; Historically low-volatility pair — BO only fires on genuine regime breaks
|
|
; Timeframe: H1
|
|
; WARNING: SNB surprise interventions can produce 500+ pt moves instantly
|
|
; BO with SL is safer than Grid for this pair during intervention events
|
|
|
|
; === Grid / BO Settings ===
|
|
UseAutoPivots=true
|
|
InpManualHigh=0
|
|
InpManualLow=0
|
|
Entry=10
|
|
TP=1000
|
|
Lots=1.00
|
|
MaxLevels=2
|
|
|
|
; === Range Filters ===
|
|
UseRSIFilter=false
|
|
RSIPeriod=14
|
|
RSILower=40
|
|
RSIUpper=60
|
|
UseADXFilter=true
|
|
ADXPeriod=14
|
|
ADXMax=20
|
|
UseATRFilter=true
|
|
ATRPeriod=14
|
|
ATRMultiplier=1.2
|
|
|
|
; === Stop Loss (especially important here — SNB events are catastrophic without it) ===
|
|
InpUseStopLoss=true
|
|
StopLoss=200
|
|
|
|
; === Trailing Stop ===
|
|
InpUseTrailingStop=true
|
|
InpTrailStart=1000
|
|
InpTrailStop=500
|
|
|
|
; === Risk Management ===
|
|
TRADE_RANGE=40
|
|
LongLimit=0
|
|
ShortLimit=0
|
|
GetOut=N
|
|
OpenNewTrades=Y
|
|
TakeProfitLevelPercent=0
|
|
TakeProfitLevelDollarAmount=0
|
|
EquityFactorPercent=0
|
|
LotsFactorPercent=0
|
|
BaseEquity=10000
|
|
Master=false
|
|
DiagnosticModeOn=false
|
|
InpMaxDailyDrawdown=2.0
|
|
InpMaxWeeklyDrawdown=5.0
|
|
|
|
; === Weekend Protection ===
|
|
InpCloseBeforeWeekend=true
|
|
InpWeekendCloseHour=7
|
|
InpCancelPendingBeforeWeekend=true
|
|
InpMondayStartHour=7
|
|
|
|
; === EA Settings ===
|
|
MagicNum=444010
|
|
|
|
; === Session Notes ===
|
|
; Low daily range — BO will fire rarely, only on real breakout events
|
|
; SNB quarterly assessments: use GetOut=A before each one
|
|
; DO NOT run overnight without SL — 2015 CHF event removed 20% in seconds
|