38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
; RSIConsolidation.mq5 — optimization preset (Strategy Tester → Inputs → Load)
|
|
; Format: Name=Current||Start||Step||Stop||Y|N (Y = include in optimization)
|
|
;
|
|
; === Symbol & session ===
|
|
InpSymbol=
|
|
; === Timeframe & bar logic ===
|
|
; SignalTF: optimize per run (ENUM is non-sequential); M15=15, H1=16385, H4=16388
|
|
SignalTF=15||15||0||15||N
|
|
EntryOnNewBarOnly=true||false||0||true||N
|
|
; === Regime: consolidation (anti-trend) ===
|
|
ADX_Period=14||7||1||28||Y
|
|
ADX_Max=22.0||16.0||1.0||32.0||Y
|
|
UseATRRatioFilter=true||false||0||true||N
|
|
ATR_Period=14||7||1||21||Y
|
|
ATR_SMA_Period=50||20||5||100||Y
|
|
ATR_Ratio_Max=1.18||1.0||0.02||1.35||Y
|
|
UseFlatEMAFilter=true||false||0||true||N
|
|
EMA_Fast=8||5||1||13||Y
|
|
EMA_Slow=21||13||2||34||Y
|
|
EMA_Separation_MaxPct=0.22||0.08||0.02||0.45||Y
|
|
; === RSI entries ===
|
|
RSI_Period=14||7||1||21||Y
|
|
RSI_Price=1||1||1||7||Y
|
|
RSI_Oversold=32.0||22.0||1.0||42.0||Y
|
|
RSI_Overbought=68.0||58.0||1.0||78.0||Y
|
|
; === Exits ===
|
|
UseRSI_MeanExit=true||false||0||true||N
|
|
RSI_Exit_Long=52.0||48.0||1.0||62.0||Y
|
|
RSI_Exit_Short=48.0||38.0||1.0||52.0||Y
|
|
SL_ATR_Mult=1.35||0.9||0.05||2.2||Y
|
|
TP_ATR_Mult=1.85||1.0||0.05||3.0||Y
|
|
MaxBarsInTrade=36||12||2||80||Y
|
|
; === Risk & execution ===
|
|
Lots=0.1||0.1||0.01||1.0||N
|
|
MagicNumber=20250420||20250420||1||20250420||N
|
|
Slippage=10||10||1||100||N
|
|
MaxSpreadPoints=0||0||1||30||Y
|