CheckWeekendProtection previously returned true after the one-shot weekend close, so the EA resumed placing new grids for the rest of Friday. Now it stays blocked until the next trading day and keeps sweeping stray positions/pendings while blocked. All 17 presets: InpWeekendCloseHour 17 -> 7 (server UTC+3), closing everything at Friday 07:00 server = Thursday midnight ET, per the no-weekend-carry policy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
; === OrdersEA_Smart_Grid_BO - Steady/Low-Vol Pairs Template ===
|
|
; Strategy: Breakout — buy above resistance, sell below support
|
|
; Best for: EURCHF, EURGBP, AUDNZD
|
|
; Timeframe: H1
|
|
; These pairs trend less — lower ADXMax catches moderate trends early
|
|
; WARNING: EURCHF carries SNB intervention risk (see pair notes below)
|
|
|
|
; === Grid / BO Settings ===
|
|
UseAutoPivots=true
|
|
InpManualHigh=0
|
|
InpManualLow=0
|
|
Entry=10
|
|
TP=1000
|
|
Lots=1.00
|
|
MaxLevels=3
|
|
|
|
; === Range Filters ===
|
|
UseRSIFilter=false
|
|
RSIPeriod=14
|
|
RSILower=40
|
|
RSIUpper=60
|
|
UseADXFilter=true
|
|
ADXPeriod=14
|
|
ADXMax=22
|
|
UseATRFilter=true
|
|
ATRPeriod=14
|
|
ATRMultiplier=1.2
|
|
|
|
; === Stop Loss (mandatory) ===
|
|
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
|
|
|
|
; === Session Notes ===
|
|
; Lower volatility = smaller moves but more frequent breakouts of ATR range
|
|
; Tight SL important — false breakouts common on these pairs
|