Getting started beginner 8 min read

Getting started with MT5 Expert Advisors

A practical first hour with MetaTrader 5 EAs — broker setup, EA installation, demo testing, and the three checks to run before risking real capital.

Published · Reviewed

You have an MT5 Expert Advisor (= an automated trading programme written for the MetaTrader 5 platform) and you want to run it without losing money in the first week. This guide walks the practical first hour: broker setup, install, demo test, and the three sanity checks that catch most beginner failures before they cost real capital.

What is an MT5 EA, exactly?

An EA is a .ex5 file (= compiled MQL5 code) that runs inside MT5 and executes trades on your account based on logic the developer wrote. The EA reads market data from your broker, decides when to open and close positions, and sends orders through MT5’s API. The same EA file can run on any MT5 broker, but execution quality and spread differ per broker — which is why this catalogue benchmarks each EA on three brokers, not just one.

The three things you need

  1. An MT5 broker account — see the participating brokers for offshore options that accept retail clients globally. Standard or Raw / Zero accounts both work; choose based on the EA’s strategy (scalpers want low-spread Raw / Zero accounts).
  2. The MT5 desktop terminal — download from your broker after registration; runs on Windows or macOS via Wine.
  3. A VPS — optional in week 1, mandatory for live trading. Your local machine can crash, sleep, or lose internet; a VPS runs 24/7. Some brokers (= XM at $5,000+ active balance) provide a free VPS.

How to install an EA

  1. Open MT5, go to File → Open Data Folder → MQL5 → Experts.
  2. Drop the .ex5 file in that folder.
  3. Restart MT5 (= File → Exit, then re-launch).
  4. The EA appears in the Navigator panel under “Expert Advisors”.
  5. Drag it onto a chart of the EA’s intended pair and timeframe.

What to set in the EA dialog

When you drag the EA onto a chart, MT5 opens a settings dialog. The defaults are usually safe to test, but verify:

  • AutoTrading button is ON in the toolbar (= top of MT5 window). If it’s OFF, the EA loads but does not place orders.
  • The “Allow live trading” checkbox in the EA dialog. Off by default for safety.
  • Risk parameters — every EA on this catalogue documents its parameters with default values; do not change parameter values blindly.

The three sanity checks before live trading

Run these on a demo account first; they catch the failures that make beginners lose money:

Check 1 — Demo for a full week, including a weekend

A week of demo data tells you whether the EA actually trades on your broker. Some EAs back-test fine but produce zero live trades because the broker’s symbol naming, minimum lot size, or stop-out level differs from what the developer assumed.

Check 2 — Compare demo trades to the published backtest

Open the EA’s listing page on this catalogue and find the published backtest report. Pick three demo trades from your week and verify entry / exit reasoning matches the backtest pattern. If demo trades enter at random times the backtest doesn’t show, something is misconfigured.

Check 3 — Stress-test maximum loss tolerance

Manually compute: if the EA’s published max drawdown is -15%, can your psychology and your capital survive a 15% drawdown? If your “safe” capital is $5,000, are you willing to see it drop to $4,250 over six weeks before recovery? This is the single most-skipped check, and the single most common reason traders abandon working systems mid-drawdown.

Next steps

Once your demo week passes the three checks, fund the live account with the minimum the EA documents (= not your full bankroll), run for one month, and only then scale up. The temptation is to skip demo and go straight to live with full capital — most regret it within 60 days.

Related terms

Glossary references