Ballast EA XRay
- Yardımcı programlar
- Sürüm: 1.10
- Güncellendi: 1 Aralık 2026
- Etkinleştirmeler: 5
A backtest with a smooth curve and a 90% win rate can hide a martingale, a grid without a stop, or a drawdown the balance line never shows. Ballast EA XRay reads the trades and tells you, in plain words, the risk an Expert Advisor hides - before you trust it with money.
Works on a Strategy Tester report (MT5 or MT4, saved as HTML) - also of the free demo of any EA from the Market - or on this account's own history, filtered by magic number. It is a script: it never trades and changes nothing.
What it looks for
- Martingale: does the lot grow after a loss? XRay compares the next lot after losing and after winning trades, so normal compounding is not flagged.
- Martingale grid: are bigger lots added to a trade that is already losing?
- Grid / averaging: trades added while a trade in the same direction is losing, how many stack up, how many are open at once. A grid with a stop on every trade is a warning, not a red flag.
- No stop-loss: trades opened without a stop, and whether any trade was ever closed by one.
- Small wins, rare big losses: a high win rate with an average loss several times the average win; how many wins the worst loss erased; the largest single loss as % of the balance.
- Hidden drawdown (MT5 report): equity drawdown far larger than the balance drawdown - losing trades were held open, so the balance curve looks smoother than the account was.
- Also: losers held much longer than winners, profit that comes from 5 trades, too few trades to judge, poor test data (history quality).
Grade A (no hidden risk pattern found) to F (more than one serious risk), every finding explained in one or two sentences, on the chart and in a text file.
How to use
- In the Strategy Tester run the EA (or its free Market demo). On the Backtest tab: right click > Report > HTML. MT4: Report tab, right click > Save as Report.
- Save the file in the MQL5\Files (MQL4\Files) folder: File > Open Data Folder.
- Drag Ballast EA XRay onto any chart. By default it reads the newest report in that folder. Or set What to check to this account's history (and a magic number).
Tested on EAs with a known answer
- A martingale (lot doubles after a loss): MARTINGALE - after a loss the next lot was 1.5x or more in 99% of cases, after a win in 0%.
- An averaging grid without a stop that looked great (profit factor 3.12, +5,344 on 10,000 in a year, 71% wins): grade F - martingale grid, no stop-loss, and equity drawdown 14.1% while the balance showed 0.8%.
- A grid with a stop on every trade (Ballast Grid Manager): only a warning - the stops limit the loss; check their sum.
- A pullback robot with a stop on every trade: no martingale, no grid, a stop on every trade - and an honest note when there are too few trades to judge.
- MT4 partial closes (the rest continues under a new ticket) are followed as one trade. Reports in any terminal language are read: XRay uses the table layout, not the words.
Good to know
- XRay reads what the EA did, not why. A clean grade means no hidden risk pattern was found - not that the EA will make money. Whether a backtest is an edge or luck is what Ballast Backtest Stress Test checks.
- An MT5 report does not list stop changes after entry: a stop set a moment after the trade opens counts as 'opened without a stop'; XRay then also checks whether trades were closed by a stop and says so.
- Account history has no equity curve, so the hidden drawdown check needs a Strategy Tester report.
- HTML reports only (not XLSX). Copy the file into the MQL5\Files folder - MetaTrader lets programs read only there.
MQL5 Signals: check before you subscribe
New in 1.10: XRay also reads the trade history of any MQL5 Signal. On the signal's page open the Trading history tab, click Export to CSV: History, save the file in the MQL5\Files (MQL4\Files) folder and run XRay. It checks martingale, grid / averaging, stacking, small wins with rare big losses, losers held longer than winners and profit from a few trades. Deposits and withdrawals in the export are taken into account. The export has no stop-losses and no equity curve, so those two checks are skipped: compare the balance and equity charts on the signal's page yourself.
Works well with
- Ballast EA XRay Quick — free: the grade and the name of each finding for any backtest report
- Ballast Backtest Stress Test — is your EA's optimised backtest an edge or search luck?
- Ballast EA Pause — pauses your EAs around news, after a daily loss or a losing streak, and restarts them
- Ballast Loss Finder — free: shows where your account loses money
- Ballast Risk Panel — one-click trades with the lot sized from your risk %
