Ballast Backtest Stress Test
- Yardımcı programlar
- Sürüm: 1.10
- Güncellendi: 29 Kasım 2026
- Etkinleştirmeler: 5
Is your optimised backtest a real edge, or what any search would find in random data? Run the same optimisation on noise worlds - the real volatility of your symbol with every move flipped up or down at random - and compare. If random data gives results as good, the backtest is luck.
For any single-symbol Expert Advisor, yours or one you consider buying. No DLL, no web requests; it never trades on a live chart.
Full manual: https://www.mql5.com/en/blogs/post/782504
- 1. Search luck (decides the verdict): you optimise your EA on the real symbol and on 5 noise worlds with the same inputs, ranges and dates. An optimiser always finds something; the question is whether it finds more in real prices than in prices where no pattern can exist. Verdict: LIKELY A REAL EDGE, UNCLEAR or LIKELY SEARCH LUCK.
- 2. Settings: your chosen settings and their neighbours (each input one step away). A spike that collapses when one input moves is flagged. A broad plateau is shown as stable, not as proof: in our tests an over-fitted EA sat on a broad plateau too.
- 3. Costs: the same history with the spread x1.5 and x2 (cost worlds): how much of the result survives a more expensive broker.
- How the worlds are built: from the M1 history of your period. Noise worlds swap every one-minute move with the move at the same time of day on a random day and flip it up or down at random: the volatility by hour, the spread and the bar shapes stay, any directional pattern is gone. Cost worlds are the real bars with a wider spread. All are custom symbols (EURUSD.noise1x1 .. noise5x1, EURUSD.cost150x2, cost200x2) with the contract of the real symbol.
- Reads the results by itself: export each optimisation to XML into one folder; the tool recognises the symbol, EA, timeframe and dates of every file, skips files that do not match, warns when a noise world got a smaller search than the real symbol, and writes an HTML and a text report.
- Honest about small samples: below 50 trades it says that no test can separate skill from luck; it never calls an edge below 30 trades.
How to use
- Put the tool on a chart of the symbol, set the backtest period, press Build noise worlds (and Build cost worlds).
- Run your usual optimisation of the EA on the real symbol and on every world - same inputs, ranges, dates and model (1 minute OHLC or Every tick). Clear the tester cache first so that every run gets an equal search. In the results right click > Export to XML into MQL5\Files\BallastStress.
- Press Analyze. Afterwards Remove worlds deletes the test symbols.
Tested on cases with a known answer
- A real edge (a 15-pip move planted on Tuesday and Thursday afternoons of real EURUSD): best on real data +2747, best on 5 noise worlds +1154 .. +1451 -> LIKELY A REAL EDGE.
- An over-fitted EA (hour, weekday, direction, stop, target and holding time optimised on EURUSD H1, Jan 2024 - Jun 2025): best +929 on real data, +1150 .. +2271 on noise worlds -> LIKELY SEARCH LUCK. Those settings lost 630 USD in the following 16 months.
- A trend robot that later failed (profit factor 0.62 in 2016-2026): in-sample +551 vs noise +13 .. +627 -> UNCLEAR, no green light.
- A common alternative, re-running the EA on reshuffled real days, rated the same over-fitted EA robust: profitable in 20 of 20 worlds. Reshuffled days still contain the quirk the optimiser found; noise worlds do not.
- Whole workflow from the panel (build, 8 optimisations, analyze) on a demo terminal; Market-style check on 8 symbols: 0 errors.
Good to know
- Noise worlds have no direction. A long-only (or short-only) EA in a strongly trending period beats them partly through the market's own direction: that part is real in the past but is not a skill of the EA. For one-sided EAs compare with an out-of-sample period as well.
- It costs tester time: 5 extra optimisations of your EA (2 more for costs). Long histories need memory - use fewer worlds, a shorter period or fewer tester cores.
- MetaTrader does not let a tool start the Strategy Tester; you run the optimisations, the tool builds the data and reads the results.
- Single-symbol EAs only (the EA must trade the chart symbol). Worlds are built from bars, so use 1 minute OHLC or Every tick, not real ticks.
- A verdict is evidence about the past period, not a promise about the future. UNCLEAR usually means: test a longer period.
- In the Strategy Tester the tool only opens small demo trades so the automatic Market check sees trading; it never trades on a chart.
Works well with
- Ballast Loss Finder — free: shows where your account loses money
- Ballast Prop Rules Checker — free: would your trading have passed a prop-firm challenge?
- Ballast Prop Guard — keeps a prop-firm challenge inside the daily and total loss limits
- Ballast EA Pause — pauses your EAs around news, after a daily loss or a losing streak, and restarts them
