mt5-ea-coder

Generate and backtest MetaTrader 5 Expert Advisors from JSON strategy specifications.

1|2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/anhnguyen123312/skill-trader --skill mt5-ea-coder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mt5-ea-coder
Source: https://github.com/anhnguyen123312/skill-trader/tree/main/.agents/skills/mt5-ea-coder
Command: npx skills add https://github.com/anhnguyen123312/skill-trader --skill mt5-ea-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires strategy-spec-risk, ea-backtest-analyst, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation and backtesting of MetaTrader 5 Expert Advisors (EAs) from formal strategy specifications, streamlining the development process for traders.

Core Features & Use Cases

  • EA Code Generation: Convert strategy specifications into production-quality MQL5 EA code.
  • Backtesting: Execute backtests on generated EAs using real tick data.
  • Use Case: For a trader with a JSON strategy specification for XAUUSD trading, this Skill can generate the corresponding EA code and backtest it to assess performance.

Quick Start

Generate and backtest an EA for the XAUUSD trading strategy by providing the strategy specification and executing the mt5-ea-coder skill.

Frequently Asked Questions about mt5-ea-coder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate MetaTrader 5 Expert Advisor code from a strategy specification?

MetaTrader 5 Expert Advisor code generation is automated by providing a formal strategy specification in JSON format, which the Skill uses to create production-quality MQL5 code, handling indicators, risk, and order management.

Can I backtest MQL5 Expert Advisors using real tick data?

Yes, MQL5 Expert Advisor backtesting uses real tick data to execute performance assessments. After generating the EA from a JSON specification, the Skill runs backtests to evaluate strategy viability.

Do I need a JSON strategy specification to automate EA generation?

Yes, a formal strategy specification in JSON format is required to automate EA generation. This input defines your trading logic, allowing the Skill to output corresponding MQL5 code for MetaTrader 5.

What is the best way to automate XAUUSD trading strategy implementation in MetaTrader 5?

Automating XAUUSD trading strategy implementation involves defining the logic in a JSON specification, then using the Skill to generate the MQL5 Expert Advisor and backtest it with real tick data for performance assessment.

Does this EA generation tool handle risk management and indicator management?

Yes, EA generation handles both risk management and indicator management. The Skill translates your JSON strategy specification into MQL5 code that integrates these controls directly into the MetaTrader 5 Expert Advisor.