MQL5 EA Builder for MetaTrader 5

Your strategy.
Real MQL5 code.
Tested in minutes.

Describe your trading strategy in plain English. Get MetaEditor-ready MQL5 Expert Advisor code, run your backtest, paste the results back in, and receive AI diagnosis and a revised EA — all in one loop.

Generates native MQL5 · Unique magic numbers · Full error handling · Zero hardcoded symbols

interview
generated EA
What market are you trading?
Forex — EURUSD, H4
What type of strategy?
Trend following with RSI confirmation
Risk management approach?
Fixed 1% risk per trade

The development loop

From idea to tested EA — in one session

01

Define your idea

Answer 7 plain-English questions. Market, timeframe, indicators, risk approach. No forms to configure — just describe what you want to build.

What market are you trading?
Forex — EURUSD, H4 timeframe
Strategy type?
Trend following, RSI filter
02

Turn it into real MQL5 code

Two-pass AI generation. Every known MQL5 pitfall checked before the code reaches you — magic numbers, error handling, symbol parameterisation.

input double riskPercent = 1.0;
input int rsiPeriod = 14;
input int magicNumber = 482910;
 
int OnInit() {
return INIT_SUCCEEDED;
}
03

See if it actually works

Run the EA in MT5 Strategy Tester. Paste your results back — any format, any language. The raw data is preserved before any analysis runs.

Profit Factor1.84
Max Drawdown12.3%
Win Rate61%
Trades247
04

Kill or refine fast

AI diagnoses exactly what failed and generates a revised EA targeting those specific issues. One loop took days of manual editing. Now it takes minutes.

Stop Loss too tight for H4 volatility
RSI period causing signal lag on this pair
Magic number collision resolved
Revised EA generated

The problem

Why most EA builders create junk

There are two paths to a working EA. Both have serious problems. StratForge is neither.

Block builders

Too rigid

You drag indicators into a grid. The logic looks right until it isn't — and the builder has no way to express what you actually mean. Complex conditions, multi-timeframe filters, dynamic position sizing: blocked.

Raw MQL5

Too complex

Professional output, professional barrier to entry. Learning MQL5 to build one testable strategy is like buying a forge to sharpen a kitchen knife. The code is the bottleneck, not the strategy.

Both

Too slow

Neither approach closes the loop. Build, test, discover a flaw, rebuild from scratch. There's no path from a failed backtest to a targeted fix without starting over or hiring a developer.

StratForge

Natural language in. Professional MQL5 out. Feedback loop closed.

Describe your strategy the way you think about it. Get code that passes the MT5 compiler. Run the backtest. Paste the results back. Get a diagnosis and a revised EA. Repeat until the strategy earns its place on a live account — or gets eliminated fast.

Build with evidence

Most EAs fail. That's the point.

A failed backtest is data. StratForge turns failure into a specific, actionable revision — not a reason to start over.

Example backtest output

Profit Factor1.84
Max Drawdown12.3%
Win Rate61%
Total Trades247
Sharpe Ratio1.21
Recovery Factor3.4

Illustrative example output. Results vary by strategy.

AI diagnosis

Stop Loss too tight for H4 volatility regime
RSI period causing entry lag on this instrument
Position sizing not scaling with account equity
Revised EA generated with targeted adjustments

This loop — backtest, diagnose, revise — used to take days of manual MQL5 editing. With StratForge it happens in a single session. The goal isn't to generate a perfect EA on the first attempt. The goal is to find out fast whether a strategy has an edge.

Pricing

Start free. Pay once.

Free

$0
  • 2 complete EA generations
  • Full interview flow
  • MetaEditor-ready MQL5 code
  • Copy, download, email to desktop
Start free

Unlimited

$9.99one-time
  • Unlimited strategies
  • Unlimited iterations
  • Full strategy history
  • Export & backup anytime
  • All future updates included
Unlock unlimited access

FAQ

Common questions

What is an MQL5 Expert Advisor?+

An Expert Advisor (EA) is an automated trading program that runs inside MetaTrader 5. It monitors the market, executes trades, and manages positions according to rules you define — without requiring manual input. EAs are written in MQL5, a C++-based language developed by MetaQuotes specifically for MT5.

Do I need to know how to code MQL5?+

No. StratForge translates your strategy description into complete, MetaEditor-ready MQL5 code. You describe what you want — market, timeframe, indicators, risk approach — and the AI handles the code architecture, error handling, and known pitfall prevention.

What is a two-pass AI review?+

Every EA generated by StratForge goes through two stages. The first pass generates the full EA from your strategy parameters. The second pass silently reviews the output against a structured checklist of known MQL5 failures — OnTick inefficiency, missing magic numbers, hardcoded symbol strings, absent OrderSend error handling — and fixes them before the code reaches you.

How does the backtest analysis work?+

After running your EA in the MT5 Strategy Tester, you paste the results back into StratForge as plain text. The AI extracts key metrics — profit factor, max drawdown, win rate, total trades — diagnoses the specific issues present, and generates a revised EA targeting those problems directly. No regex, no format requirements — any MT5 report format works.

Is the generated code actually usable in MetaTrader 5?+

Yes. The output is described as MetaEditor-ready, meaning it is structured correctly for the MetaEditor compiler. You open MetaEditor from within MT5, paste or import the code, compile it, and attach it to a chart. Compilation and backtesting remain your responsibility — StratForge generates the code, not the trading results.

What happens to my Anthropic API key?+

Your API key is stored only on your device in the browser's local database (IndexedDB). It is never transmitted to StratForge servers, never logged, and only used for direct client-to-Anthropic API calls. You pay Anthropic directly for your usage — typically a few cents per EA generation.

What does the $9.99 unlock include?+

A single one-time payment unlocks unlimited EA generations, unlimited backtest iterations, full strategy history, and all future updates. There is no subscription, no recurring charge, and no per-generation fee beyond your Anthropic API usage.

How is StratForge different from other MQL5 EA builders?+

Most EA builders stop at code delivery. StratForge closes the full development loop: interview, generate, backtest, analyse, revise. The AI reads your MT5 backtest results, identifies what failed, and generates a targeted revision — turning a failed backtest from a dead end into a data point. No other retail tool does this.

Stay in the loop

MT5 tips, strategy ideas, and updates

No spam. Just occasional insights on algorithmic trading and StratForge updates.