Mt5 Ea Toolkit
Description
MT5/MQL5 Expert Advisor 全自动工具链 — Claude Code Skill
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
MT5-EA Toolkit
**MT5/MQL5 Expert Advisor 全自动生成工具链** — 为 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 打造的量化交易自动化 Skill。
一条命令,AI 自动完成:生成策略代码 → 编译 → 修复错误 → 多市场多周期回测 → 解析报告 → 排行榜。
官网:[https://mt5ea.caocaoshuoshuo.com/](https://mt5ea.caocaoshuoshuo.com/)
功能特性
- AI 自动生成 EA:基于 14 种专业技术分析理论(MACD、RSI、布林带、海龟法则、一目均衡表等)自动生成 MQL5 策略代码
- 自动编译 & 修复:调用 MetaEditor 编译,编译失败时 AI 自动分析错误并修复,支持多次迭代
- 多市场多周期回测:支持 EURUSD/EURJPY/USDJPY × M15/H1/H4 共 9 种组合回测
- 智能模式:先快速验证策略有效性(PF > 1.0),有效后自动扩展到多市场多周期
- 回测报告解析:自动提取盈利因子、最大回撤、胜率、恢复因子等关键指标
- 排行榜:HTML 可视化排行榜,一键查看所有 EA 表现排名
- 断点续跑:会话中断后从上次的进度自动继续
前置要求
- Windows 10/11(MT5 仅支持 Windows)
- MetaTrader 5 已安装并登录至少一个账户
- Claude Code CLI 已安装并配置好
- 激活码:在 caocaoshuoshuo.com 注册账号并购买激活码
安装
1. 购买激活码
前往 [caocaoshuoshuo.com](https://caocaoshuoshuo.com/) 注册账号并购买 MT5-EA Toolkit 激活码。
2. 安装 Skill
将本项目克隆到 Claude Code 的 skills 目录:
# 确保 skills 目录存在
mkdir -p "$env:USERPROFILE\.claude\skills"
# 克隆到 skills 目录
git clone https://github.com/caoshuo594/mt5-ea-toolkit.git "$env:USERPROFILE\.claude\skills\mt5-ea-toolkit"
3. 启动 Claude Code
claude --dangerously-skip-permissions
使用方法
登录认证
首次使用需要登录你的 caocaoshuoshuo.com 账号:
> 请帮我登录 mt5ea,邮箱 xxx@xxx.com,密码 xxxx
或者直接说:
> 帮我生成 1000 个 EA
AI 会自动引导你完成登录。
生成 EA
只需用自然语言描述你的需求:
> 帮我生成 1000 个 EA
> 用 MACD 策略生成一个 EA
> 基于海龟法则写一个 EA,回测 EURUSD H4
> 帮我回测一下这个策略
AI 会自动完成整个流程:生成代码 → 编译 → 修复 → 回测 → 分析结果。
回测模式
| 模式 | 说明 | 耗时/EA |
|---|---|---|
| 单市场单周期 | 只测 EURUSD H1 | ~30-60 秒 |
| 多市场×多周期 | EURUSD/EURJPY/USDJPY × M15/H1/H4 共 9 种组合 | ~5-10 分钟 |
| 智能模式(推荐) | 先快速验证,有效后自动扩展 | 自适应 |
查看排行榜
> 打开排行榜
自动生成 HTML 排行榜并在浏览器中打开,展示所有 EA 的盈利、回撤、盈利因子等指标。
项目结构
mt5-ea-toolkit/
├── SKILL.md
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11