Test an EA without source code (.ex5 only)
EA Trade TesterDemo labHow we testAll guidesFor AI agents
We never run your .ex5 file: you run it in MetaTrader 5's own Strategy Tester and send us the report it saves. A compiled file cannot be turned back into its rules, but the trades it makes can be judged, and these steps give you a report worth judging.
How do I make a report from the .ex5?
- Copy the .ex5 into the Experts folder inside MQL5 in your MetaTrader 5 data folder (File, Open Data Folder), then refresh the Navigator.
- Open the Strategy Tester (View, Strategy Tester) and pick the EA, the symbol and the timeframe it was made for.
- Choose the dates, several years if you can, and the modelling: "Every tick based on real ticks" where your broker has the history, else "Every tick".
- Set the deposit and leverage you would really use, keep the inputs you would really run, and press Start.
- When it finishes, open the report tab of the tester, right-click it and save the report as HTML.
- Before you send it anywhere, read three lines yourself: History Quality (recorded or generated ticks), Total Trades (under 30 is too few to judge) and Equity Drawdown Relative.
Then drop the saved .htm file on our home page for the free check of its trades.
What can a report show without the code?
Our own test log holds 327 runs, all compiled .ex5 files run this way (as of 17 November 2026); our report reader matches MT5's own trade count and net profit on all 279 of our own reports that had trades. From the trades alone a check can still answer whether the profit is more than luck for the number of versions tried, whether it survives extra costs, whether every calendar year carries its share, and whether the trade list has the shape of a grid or of trades with no stop (the grid and martingale signs).
What can nobody read from a compiled file?
- The rules themselves: entries, exits and filters are machine code, so no card of the rules can be written and no copy can be rebuilt.
- Code faults that did not show in your test: a wrong server-time setting, a setting that is never used, a repainting signal.
- What the EA does on settings, symbols or dates you did not test: the report covers one run only.
- Whether a later download is the same program: keep the file you tested, and test again after an update.
If the seller will share the .mq5 source, send that too: code can be read for faults line by line, a compiled file cannot.
Related pages
- What to check before you buy an EA
- Is my EA martingale or grid? How to tell
- Every tick vs real ticks in MT5 backtests
- Sample report
- All EA testing guides
- EA Trade Tester home: test your EA, bot, indicator or report
Questions people ask
Can you read an .ex5 or .ex4 file directly?
No. Compiled files cannot be read back into rules; send the Strategy Tester report the EA produced.
Should I run the seller's own settings file?
Run the settings you would really trade. If the seller ships a .set file, test it as shipped and once with your own lot size.
Does the report show the EA's code faults?
Only the ones that changed the trades in your test. A fault that did not fire in that run leaves no trace in the report.
Is this financial advice?
No. It explains how to test a compiled EA. Not financial advice.