The MetaTrader 5 Strategy Tester is powerful, but a badly configured backtest produces beautiful curves that mean nothing. The difference between a reliable test and a misleading one is in the data, the modelling and the spread. Here is how to do it right.
Step 1: open the Strategy Tester
In MT5: View β Strategy Tester (or Ctrl+R). Select your EA, the symbol and the period to test.
Step 2: use the correct modelling
Under "Modelling" choose "Every tick based on real ticks". It is the most accurate option: it uses the broker's real historical ticks, not an approximation. Avoid "Open prices" except for a very quick check β it is not valid for validation.
Step 3: get quality data
The quality of the backtest depends on the data. MT5 downloads the broker's history, but its quality varies. For serious EAs, many use third-party tick data with 99% modelling quality. Without good data, the result is fiction.
Step 4: set realistic spread and commission
- Spread: use "Current" or a realistic value from your broker, not an optimistic fixed spread.
- Commission: add your account's real commission per lot.
- Deposit and leverage: match your real account.
Step 5: read the report critically
- Maximum drawdown. More important than profit. Could you stomach that drawdown live?
- Profit factor and expectancy. Consistency, not a lucky spike.
- Modelling quality. Aim for 99%. Below 90%, be suspicious.
- Number of trades. 30 trades prove nothing; hundreds start to be significant.
The step almost nobody takes: walk-forward
An optimised backtest always looks good β it is fitted to the past. The real test is walk-forward: you optimise on one period and validate on the next one the EA never saw. If it holds there, you have something. If not, it was overfitting.
EAs with backtests and verifiable results
Master of Liquidity, grid management and drawdown protection for MT5. Transparent risk management, one-time payment.
See EAs βRelated: how to install an EA Β· how to choose an MT5 EA.
A backtest does not guarantee future results. Trading involves risk of capital loss.
