EA Builder

Create Expert Advisor (MT4 & MT5)

Build MT4 and MT5 expert advisors visually—configure indicators, entry/exit rules, money management, and safeguards, then compile and download.

What this feature does

The Expert Advisor builder turns your trading rules into compiled MQL4 or MQL5 bots. Pick MT4 or MT5, name your EA, add buy/sell conditions from built-in or custom indicators, set lot sizing and safeguards, then compile to .ex4/.ex5.

Use the same workflow for new bots or to update saved templates from your library.

EA builder with name, version, and metadata fields

1 Enter EA name and version

2 Strategy AI — describe rules in plain English

Choose MT4 or MT5

MT4 suits legacy brokers and .ex4 distribution. MT5 adds netting/hedging modes and richer order types. Switch version from the builder header or open /pages/expert/input/mt4 vs /pages/expert/input/mt5 directly.

  1. Log in and open Create MT4 EA or Create MT5 EA from the footer or App Home.
  2. Confirm the page title shows the correct platform (MT4 or MT5).
  3. Use the version switcher in the builder if you need to change platform mid-session.

Configure your EA

Start with EA name and version. Add description and contact fields on paid plans for marketplace listings.

Buy Conditions define when the bot opens trades. Exit Conditions (Trader plan+) close positions. Safeguards cap daily loss, drawdown, spread, sessions, and news exposure.

  1. Enter EA name and version (required).
  2. Under Buy Conditions, pick Left/Right indicators, expression (e.g. crossed above), and timeframe.
  3. Add more conditions with AND/OR groups as needed.
  4. Set lot size, stop loss, take profit, and trailing options under Money Management.
  5. Enable safeguards before live trading—daily loss limit and max drawdown are strongly recommended.
Money Management tab with lot sizing options

3 Open Money Management tab

4 Enable Grid and Risk To Lot options

Utility tab with alerts and dashboard toggles

5 Utility tab — enable Alerts for notifications

6 Check Alerts to fire popup or push notifications

Filter tab with session and news filters

7 Filter tab — session and news exposure controls

8 Enable Session Filter and News Filter

Safe Guard tab with drawdown and daily limits

9 Safe Guard tab — capital protection settings

10 Enable drawdown, daily stop, and daily target safeguards

Buy Entry tab with timeframe selector

11 Buy Entry and Exit Conditions tab

12 Pick timeframe for buy entry logic

Left indicator dropdown in buy entry row

13 Choose Left Indicator (e.g. moving average)

Indicator parameter dialog for moving average

14 Set indicator parameters — Period, MA method, Applied price

Expression dropdown with crossed above

15 Pick expression — e.g. crossed above

Complete buy entry condition row

16 Configure Right Indicator to complete buy entry rule

Buy exit conditions section

17 Add Buy Exit Conditions to close winning trades

Multiple buy entry and exit condition rows

18 Add more rows with Add New for complex logic

Sell Entry and Exit Conditions tab

19 Switch to Sell Entry and Exit Conditions

Configured sell entry and exit rules

20 Configure sell entry and exit rows (or Copy From Buy)

  • Tip: Run Strategy Tester on demo before live. Free Starter allows 5 compiles/day—plan iterations accordingly.
  • Tip: Use onboarding tour (?onboarding=1) on first visit for a quick walkthrough.
  • Tip: Save often; compile only when logic is stable to conserve daily compile quota.

Use Strategy AI

Strategy AI fills buy and sell entry/exit conditions from plain English—no manual dropdown wiring for your first draft.

Example prompt: "Buy when RSI crosses above 30 on H1. Sell when RSI crosses below 40 on H1." Click Apply to form, then tweak indicators or timeframes before compile.

  1. Open the EA builder (MT4 or MT5).
  2. Click the Strategy AI chip in the bottom-right corner.
  3. Describe your rules in plain English and click Send.
  4. Review the parsed summary and click Apply to form.
  5. Edit any condition rows, then compile as usual.
Strategy Assistant panel open on EA builder

21 Click Strategy AI and describe your strategy in plain English

Strategy AI parsing user prompt

22 Send your prompt — e.g. "Buy when RSI crosses above 30 on H1"

Parsed strategy with Apply to form button

23 Review parsed summary, then click Apply to form

Buy conditions filled from Strategy AI

24 Conditions appear in Buy Entry tab — edit or add more before compile

Compile and download

Compile sends your configuration to the cloud MQL compiler. On success you get .ex4/.ex5 (and source on eligible plans). Copy files into MetaTrader Experts folder and attach to a chart or tester.

  1. Click Compile and wait for success notification.
  2. Download the compiled file from the compile result or My Experts list.
  3. In MetaTrader: File → Open Data Folder → MQL4/5 → Experts, paste file, refresh Navigator.
  4. Drag EA onto chart or open Strategy Tester, enable AutoTrading if going live.
EA builder with download and save actions

25 Save, then Download .ex4/.ex5 after compile

Manage saved EAs

Saved EAs live under My EAs in the MT4/MT5 menu. Public EAs lets you browse and fork community configs.

My EAs list with saved expert advisors

26 My EAs — open saved configs from the MT5 menu

Public EAs discovery list

27 Public EAs — browse community-shared expert advisors

Public EA detail and import options

28 Open a public EA to fork or learn from its configuration