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.
- MT5 EA: the MT5 Strategy Tester with Every tick based on real ticks.
- MT4 EA: the MT4 Strategy Tester, ideally with imported tick data and variable spreads.
- A trading idea, not an EA: TradingView, QuantConnect, NinjaTrader or a Python library can test your own rebuild of it.
- A prop challenge: rebuild the firm's daily and maximum loss limits from the test yourself; no MetaTrader report shows them.
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.
| Software | Runs your MT4/MT5 EA file | Price data | Costs and execution | Best use |
|---|---|---|---|---|
| MT5 Strategy Tester | Yes, .ex5 | Real ticks recorded by the broker, or ticks generated from bars | Spread from real ticks, swaps, selectable execution delay | First choice for any MT5 EA |
| MT4 Strategy Tester | Yes, .ex4 | Ticks generated from one-minute bars | One fixed spread per run, no execution delay | Any MT4 EA, swing EAs on higher timeframes |
| MT4 tester with a third-party tick data tool | Yes, .ex4 | Imported historical ticks | Variable spread, and slippage settings in some tools | Scalpers and tight-stop MT4 EAs |
| TradingView strategy tester | No, needs a Pine Script rebuild | Bar data on the chart | Commission and slippage inputs | Prototyping a rule-based idea on a chart |
| QuantConnect, Python libraries such as Backtrader | No, needs a rebuild in code | Whatever data you load or subscribe to | Modelled in your code | Large research runs, portfolio tests, custom statistics |
| NinjaTrader 8, AmiBroker, MultiCharts | No, each uses its own language | Depends on the data feed | Set in the platform | Futures 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
- 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.
- Use the symbol and server you will trade. Contract sizes, spreads and swap rates differ by broker and by prop-firm server.
- Choose Every tick based on real ticks. Generated ticks suit only a rough first pass on a slow EA.
- 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.
- Add a random delay and check the costs. If your account pays a commission per lot and the report shows none, deduct it yourself.
- Split the dates. Optimise on one period and keep a later forward period untouched, both with major news weeks in them.
- Read the worst days, not only net profit: equity drawdown, profit factor, the longest losing run and the worst single day.
- 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:
- Ticks over bars for anything fast: scalpers, tight stops and EAs that manage trades inside a candle need tick data.
- The spread at your trading hours: spreads widen around the daily rollover and big news, so an average spread hides the trades that hurt most.
- All costs in: commission, overnight swaps and slippage can turn a small edge into a loss.
- Server time: the tester runs on the broker's server time, so if a firm resets its daily loss limit at another time, your test days and the firm's days do not line up.
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:
- Equity drawdown, not only balance drawdown. Balance drawdown ignores losses on open trades; if your firm's limits count them, judge the EA on equity.
- The worst day. The largest loss within one trading day, counted the way your firm counts it. Rebuild it from the exported trades or let the EA log its daily equity low.
- The longest losing run. It shows whether the risk per trade fits the maximum loss limit.
- Profit factor, recovery factor and Sharpe ratio. The Sharpe ratio is a risk-adjusted return measure, useful for comparing versions of one EA; all three fall apart on an over-fitted EA in the forward period.
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.
- Rules differ by product and change over time. As of October 2026, FTMO's 2-Step has a 5% daily loss limit and a static 10% maximum loss, while its 1-Step has a 3% daily limit and a 10% maximum that trails at the end of the day. A setfile tested against one says little about the other.
- Permission is a separate rule. Whether an EA may run at all depends on the firm, the account type and often the account size, and a profitable backtest does not make it allowed; see which prop firms allow EAs.
- Execution is not the tester's. Real fills, slippage during news and a terminal that loses its connection never happen in a backtest.
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.
- Walk forward. Let MT5 hold back the last part of the date range as a forward period the optimiser never sees, or optimise on one window, test on the next and move both forward. Settings that survive several windows beat one perfect run.
- Prefer a plateau to a peak. If a 30-pip stop works and 28 or 32 do not, the result is fragile.
- Reshuffle the trades. A Monte Carlo test resamples the trade list many times to show how deep the drawdown could get with the same trades in a worse order. MetaTrader's tester does not include it, so export the trades to a spreadsheet, a Python script or a dedicated tool.
- Optimise fewer inputs. Each extra input is one more way to fit the past.
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
- Futures evaluations. The EA Hub is an MT4 and MT5 licence, so it is not for Topstep or Apex.
- Accounts where your firm restricts EAs. Confirm your firm's current EA rule for the exact account type and size first.
- You want someone else to handle the challenge. The passing service starts at 100K and runs until the challenge is passed, although nobody can guarantee a pass. As of October 2026, FTMO and The5ers prohibit third parties trading your account, and passing services operate in that grey area. Read the firm's terms on account access before you buy. The account stays in your name, so the risk of a review sits with you.
- You want automation on your own capital, not a challenge. The separate hosted Algo runs on JPTC's infrastructure, connected to your own broker account with nothing to install, and it is not offered for prop-firm evaluations.
Want setfiles you can load into the Strategy Tester before a challenge? See the JPTC EA Hub.
Is the MetaTrader Strategy Tester free?
Is there a good EA strategy tester app for my phone?
Can I backtest an MT4 EA in MT5?
How much historical data do I need for an EA backtest?
Related Articles
- Best Trade Copier for Prop Firms: Copy 1 to Many Accounts [2026] · Read more →
- Best Prop Firm EA 2026: 5 Automated Strategies to Pass · Read more →
- 7 Best Forex Fury Alternatives: Verified Track Records [2026] · Read more →
- XAUBOT Alternatives: Sources, Account History and Test Limits · Read more →
- Self-Hosted Trading Bot vs Signals: 3 Key Advantages [2026] · Read more →
- Real Gold Trading Signals: Entries, Stops, Take Profits (XAUUSD) · Read more →
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




