Describe your strategy in plain English. Get a production-grade MQL5 Expert Advisor with risk %, ATR stops, trailing, daily-loss circuit breaker and an on-chart dashboard — auto-reviewed for compile errors before it hits your editor.
No credit card · Email + password · Your code stays private · Self-review pass included
#include <Trade/Trade.mqh>
CTrade trade;
input double InpRiskPercent = 1.0; // Risk per trade (%)
input int InpRSI_Period = 14;
void OnTick() {
double rsi = iRSI(_Symbol, PERIOD_CURRENT, InpRSI_Period, PRICE_CLOSE, 0);
double ema50 = iMA(_Symbol, _Period, 50, 0, MODE_EMA, PRICE_CLOSE);
double ema200 = iMA(_Symbol, _Period, 200, 0, MODE_EMA, PRICE_CLOSE);
if (rsi < 30 && ema50 > ema200 && PositionsTotal() == 0) {
double lot = CalcLotByRisk(InpRiskPercent, 200);
trade.Buy(lot, _Symbol, 0, 0, 0, "rsi+ema crossover");
}
}Add ATR-based trailing stop and risk-percent sizing.
Updated OnTick() with CalcLotByRisk and a 2× ATR trailing stop. Diff ready to apply.
Pick from an Equity bar, Signal Strength meter, Spread/Latency gauge and Open Positions table — or describe your own. The builder emits clean OBJ_RECTANGLE_LABEL code, wires DashInit/Update/Deinit into your event handlers, and cleans up every object on detach.
Generic code assistants hallucinate MQL functions. Dungeon Bot Builder is tuned for MetaTrader: it knows CTrade, ENUM_TIMEFRAMES, magic numbers, freeze levels, and synthetic-index quirks.
VSCode-grade editor with syntax highlighting and an AI side chat that sees your file.
Every generated EA is re-compiled mentally by a 2nd model that fixes compile errors, missing SL/TP, and risk gaps before it hits your editor.
One-click migration that rewrites OrderSend logic into the modern Trade library.
Knows V75/V100/Boom/Crash quirks: tick-driven, no swap, spike handling.
Risk-% sizing, ATR stops + trailing, break-even at +1R, daily-loss circuit breaker — defaults on every bot.
Drag widgets onto a faux chart, regenerate MQL5 object code, or auto-detect dashboards in saved bots.
Grouped inputs, magic-number scoping, broker-suffix-safe symbol handling — pass through Strategy Tester cleanly.
Describe a HUD in English — “equity bar + daily P/L with red glow if loss > 2%” — get OBJ_RECTANGLE_LABEL code.
Download your file ready to drop into MetaEditor on Windows for compilation.
“RSI + EMA crossover on V75 with 1% risk, ATR trailing.” Or paste an existing MQ4/MQ5 file.
Generates the EA, then a 2nd pass hardens compile errors, SL/TP, risk caps and event cleanup.
Download the .mq5, drop it in MetaEditor, attach to a chart. Zero red squiggles.
“First AI that actually knows ENUM_BASE_CORNER. My V75 scalper compiled clean on the first export.”
“The daily-loss breaker saved a challenge. I just described the rule, the AI baked it into OnTick.”
“Dashboard builder is genius. Drag four widgets, hit insert, done. No more wrestling with OBJ_LABEL.”