v1.0.2
✓ currentEA compiles from any Experts subfolder
Fixed — #include resolution
- The three .mq5 entry-points loaded their engine modules with quote-form RELATIVE includes — #include "..\Include\MTR\Config.mqh" — which MetaEditor resolves against the EA's OWN folder. Dropped into MT5's stock MQL5\Experts\Advisors\ subfolder, that resolved to the non-existent MQL5\Experts\Include\MTR\: 15 × error 106 (file '…\Experts\Include\MTR\Config.mqh' not found), cascading into ~86 more (declaration without type · undeclared identifier 'g_baskets' · …) for 101 errors total.
- All three entry-points (MTR_FullSystemEA · MTR_VisualResearchEA · MTR_DonchianRegimeGrid_v01) now use angle-bracket form — #include <MTR\Config.mqh> — which resolves from MQL5\Include\ regardless of where the .mq5 sits. Verified with MetaEditor: 0 errors compiling from BOTH Experts\ and Experts\Advisors\ (previously 101 / 100 / 100 errors from Advisors\).
- EA versions bumped so you can tell the builds apart: MTR_FullSystemEA 1.100 → 1.101; MTR_VisualResearchEA and MTR_DonchianRegimeGrid_v01 1.000 → 1.001.
- No trading logic changed. The compiled .ex5 is functionally identical — the includes resolve to the same 20 modules, and all 20 .mqh files are byte-for-byte unchanged from v1.0.1. This is purely an install-robustness fix.
Changed
- SETUP_GUIDE.md — §2 install rewritten: MQL5/Include/MTR/ is copied first (it is now the only path that has to be exact), plus the ~101-error symptom and its fix for anyone still on v1.0.1 or earlier.
- CHANGELOG.md inside the ZIP now carries the v1.0.1 entry too — it had only ever been published on the website.
- Corrected the Jun-2026 headline figure to $3,724,741 (372×). Since v1.0.1 the ZIP had misquoted it $10,000 low — a digit transposition that didn't even divide to the 372× printed beside it (the Strategy Tester's balance curve ends at $3,724,741.39). It was in BACKTEST_RESULTS.md and in the header comments of the two .ini configs the guide points you at to reproduce the run. The website already carried the right number; the ZIP now matches it, and the ZIP's own CHANGELOG owns the correction.
- New: sale_package/audit_shipped_zip.ps1 — gates every release on the built ZIP (not the repo, because untracked files ship). It blocks a retracted figure from ever reappearing, cross-checks every $N (M×) pair against the $10,000 deposit, asserts zero compiled .ex5, and compiles all 3 EAs from BOTH Experts\ and Experts\Advisors\.
Who should take this update
- Everyone — this is the first change to the MQL5 source since launch. If your current copy already compiles, nothing breaks by staying on it; the fix only removes the folder constraint.