Mt5 Agent Toolkit — AI skill for Claude Code
Turn a written trading strategy into a MetaTrader 5 Expert Advisor with an AI coding agent.
How to install Mt5 Agent Toolkit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open smizxe/mt5-agent-toolkit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mt5 Agent Toolkit does
Turn a written trading strategy into a MetaTrader 5 Expert Advisor with an AI coding agent. Headless MQL5 compile, headless Strategy Tester, and the nine silent failures of the MT5 command line.
Alternatives in AI
- Strategic Advisor Orchestrator — AI Coding Agent Orchestrator 2026: Pro-Level Strategy & Review Framework 116 ★
- Multi Agent Architecture Advisor — Advanced AI Code Strategy Advisor for Developer Agents (2026) 115 ★
- AI Trading Agent — Multi-symbol AI trading agent — Claude AI + FastAPI + Next.js + MetaTrader 5 72 ★
README
MT5 Agent Toolkit
**Turn a written trading strategy into a MetaTrader 5 Expert Advisor, using an AI coding agent.**
Headless MQL5 compile, headless Strategy Tester, and a knowledge base that stops the agent writing MQL4 by mistake.
[](LICENSE) [](#requirements) [](#requirements) [](#requirements) [](#which-ai-agents-work-with-this)
You describe a strategy in plain language. The agent writes the MQL5, compiles it, reads its own compiler errors, fixes them, runs a backtest, and reports the numbers. You read the numbers and decide.
You do not need to know MQL5.
.\scripts\compile.ps1 -File "src\Experts\MyEA.mq5" -Json
.\scripts\backtest.ps1 -Expert "MyEA.ex5" -Symbol EURUSD -From 2024.01.01 -To 2024.12.31 -Json
Both return JSON. That is the whole interface an agent needs.
Contents
- Why this exists
- The nine silent failures
- Quick start
- What is inside
- How the loop works
- FAQ
- Requirements
- Limits
- Contributing
- Disclaimer
Why this exists
Two problems. The second is the expensive one.
**MQL5 is a niche language and language models write MQL4 by mistake.** They reach for `OrderSend` with eight parameters, `OrderSelect`, `OrderClose`, `OP_BUY`, bare `Ask` and `Bid`, `#property strict`. None of it compiles against MetaTrader 5. Without grounding, you watch an agent rediscover the same errors for an hour and conclu
Related Skills
Mq5 Skills
Evidence-first AI agent skill for MetaTrader 5: build and verify MQL5 Expert Advisors (compile-checked templat
Agent Trading Journal
AI trading journal MCP server: Claude Code, Codex or any MCP agent logs trades from chart screenshots, checks
Silent Failure Scanner
Scan AI outputs for silent failures: placeholders, empty stubs, hedging, no-progress repeats, hallucination ma
Claude Agent Trader
Claude Agent SDK-based trading system -- Claude AI analyzes ICT/SMC patterns, auto-executes trades via MT5 MCP
Orca Agent Advisor
Two-tier second-opinion advisor for Orca coding agents — invisible headless routing (Claude Code /advisor styl
AI Advisor
You are a trading advisor for a Hyperliquid perpetual futures bot. You receive a JSON payload with positions,
Related Agents
Ue Build Verifier
Use to compile the project and/or run automation tests headless and report results. Trigger after code changes
Silent Failure Reviewer
Use on any diff to hunt for failures that hide - swallowed errors, empty catch blocks, fallbacks that turn an
Mql Trading Dev
Use this agent when the user is working on MQL4/MQL5 or C/C++ development related to MetaTrader platforms, inc