TrueTestHonest results, on the record.

What is an expert advisor (EA)?

EA Trade TesterDemo labHow we testAll guidesFor AI agents

Published · methods v2.5 · by TrueTest

An expert advisor (EA) is a program that trades for you inside MetaTrader 4 or MetaTrader 5. It reads prices as they arrive, applies fixed rules written by its author, and opens, manages and closes trades without a click from you. Whether one works is a separate question, and most trading strategies do not survive a fair test: in our own research, 632 of the 633 strategy tests we judged in full did not pass every check (1 passed and is a candidate for paper trading).

Check an EA freeSee a full example first

Drop your .mq5/.mq4 code, a Python bot, or an MT4 or MT5 report or statement on the home page. The first read takes seconds and needs no sign-up; the lab verdict is free too. Only the full report is paid (GBP 49: a PDF to keep plus the interactive report). The price shown is the full price: no VAT is added at checkout. Any VAT due on this sale is already included in it. TrueTest is not VAT-registered in the UK. We read your code as text and never run it as given; an outside AI service drafts the rule card only if you tick the box (see Security). Not financial advice.

What does an expert advisor actually do?

An EA is written in MQL5 for MT5 (source files end in .mq5, compiled files in .ex5) or MQL4 for MT4 (.mq4 and .ex4). The terminal runs it on a chart, and each time the price changes the EA checks its rules, for example "buy when the fast moving average crosses above the slow one, with a stop 30 pips away". Some EAs trade one pair on one timeframe; others watch many symbols, hold several trades at once, or add to losing trades (grids and martingales). An EA follows its rules and nothing else: it does not learn from the market unless its author built that in, and it cannot react to news it was not written to read. The terminal must stay open and connected while it trades, which is why many traders run EAs on a rented server (a VPS).

EA, indicator or script: what is the difference?

Many EAs are built around an indicator's signals, so an indicator that repaints its arrows after the fact makes the EA built on it look better in a backtest than it can trade (repainting and look-ahead).

How many EAs are out there, and how many hold up?

We have catalogued 1,800+ free MT5 EAs from the MQL5 Market and rebuilt and tested the strategies of 53 of the most-used ones on up to 16 years of prices with real costs (counted 10 November 2026). A shop page with a smooth equity curve tells you that its author found a good backtest; it does not tell you that the EA works on prices it has not seen. These checks tell the two apart.

How can you tell if an EA works?

  1. A long test with real costs. Spread, commission and swap decide most results; a test without them says little (EA costs).
  2. More than luck. The best of many tries looks good by chance alone, so the bar rises with the number of tries (real or luck?).
  3. Every year, not the total. A total can hide one lucky year and several losing ones (every year).
  4. The money management. Lot sizes that grow after a loss can turn a smooth curve into a wiped account (grid or martingale?).
  5. New prices. A forward test on prices the EA has never seen is the closest thing to live trading without risking money (forward test).

If you only have the compiled file, you can still run it in the MT5 Strategy Tester and check the report it saves (testing an .ex5).

Can I try an EA without risking money?

Yes. Run it in the Strategy Tester, then on a demo account for a few weeks with the broker and lot size you would use live. A demo shows whether the EA behaves as its rules say; it cannot show whether the edge is real, which needs the checks above.

Related pages

Questions people ask

Is an expert advisor the same as a forex robot?

Yes. Expert advisor is MetaTrader's name for it; forex robot and trading bot usually mean the same kind of program.

Does an MT4 EA run in MT5?

No. Each EA is written for one platform: an MT4 EA (.mq4 / .ex4) does not run in MT5 and an MT5 EA does not run in MT4, unless its author made both versions.

Are free EAs safe to run?

Run any EA in the Strategy Tester and on a demo account before real money, and look at its lot sizing: grid and martingale EAs are common among free ones.

Is this financial advice?

No. It explains what an EA is and how to test one. Not financial advice.