Tooluck logoTooluck
SKILL.md

mt5-robot-tester

Agent skill fromtradermonty/claude-trading-skills

Select the best MetaTrader 5 trading robots (Expert Advisors) that have not been backtested yet, by running the MT5 Strategy Tester from the command line through a 3-round pipeline. Use when the user wants to batch-test MT5 bots/EAs, screen robots across all symbols, optimize EA parameters, or move candidate bots to finalists based on profit, drawdown, positive months/years and equity-curve criteria. Runs terminal64.exe headless; Windows + MetaTrader 5 required at run time.

How to install mt5-robot-tester

install mt5-robot-tester
# install the claude-trading-skills pack with the skills CLI
npx skills add tradermonty/claude-trading-skills

# or add only this skill to Claude Code: copy the folder

skills/mt5-robot-tester/

# into

~/.claude/skills/mt5-robot-tester/ (all projects)

.claude/skills/mt5-robot-tester/ (one project)

skills/mt5-robot-tester/SKILL.md

MITFull file
1# MT5 Robot Tester
2
3## Overview
4
5Select the best MetaTrader 5 robots (Expert Advisors) from a *candidates* folder
6by driving the Strategy Tester from the command line through a **3-round
7pipeline**, moving each bot between folders as it advances, and **learning across
8runs** to improve selection each loop. The whole run is checkpointed and
9resumable.
10
11- **Round 1 — screening (all pairs):** backtest the EA on each symbol in the
12 configured `common.symbols` list (one `Optimization=0` backtest per symbol —
13 MT5 build 6061 leaves the `Optimization=3` XML empty, so per-symbol backtests
14 are used). Gate: **≥5 symbols profitable AND best symbol ≥3× deposit**.
15- **Round 2 — best-pair backtest:** single backtest on the best symbol; analyze
16 net profit %, worst drawdown %, % positive months, all-years-positive, LR
17 Correlation, months-to-new-high.
18- **Round 3 — sequential parameter optimization:** optimize the 5–6 inputs after
19 `MagicNumber`, one at a time, range ±50% step 5%; then a final backtest.
20- **Finalist:** optimized result **improves** on Round 2 **and** profit **≥4×
21 deposit** **and** worst drawdown **≤12%**.
22
23Tested bots move to *in-testing*; finalists are also copied to *finalists* with
24their optimized `.set`.
25
26## When to Use
27
28- "Prueba robots / bots / EAs en MetaTrader 5."
29- Screen a folder of MT5 Expert Advisors and pick the best across all pairs.
30- Optimize EA parameters and decide finalists by profit/drawdown/consistency.
31- Resume an interrupted testing run.
32…

Excerpt shown under the repository's MIT license.

More skills in claude-trading-skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates