EnglishNederlandsPortuguesEspanolDeutschFrancais

Best EA Backtesting Software for MT4 and MT5

By 14 min read trading Published: Last updated:
Editorial review. Published under the JPTC editorial policy. Method: JPTC research methodology. Material corrections are recorded through the corrections policy.
Part of JPTC Research Library, our complete pillar guide on this topic.
The JPTC EA Hub setfile library in the member area: Best EA Backtesting Software for MT4 and MT5

The best EA backtesting software for an MT4 or MT5 Expert Advisor is MetaTrader's own Strategy Tester, because it loads the compiled EA file you will actually trade. The MT5 tester on your broker's real tick history is the most realistic option; the MT4 tester needs imported tick data to come close. TradingView, QuantConnect, NinjaTrader and AmiBroker cannot run an .ex4 or .ex5 file, and no tester proves that an EA meets a prop firm's current rules.

Which EA backtesting software can run your EA?

Of the tools below, only the two MetaTrader testers load your EA file as it is. The table compares them with the alternatives on price data, costs and execution delay.

SoftwareRuns your MT4/MT5 EA filePrice dataCosts and executionBest use
MT5 Strategy TesterYes, .ex5Real ticks recorded by the broker, or ticks generated from barsSpread from real ticks, swaps, selectable execution delayFirst choice for any MT5 EA
MT4 Strategy TesterYes, .ex4Ticks generated from one-minute barsOne fixed spread per run, no execution delayAny MT4 EA, swing EAs on higher timeframes
MT4 tester with a third-party tick data toolYes, .ex4Imported historical ticksVariable spread, and slippage settings in some toolsScalpers and tight-stop MT4 EAs
TradingView strategy testerNo, needs a Pine Script rebuildBar data on the chartCommission and slippage inputsPrototyping a rule-based idea on a chart
QuantConnect, Python libraries such as BacktraderNo, needs a rebuild in codeWhatever data you load or subscribe toModelled in your codeLarge research runs, portfolio tests, custom statistics
NinjaTrader 8, AmiBroker, MultiChartsNo, each uses its own languageDepends on the data feedSet in the platformFutures and stock systems built on those platforms

That first column decides the ranking. A tester that cannot load your EA only tests a rebuilt copy of its logic, and small differences in how that copy handles a spread, a stop or the open of a new bar change the result.

MT5 Strategy Tester: the strongest built-in choice

The tester in MetaTrader 5 comes with the free terminal. Its modelling modes run from Open prices only and 1 minute OHLC to Every tick, generated from bars, and Every tick based on real ticks, which replays the tick history your broker recorded, spread included. It tests multi-currency EAs, runs a genetic optimisation on all processor cores, can hold back a forward period and can add a random execution delay. Its limits: real-tick history is only as deep as your broker stores it, and the report measures drawdown from balance and equity peaks, with no line for a daily loss limit.

MT4 backtesting of an EA: workable, with better data

The MetaTrader 4 tester runs one symbol at a time. In Every tick mode it builds ticks from one-minute bars, applies one fixed spread and fills orders without delay, which is often enough for a swing EA on H4. For a scalper, a grid or stops a few pips wide, generated ticks can turn a winning test into a losing account; third-party tools that import real ticks with variable spreads close much of that gap.

To run it, open the Strategy Tester from the View menu, choose the Expert Advisor, symbol and period, select Every tick, load your setfile under Expert properties on the Inputs tab, and set the spread you expect in the hours the EA trades. A multi-pair EA is tested pair by pair, so the days when several pairs lose together never show in one report.

Where the 99% modelling quality advice goes wrong

Many guides tell you to aim for 99% modelling quality in MT4. That figure only describes the tester's data, not whether the spread fit your trading hours, whether slippage and commission were charged, or whether the EA broke a daily loss limit on its worst day. A 99% report with a tight fixed spread and no commission can be less honest than a lower figure with real costs.

Platforms that cannot run an EA, and when they still help

TradingView tests Pine Script strategies on the chart and quickly shows whether a rule-based idea has an edge. QuantConnect is a cloud platform that backtests trading algorithms in Python or C# on its open-source LEAN engine, suited to large parameter sweeps and portfolio tests. Python libraries such as Backtrader give full control, including your own walk-forward and Monte Carlo code, but you build and check everything yourself. NinjaTrader 8 uses C# NinjaScript and has a Market Replay mode that plays recorded market data back as if it were live; AmiBroker is a fast desktop tester with its own formula language. A mean reversion system, which fades a stretched move back toward an average, is easy to write in any of them. So QuantConnect and tools similar to NinjaTrader 8 are strong trading algorithms software for research, but none of them tells an EA buyer how this exact file behaves on this exact account.

Backtesting software for ICT and smart money traders

ICT and smart money concepts are discretionary: the trader decides what counts as an order block or a liquidity sweep, while a tester only tests fixed rules written as code, the job mechanical trading software is built for. A bar replay tool, such as the one in TradingView, lets you log trades by hand on old charts, which trains your eye on a small and easily biased sample. For a real backtest, write each setup as fixed rules (candle, level, stop, target), turn them into an EA and test it in MetaTrader.

Best platform for testing automated trading strategies

Lists of the top platforms for automated trading strategies usually rank features. A more useful rule: the best platform for testing an automated trading strategy is the one it will run on, because only there do the test and the trading share order handling, data and symbol settings. For forex and gold traders on MT4 or MT5, at a broker or a prop firm that offers MetaTrader, that is MetaTrader. For a futures system it is the platform your firm or broker allows, and for a code-first strategy across stocks or futures a research platform such as QuantConnect, or your own Python setup, connected to the broker you will execute with. Any broker or trading software that offers strategy simulation and backtesting should also let you hold back data for forward testing and execute live the way your account does.

How to backtest an EA in MT5, step by step

  1. Test the exact build and setfile you will trade. Load the setfile in the tester's Inputs tab; default inputs or an older version say nothing about the file on your terminal.
  2. Use the symbol and server you will trade. Contract sizes, spreads and swap rates differ by broker and by prop-firm server.
  3. Choose Every tick based on real ticks. Generated ticks suit only a rough first pass on a slow EA.
  4. Match the deposit, currency and leverage of the real account. Lot sizing and margin depend on them, so an EA for a 100K challenge is tested on 100,000.
  5. Add a random delay and check the costs. If your account pays a commission per lot and the report shows none, deduct it yourself.
  6. Split the dates. Optimise on one period and keep a later forward period untouched, both with major news weeks in them.
  7. Read the worst days, not only net profit: equity drawdown, profit factor, the longest losing run and the worst single day.
  8. Spot-check in visual mode that entries, stops and closes happen where the strategy says they should.

Data, spreads and costs: where most backtests go wrong

The historical data decides more than the choice of software. If you need high-quality historical data for long-term backtesting, start with your broker's own tick history in MT5, check it for gaps and compare it with a second source before you trust a test that covers many years. Then:

Historical futures tick data for a prop firm evaluation

As of October 2026, Topstep accounts trade through TopstepX (Quantower can also connect through TopstepX), MetaTrader (MT4 and MT5) is not offered, and Topstep allows bots through its paid TopstepX (ProjectX) API, with orders sent from your own device and no VPS, while Apex Trader Funding bans automated trading on all account types. A MetaTrader backtest of an EA does not carry over to those evaluations. A futures system has to be tested on futures data in the platform it will run on, with a playback of recorded market data or a data feed that exports historical ticks in bulk, and the firm's own automation rules decide whether it may run at all.

Risk management and drawdown metrics that matter more than profit

Top algo trading software and the free MetaTrader tester report much the same numbers. For risk management, read these drawdown metrics before profit:

What a backtest cannot prove about prop-firm rules

A backtest is not proof that an EA meets a prop firm's current rules. It shows how one version of an EA, with one setfile, traded one data set under conditions you chose, while the firm judges your account under its rules as they stand on the day you trade.

Treat a clean backtest as the first filter, and check the firm's current terms on EA use, news trading and consistency before you pay for a challenge. Our guide on how to verify a backtest covers the evidence side.

When a 6.8% drawdown hides a 5,300 loss day

The numbers here are illustrative. An EA's MT5 report on a 100,000 test deposit shows a maximal equity drawdown of 6.8% over three years, and you plan to run it on an FTMO 2-Step 100K account, which as of October 2026 has a 5% daily loss limit and a static 10% maximum loss. Against the 10% maximum it looks safe. Rebuild each trading day from the exported trades, though, and you find a news day on which three positions together lost 5,300. The report never showed it, because it measures from equity peaks, not day by day, yet against the 5,000 daily limit on 100,000 that one day would have ended the challenge. The fix sits in the setfile, not the software: lower the risk per trade, cap the number of open positions or add a daily loss stop well inside the firm's limit, then test again, forward period included. Our guide to choosing an EA for FTMO covers what else to check on that account.

Optimisation without fooling yourself

Optimisation is where most EA backtests stop being evidence: try enough parameter combinations and one of them will look excellent on the past by chance.

Backtest first, then forward test

Forward testing runs the same build and setfile on new market data, on a demo account or a small real account, after the backtest. It catches what a backtest cannot: your broker's real fills, the spread at your trading hours, a PC or VPS that restarts, and settings changed by mistake. A forward record on a real broker account is stronger evidence than any backtest, but only for that account and period. JPTC publishes figures from its broker statement on its results page; they are company-published, not independently audited, and say nothing about another EA, setfile or prop-firm account.

Testing JPTC EA Hub setfiles before a challenge

If you keep failing MT4 or MT5 challenges on the daily loss or drawdown rule, the real question is often not which tester to use but which EA and setfile to put through it. The JPTC EA Hub is an Expert Advisor licence for MT4 and MT5 with configurable setfiles, built around prop-firm risk rules. You download it and run it on your own terminal, on a reliable PC or VPS, and JPTC does not host it. Once you hold the licence, take the setfile you plan to use through the MT5 steps above with the deposit and leverage of the challenge, rebuild its worst day against the current limits of the exact programme and phase you will trade, and forward test it on a demo account before the paid attempt.

A firm preset or name in a setfile is not proof of compatibility or approval, and a passing backtest is not proof of compliance with a firm's current rules. Enabled limits can stop new entries and request the closure of open positions, but they cannot guarantee an execution price or prevent every breach, and no EA can guarantee a pass, a payout or a profit.

When a MetaTrader EA is not the answer

Want setfiles you can load into the Strategy Tester before a challenge? See the JPTC EA Hub.

Is the MetaTrader Strategy Tester free?
Yes. It is part of the free MT4 and MT5 desktop terminals that brokers and many prop firms provide. You pay only for extras such as a third-party tick data tool or a VPS.
Is there a good EA strategy tester app for my phone?
No. The MetaTrader mobile apps do not include a strategy tester. Backtesting an EA happens in the desktop terminal on a computer or VPS; the mobile trading application is for watching and managing the account.
Can I backtest an MT4 EA in MT5?
No. An .ex4 file runs only in MT4 and an .ex5 file only in MT5. You need the MT5 version of the EA, and its results can differ from the MT4 test because the two testers model ticks and orders differently.
How much historical data do I need for an EA backtest?
Several years for most EAs, covering trending, ranging and high-volatility phases, and enough trades to mean something. A few dozen trades say little, however good the equity curve looks.
Recent live trades | JPTC Algo
Auto-posted to Instagram. Real account, no demo.
JPTC Algo live trade screenshotJPTC Algo live trade screenshotJPTC Algo live trade screenshotJPTC Algo live trade screenshotJPTC Algo live trade screenshotJPTC Algo live trade screenshot
@jptradingcapital on Instagram →
The JPTradingCapital Team, who build automated trading software and provide challenge preparation for prop-firm traders.

Related Articles

Automated forex and gold trading

Runs on your own account at your own broker. We host and set it up, so there is nothing to install and no VPS. No profit share, no monthly fee.

See how it works

Related Articles

automation
EA Setfile Validation Release Cycle Explained
6 min read
Research
EA Strategy Correlation Test: Before Adding a Second EA
6 min read
automation
Maximum Stagnation in an EA Backtest
7 min read
Trading software for prop-firm rules
See Results →
Risk Disclaimer

Trading forex and CFDs involves significant risk and is not suitable for all investors. Past performance does not guarantee future results. You should not invest money you cannot afford to lose. The content on this page is for informational purposes only and does not constitute financial advice. JPTradingCapital does not accept liability for any loss or damage arising from reliance on the information provided. Always conduct your own research before making trading decisions.