## OrdersEA Smart Grid — New Pairs + Breakeven Bug Fix ### New Pairs Deployed - `grid-eurgbp.set` (EURGBP, Magic 333015) - `grid-eurchf.set` (EURCHF, Magic 333016) - `grid-audnzd.set` (AUDNZD, Magic 333017) ### Breakeven Bug Fix - **Bug:** `ApplyBreakeven()` line 791 had SL directions backwards for SELL positions - **Symptom:** `err=10016` invalid stops flood — 17,822 entries on AUDNZD alone - **Fix:** Swapped `+`/`-` operators → `open - buffer` for BUY, `open + buffer` for SELL - **Compiled:** `OrdersEA_Smart_Grid.mq5` → `.ex5` (0 errors, 0 warnings) - **All presets:** `InpUseBreakeven=false` until charts reloaded with fixed binary ### Trading Status - Grid EA active on 11 pairs - Confluence EA silent — verify attachment ## OrdersEA Smart Grid - Read-Only Review Follow-Up - Added a standalone read-only code review note under `Trading/MT5/`. - Added a concrete fix checklist note for the next implementation pass. - Added a preset mismatch audit note comparing older grid presets vs the newer v4.1-style presets. - Highest-risk finding: several older presets use `GetOut=Y`, but the current EA treats any non-`N` value as shutdown / GetOut mode. - Older presets are also missing explicit v4.1 controls like session filter, spread cap, breakeven, correlation caps, and adaptive-filter settings, so they fall back to source defaults. - Compared repo grid presets against live MT5 preset files under `~/mt5-docker/.../MQL5/Presets/`; no repo-vs-live preset drift found for reviewed pairs, so the preset issues identified earlier are present in live preset files too.