How to Backtest on MT5 Strategy Tester the Right Way
Most MT5 backtests look better than live performance. Not because the strategy is bad, but because the test conditions don’t match live conditions. Understanding exactly where the gap comes from is the prerequisite for producing backtest results you can actually use.
Why Default MT5 Backtests Mislead
The Strategy Tester uses modelled tick data by default. Modelled data simulates price movement between OHLC candle points rather than using the actual sequence of ticks that occurred in the real market. For strategies that depend on precise entry and exit timing, this produces fills at prices that didn’t exist in live trading.
Fixed spread settings compound the problem. Most backtests run with a static spread value. Live spreads widen during news events, low-liquidity periods, and volatile sessions. A strategy that looks clean at a fixed two-pip spread may perform very differently when the spread expands to eight pips at the exact moment it’s trying to enter or exit.
Zero spread backtests are the worst version of this. Any result from a zero-spread backtest on a live-traded strategy is noise, not data.
Getting the Data Quality Right
Switch the modelling method from the default to Every Tick Based on Real Ticks in the Strategy Tester settings. This option uses actual recorded tick data rather than simulated movement between candle points, which produces significantly more accurate fill simulation for time-sensitive strategies.
Check the data quality score in the backtest report after running the test. MT5 displays this as a percentage. Anything below 90% means the data has gaps that could be affecting the results, and the conclusions should be treated with proportionally less confidence.
When MT5’s built-in historical data is insufficient for the instrument or timeframe, external sources like Dukascopy or Tick Data Suite provide higher-resolution historical tick data that can be imported. This matters most for short-timeframe strategies where individual tick sequences affect entry quality.
Spread, Commission, and Prop Firm-Specific Settings
Set the spread in the Strategy Tester to match the actual average spread on the prop firm’s execution environment. Log into the platform, check the spread on the instrument during the session you trade, and use that figure. Not the broker’s advertised spread, the one you actually see during your trading window.
Add commission costs per lot that match the firm’s real cost structure. These are often overlooked and their absence flatters the backtest results on any strategy with moderate trade frequency.
Set the starting deposit to match the prop firm account size and run the drawdown statistics against the firm’s maximum drawdown limit before going live. A strategy with a 12% maximum historical drawdown is not suitable for a funded account with an 8% limit, regardless of its profit factor.
How to Backtest on MT5 Strategy Tester the Right Way
A high profit factor on a six-month backtest means very little. A moderate profit factor across three to five years of varied market conditions, including trending, ranging, and high-volatility regimes, means considerably more. Short backtests on favourable periods are the fastest way to mistake curve-fitting for edge.
Optimisation is the other trap. Running the Strategy Tester’s optimisation function to find the best parameter combination on historical data produces parameters that fit the past, not the future. The only meaningful test of whether those parameters hold up is a forward test on a demo account, not another backtest on the same data.
The backtest is a filter, not proof of edge. Its job is to eliminate clearly broken strategies before you commit real capital. The demo account is where actual validation happens.
Conclusion – How to Backtest on MT5 Strategy Tester the Right Way
How to backtest on MT5 strategy tester the right way requires real tick data, realistic spread and commission settings, a date range that includes multiple market regimes, and a report interpreted without confusing historical fit for live edge. Get those four things right and the Strategy Tester produces useful information. Skip any of them and it produces confidence that doesn’t survive contact with live conditions.
FAQ – How to Backtest on MT5 Strategy Tester the Right Way
1. What data quality score should I aim for in the MT5 backtest report?
90% or above is the practical threshold for treating results as meaningful. Below that, the data gaps are significant enough to affect fill simulation in ways that may not be visible in the summary statistics but show up in live performance.
2. Does it matter which broker’s MT5 I use for backtesting?
Yes, because the historical tick data available in the Strategy Tester is tied to the broker’s data feed. Some brokers have better historical data coverage than others for specific instruments. If you’re testing on a prop firm account, backtest on the same MT5 instance where possible, or use external tick data imported from a high-quality provider.
3. Should I optimise the EA parameters in the Strategy Tester before going live?
Use optimisation to understand the sensitivity of the parameters rather than to find the best-performing combination. If a strategy only works within a very narrow parameter range, that’s a red flag, not a green light. Robust strategies perform reasonably across a range of parameter values. Optimised parameters that only hold on the backtest period almost never hold on live data.
We have helped thousands of traders reach funding at TTT Markets from account sizes of $5k upwards to $500k. Check out our programs.
Additional resources:
How to Backtest a Strategy in MT5 (Advanced Guide) | For Traders
support@tttmarkets.com
WhatsApp Support →