MT4 & MT5 backtesting · free alternative for manual testing

MT4 & MT5 Backtesting
Without the Tester Headaches

The strategy tester was built for robots. You trade with your eyes.

How to run a backtest in the MetaTrader 4 and 5 strategy tester, which modelling mode to trust, and what to do when it says “waiting for update” or tests nothing at all. And if you trade by hand, a free browser replay where you click buy and sell on real history — then bring your MT5 reports in to be read properly.

THE TESTER IS BUILT FOR EAs Visual mode replays a chart, but there are no buy and sell buttons in it. Manual traders end up installing third-party panels to click a trade. MT TESTER · CODEvsREPLAY · CLICK
0
INSTALLS
105
MARKETS
S5–MN
16 TIMEFRAMES
MT5
REPORT ANALYZER
GOLD SINCE 2009, MAJORS SINCE 2010
THE SAME HISTORY ON EVERY BROKER
+NO MQL NEEDED
+CLICK TO TRADE
+REAL SPREADS
+READ YOUR EA REPORT
Data from Dukascopy
MT4 & MT5 STEP BY STEP

How to backtest in
the strategy tester.

The tester runs an Expert Advisor over your broker's history. The steps are almost identical in MT4 and MT5; the modelling options are where they differ.

01
OPEN THE TESTER

Press Ctrl+R, or View → Strategy Tester. It docks under the chart.

02
PICK EA + MARKET

Choose the Expert Advisor, symbol, timeframe and date range. Set deposit, leverage and spread.

03
CHOOSE MODELLING

Every tick for the final run; open prices or 1-minute OHLC for a fast first pass.

04
START + READ

Tick Visual mode to watch it trade, press Start, then read the Results, Graph and Report tabs.

TESTER FEATUREMETATRADER 4METATRADER 5
Modelling modes
~Every tick, Control points, Open prices only
✓Every tick, Every tick based on real ticks, 1 minute OHLC, Open prices only, Math calculations
Ticks inside each bar
~Generated from M1 bars unless you import tick data
✓Real ticks where the broker supplies them
Several symbols in one test
×One symbol
✓Multi-currency EAs
Optimisation
✓Slow complete or genetic, single core
✓Multi-core, local network and MQL5 Cloud agents
Forward test period
×Run it separately
✓Built in
Manual buy / sell in the test
×Needs a third-party panel EA
×Needs a third-party panel EA
History source
~Your broker, depth varies
~Your broker, depth varies
✓YES~PARTLY×NO
STRATEGY TESTER NOT WORKING?

Six tester problems
and what fixes them.

Most tester failures are not bugs. They are history, settings or the EA's own checks — and the Journal tab under the tester usually says which.

“Waiting for update”

The tester is pulling history for the symbol and dates you set. Leave it to finish, check the terminal is connected to the broker, and shorten the date range if the broker does not hold data that far back.

MT5
Zero trades in the result

Open the Journal tab. The usual causes are invalid stops (closer than the broker's minimum), not enough money for the lot size, a symbol name the EA does not expect, or input values that never trigger an entry on that timeframe.

MT4 + MT5
Low modelling quality

In MT4, the quality figure reflects how complete your M1 history is. Download fuller history from the History Center (F2), or import third-party tick data. In MT5, use real ticks if your broker offers them.

MT4
“DLL loading is not allowed”

The EA calls an external library. Allow DLL imports in Tools → Options → Expert Advisors and in the EA's own settings — and only for EAs whose source you trust.

MT4 + MT5
The test takes hours

Every-tick modelling over years is heavy. Do a first pass on Open prices only or 1 minute OHLC, narrow the inputs, then run every tick on the final candidate. In MT5, add cores or cloud agents for optimisation.

MT4 + MT5
Results too good to be true

Check the spread setting: a “current” spread taken on a quiet moment flatters every trade. Use a fixed, realistic spread, add commission, and compare the in-sample period with a forward period the EA never saw.

MT4 + MT5
TRADE BY HAND?

Manual backtesting,
without MetaTrader.

If your strategy lives in your head and on the chart, not in an EA, you need a replay you can trade on. That is what FxBacktest is — in the browser, with the same history on every device.

FOR MANUAL TESTINGMT4 / MT5 TESTERFXBACKTEST
Click buy and sell during replay
×Only with a panel EA
✓On the chart, with stop, target and risk sizing
Install
~Desktop terminal, Windows-first
✓Browser, on any computer or phone
History
~Whatever your broker holds
✓Gold from 2009, majors from 2010, 105 markets, updated nightly
Spread
~Fixed or the current one
✓Measured for each hour of the day, or your own
Jump to a random date
×Set dates by hand
✓Random or chosen start, no hindsight
Stats for discretionary trades
~EA report
✓Win rate, expectancy, drawdown, tags, MFE
Rule-based strategies
✓MQL4 / MQL5
✓FXScript, or describe it to the AI assistant
Price
✓Free with the terminal
✓Free account; Pro €12, Ultra €39 a month
✓YES~PARTLY×NO

Keep the MetaTrader tester for EAs — it is free and it is the reference for MQL code. Use a replay for the trades you take by hand. Most traders who do both end up with two tools, not one.

ALREADY USE METATRADER?

Bring your MT4 and MT5
files with you.

Two free tools read what MetaTrader already saves — no broker login, nothing connected to your account.

fxbacktest.app/dashboard · import
The journal's MetaTrader import panel with a drop zone for the report file
STRATEGY TESTER REPORT

Read your EA's report a different way.

Drop the report the tester wrote into the MT5 & MT4 backtest report analyzer: cost drag, profit concentration, drawdown recovery, flat stretches, lot escalation and results by session. It runs in your browser; the file never leaves your device.

ACCOUNT HISTORY

Save your live account history as a report and drop it on the trading journal: every closed trade lands as a row and opens on a real candle chart with entry, exit, stop and target drawn.

MT4 .HTMMT5 .HTMLMT5 .XLSX
TEST IT NOW

A manual backtest
in four steps.

No terminal, no history download, no panel EA.

01
CREATE AN ACCOUNT

Email or Google, no card. The replay opens in the browser.

02
PICK MARKET + DATE

Any of 105 markets, any timeframe, a random or chosen start date.

03
REPLAY + TRADE

Step or play the candles. Buy and sell on the chart with a stop and target.

04
READ THE REPORT

Win rate, expectancy, profit factor and drawdown, saved to come back to.

FAQ

MetaTrader backtesting questions.

Short answers about the MT4 and MT5 strategy tester and the alternatives.

How do I backtest in MT4? +

Open the Strategy Tester with Ctrl+R (View, Strategy Tester). Choose Expert Advisor, pick the EA, symbol, period and modelling (Every tick is the most detailed), set the date range and spread, tick Visual mode if you want to watch it, and press Start. Results, Graph and Report tabs appear when it finishes.

How do I backtest in MT5? +

Open the Strategy Tester with Ctrl+R. Choose the EA, symbol, timeframe and date range, then the modelling: Every tick based on real ticks is the most accurate when your broker provides tick history. Set deposit and leverage, optionally a forward period, tick Visual mode to watch, and press Start.

Can I backtest manually in MT4 or MT5? +

Not natively. Visual mode replays the chart at an adjustable speed, but the tester has no buy or sell buttons, so manual traders install a third-party panel EA to place trades during the replay. A dedicated replay tool such as FxBacktest lets you click trades on the chart directly.

Why does the MT5 strategy tester say waiting for update? +

The tester is downloading or synchronising history from your broker for the symbol and dates you chose. Let it finish, make sure the terminal is connected, and shorten the date range if the broker does not hold history that far back.

Which modelling mode should I use? +

Every tick (MT4) or Every tick based on real ticks (MT5) for the final test, because stops and targets inside one bar are settled in the right order. Open prices only or 1 minute OHLC are fine for a fast first pass and for EAs that only act on a closed bar.

Is there a free MT4 backtesting simulator? +

The MT4 and MT5 strategy testers are free with the terminal, but they test EAs. For manual backtesting, FxBacktest is free in the browser: 105 markets, every timeframe, buy and sell on the chart, and a full session report, with no download and no data to buy.

Related: MT5 & MT4 backtest report analyzer, trading journal with MT4/MT5 import, AI backtesting, Forex Tester alternative and the FX Replay alternative.

TEST IT NOW

Your strategy.
No terminal required.

Create a free account and replay any of 105 markets in the browser — click buy and sell on the chart and read the report when you are done.