MT5 Robot Tester screens a folder of MetaTrader 5 Expert Advisors that have not been backtested yet. A Python script builds tester configuration files, launches terminal64.exe from the command line, parses the reports, and moves each robot between candidates, in-testing and finalists folders.
Round one backtests the robot on every configured symbol, round two backtests the best symbol, and round three optimizes the inputs one at a time. Runs are checkpointed and can be resumed. It needs Windows and MetaTrader 5 at run time, and it reports test statistics without advising anyone to trade.
What You Get
- A leaderboard in JSON and Markdown with verdict, best symbol, profit, drawdown and LR correlation per robot
- Finalist robots copied to a finalists folder together with their optimized .set files
- A resumable run with state.json and run.log checkpoints after every step
- A learnings file that records which parameters and symbols paid off so later loops reorder their work
- An optional localhost HTML control panel showing each robot’s phase and verdict
Common Use Cases
- Batch testing a folder of untested Expert Advisors across a Market Watch symbol list
- Optimizing the inputs of a robot one parameter at a time and comparing against its baseline
- Resuming an interrupted multi-day test run without repeating finished rounds
- Dry-running the generated tester INI files before committing to a long real-tick run
What Makes It Unique
It treats the Strategy Tester as a pipeline with gates and a memory. Robots move between folders as they advance, runs resume only when the config, binary and .set fingerprints still match, and incomplete or unparsable reports never reject or promote a candidate. A learnings store reorders later optimization toward the parameters that helped before. The terminal path is never auto-discovered unless you opt in, which protects a live broker terminal on the same machine.
Under The Hood
The skill runs Python scripts that write INI files, start terminal64.exe on Windows with the tester settings, wait for it, and read the HTML or XML reports it produces. It moves and copies Expert Advisor files between the candidates, in-testing and finalists folders and writes reports, state, logs and learnings under an output folder. The optional dashboard script starts a small web server on localhost only, protected by a per-server token. Closing the terminal at the end of each run is part of the setup, so use a portable tester-only install. It uses only the Python standard library and calls no external API.