8%
{brand}
EA Generator
NO CODE · MQL5

Build professional Expert Advisors & Indicators for MetaTrader 5 — without writing a single line of code.

MyEA.mq5
MQL5
#property copyright  "MyEA"
#property version    "1.00"
#property strict
#include <Trade\Trade.mqh>

// ── Inputs ──────────────────
input int    MagicNumber    = 100001;
input double RiskPct        = 1.0;
input int    EMA_Period     = 200;
input int    EMA_Timeframe  = PERIOD_H4;

CTrade trade;
int    handle_ema;

int OnInit() {
  trade.SetExpertMagicNumber(MagicNumber);
  handle_ema = iMA(_Symbol,
    EMA_Timeframe, EMA_Period,
    0, MODE_EMA, PRICE_CLOSE);
  return(INIT_SUCCEEDED);
}

void OnTick() {
  // EMA Retest — entry condition
  bool _buy = (
    low1 <= buf_ema[0] &&
    close1 > buf_ema[0] &&
    close1 > open1
  );
  if(_buy)
    trade.Buy(lots, sym, ask, sl, tp);
}
How it works

Four steps to your EA

01
🎯
Choose Strategy
Configure from scratch — MQL5
02
⚙️
Entry & Stops
Configure entry trigger, stop loss, take profit and trailing from 360+ options
03
🛡️
Risk & Filters
Lot size, news filter, spread filter, pause rules, max daily risk and more
04
Generate Code
Clean, compilable MQL5 code in seconds — ready for MetaTrader 5
Built-in

Supported Indicators

Trend · Momentum · Volume · Volatility · Structure · and more

EMASMAWMAHMADEMAIchimokuSuperTrendParabolic SARADXAlligatorAroonKeltnerDonchianHeikin AshiRSIMACDStochasticStochRSICCIMFIATRBollinger BandsWilliams %RAwesome OscTRIXRVIDeMarkerOBVVWAPAnchored VWAPCMFCVDVolume ProfileAcc/DistForce IndexFVGOrder BlockBOS / CHoCHLiq. SweepBreakerMitigationPremium/DiscountEqual H/LPrev Day H/LHammerPin BarEngulfingDojiMorning StarShooting StarThree Soldiers+ many more
Hinter den Kulissen

So entsteht dein Expert Advisor

Hinter Twelora steckt keine KI, die Code halluziniert, sondern eine sorgfältig kuratierte Bibliothek aus über 160 geprüften Code-Bausteinen — eine Funktion pro Indikator, eine Vorlage pro Entry-Bedingung, ein Block pro Stop-Loss-Methode, und so weiter. Während du den Wizard durchgehst, hält der Builder im Hintergrund mit: jede Auswahl, die du triffst, markiert einen passenden Baustein als aktiv.

Wenn du dann auf „Generieren" klickst, werden diese Bausteine in genau der Reihenfolge zusammengefügt, die ein MetaTrader-EA braucht — zuerst die Inputs, dann die Indikator-Handles, dann die Trading-Logik für jeden Tick, am Ende der Cleanup. Was nicht ausgewählt ist, taucht im fertigen Code gar nicht erst auf: keine ungenutzten Funktionen, keine toten Variablen.

Das Ergebnis ist ein deterministischer Output. Bei gleicher Eingabe entsteht jedes Mal exakt derselbe Code — vorhersagbar, sauber kompilierbar und nachvollziehbar. Genau das, was eine Trading-Strategie braucht, die später echtes Geld bewegt.

Change language top right ▲
{brand}
EA Generator
Build professional MQL5 Expert Advisors & Indicators — no coding required

Choose what you want to build — both generate clean, compilable code for MetaTrader.

🤖
Expert Advisor
Full automated trading system with Entry, SL, TP, Risk Management, Filters & more
Entry Trigger Stop Loss Take Profit Trailing Break-Even Risk Mgmt Pyramiding News Filter Dashboard
📊
Custom Indicator
Visual indicator with custom buffers, colors & signal alerts for MetaTrader 5 charts
MA Types RSI / MACD Bands Oscillator Multi-TF Alerts Buffers Colors
53+
SL Types
47+
TP Types
15
Languages
200+
Signal Types
🤖
EA Name & Description
Change Mode 🤖 EA
EA NAME (max. 30 Zeichen)
0 / 30
BESCHREIBUNG optional
VERSION
📊
Timeframe
⚙️
Inputs & Trade Mode
SYMBOL
MAGIC NUMBER empty = random
TRADE KONTROLLE
MAX. TRADES PRO TAG all symbols combined
Applies to all symbols combined. At 1 exactly one trade per day is allowed, regardless of symbol.
TRADE MODUS
💰
Risk Management
RISIKO TYP
Lot Size
Fixed Lot Size
Money Amount ($)
Risk in USD
Percent (%)
% of account balance
STANDARD RISK
Lots
STARTKAPITAL Basis for loss calculation
The starting capital is the basis for all percentage loss calculations of the safety levels.
MAX. TAGES-RISIKO Daily Limit
Blocks new trades when the daily lots or money limit is reached. Configurable independently of the chosen risk type.
SPREAD-FILTER No trade when spread too high
Prevents new trades when the current spread exceeds the set maximum. Protects against costly entries and exits in illiquid markets.
SLIPPAGE-SCHUTZ Max. erlaubte Kursabweichung
Limits the maximum deviation between desired and actual entry price. Protects against poor executions in volatile markets.
🔍
Filter
EA PAUSIEREN optional
NEWS FILTER optional
Activate MQL Calendar News Filter MQL5 Calendar
📈
Indicators
AKTIVE INSTANZEN optional — multiple selectable
Trend
Oszillatoren
Volumen
SMC
Candle Patterns
🔍
⏱ RANGES optional — Time-based zones for Breakout Entries

Define time windows (e.g. London Open: 08:00–09:00). These ranges can then be used as entry triggers in the trigger chain.

🎯
Entry Trigger
BUY
Long Positions
SELL
Short Positions
🛡️
Stop Loss

Activate Entry Triggers in Section 06 first.

🎯
Take Profit
🔒
Safety & Extras
DRAWDOWN PROTECTION up to 5 levels
ℹ How it works
Each stage is reversible — when the drawdown drops back below a threshold, lots are automatically restored. Reduction is always calculated as a percentage of the starting lot size, not the current size.
Example — Start lots: 0.10
📉 Stage 1 at -5% → subtract 10% of start lots = trade with 0.09
📉 Stage 2 at -10% → subtract 10% more = trade with 0.08
Stage 3 at -20% → stop all trading
↩ Recovery: drawdown back to 4%? → Stage 1 deactivates, lots restore to 0.09
TRADE JOURNAL CSV Export
Automatically records trades in a CSV file — openable in Excel. Saved in MQL5/Files/
AUTO SCREENSHOT Chart Image on Trade
Automatically saves a chart screenshot when a trade is opened or closed — saved in MQL5/Files/Screenshots/
HEARTBEAT EA still running check
The EA sends a push notification at regular intervals. If the message is missing, the EA has stopped. Works even without ticks (OnTimer).
TICK-INTERVAL VPS Optimierung
Limits how often the EA executes the trading logic per second. Noticeably reduces CPU load on VPS servers — especially with many simultaneous EAs or fast symbols.
🔔
Notifications
BENACHRICHTIGUNGEN Start / Stop
CODE BESCHREIBUNG #property in MQL5
These details appear directly in the generated MQL5 code and in the MT5 settings window of your EA.
LOG AUSGABEN Print Log
Choose which events should be written to the MT5 Expert log.
🎨
Customization
CHART FARBEN
CHART DASHBOARD Live-Panel auf dem MT5 Chart
Shows a small info panel directly on the chart — live updated while the EA runs.
INDIKATOR-DARSTELLUNG Color · Width · Style · Visibility
All active indicators are automatically drawn on the chart.
CODE KOMMENTARE Descriptions in MQL5 Code
Comments help understand the generated code — especially useful if you want to modify the code later.
Done
Code Ready!
Copy or download your .mq5 file for MetaTrader 5
💾 Presets
Save the current configuration as a preset and reuse it across code variants. Presets are stored in this browser.
Loading summary...
MyEA.mq5
Complete all sections and click Generate
or press the Generate button in the sidebar
⚡ {brand} Help