28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
|
|
; MT5 optimization .set file — example
|
||
|
|
; Format: param=current_value||start||step||stop||Y (Y=sweep this param)
|
||
|
|
; param=current_value||N (N=fixed, no sweep)
|
||
|
|
;
|
||
|
|
; MT5-Quant handles encoding automatically:
|
||
|
|
; - Converts to UTF-16LE (MT5 strips ||Y flags from UTF-8 files)
|
||
|
|
; - Sets read-only flag after writing
|
||
|
|
; - Resets OptMode in terminal.ini before launch
|
||
|
|
;
|
||
|
|
; Copy to your project dir and point --set to it.
|
||
|
|
|
||
|
|
; ── Entry parameters (sweep) ─────────────────────────────────────────────────
|
||
|
|
Min_Entry_Confidence=0.610||0.580||0.010||0.650||Y
|
||
|
|
Max_Entry_Spread=30||10||5||50||Y
|
||
|
|
|
||
|
|
; ── Take-profit and stop-loss (sweep) ────────────────────────────────────────
|
||
|
|
TP_Pips=400||300||50||600||Y
|
||
|
|
SL_Pips=800||600||100||1200||Y
|
||
|
|
|
||
|
|
; ── Grid / martingale settings (fixed) ───────────────────────────────────────
|
||
|
|
MaxLayers=6||N
|
||
|
|
LotMultiplier=1.5||N
|
||
|
|
GridStep_Pips=150||N
|
||
|
|
|
||
|
|
; ── Risk management (fixed) ──────────────────────────────────────────────────
|
||
|
|
Max_DD_Percent=15.0||N
|
||
|
|
CutLoss_Percent=25.0||N
|