MT4 Strategy Tester Backtesting Tutorial (Step-by-Step)
The MT4 Strategy Tester lets you test any Expert Advisor (EA) against historical gold data in minutes. This tutorial covers setup, reading results, and the traps that make bad strategies look good.
Step 1: Open the Strategy Tester
Press Ctrl+R (or View → Strategy Tester). A panel appears at the bottom of MT4.
Step 2: Configure the Test
- Expert Advisor: select the EA to test from the dropdown.
- Symbol: XAUUSD.
- Model: choose “Every tick” — the most accurate (slower, but honest). “Control points” and “Open prices only” are faster but can lie, especially on gold.
- Date range: pick 6–12 months minimum. More data = more trustworthy.
- Check “Visualization” if you want to watch trades play out on the chart.
Click Start.
Step 3: Read the Results (The 5 Numbers)
When it finishes, check the Report tab:
- Total Net Profit — obvious, but meaningless alone.
- Profit Factor — above 1.3 with 100+ trades is interesting; below 1.0 is a loser.
- Maximal Drawdown — your worst peak-to-trough loss. Can you survive it emotionally?
- Total Trades — under 100 = not enough data. Be suspicious of beautiful results from 20 trades.
- Modelling quality — aim for 90%+. Below that, the test used fake interpolated ticks and the results are unreliable.
4 Traps That Fake Good Backtests
- Low modelling quality. 25–50% quality = MT4 invented price data. Results are fiction. Get quality tick data (ask your broker or use a data service).
- No spread/commission. Tester → right-click → set realistic spread. Gold backtests without costs are fantasy.
- Over-optimized inputs. An EA tuned to perfection on 2024 data usually fails in 2025. If it only works with magic-number inputs, it’s curve-fit.
- Testing one quiet period. Test across trending AND choppy markets. A strategy that only saw one regime hasn’t been tested.
Backtesting a Manual Strategy (No EA)
No EA? Do it manually:
- Open XAUUSD history, hide the right side of the chart (drag the chart left).
- Reveal candles one by one (press F12 to advance bar-by-bar).
- Apply your rules honestly — no peeking ahead.
- Log 50+ trades in a spreadsheet.
Slow? Yes. Honest? Completely. This is how discretionary traders validate ideas.
Risk disclaimer: Good backtests don’t guarantee live profits. Always forward-test on demo. Educational content only.
FAQ
What modelling quality should I aim for in MT4 backtests?
90% or higher (“Every tick” model). Lower quality means interpolated data and unreliable results.
Why does my EA pass backtests but fail live?
Usually: overfitting, unrealistic spreads, low-quality tick data, or broker execution differences. Forward-test on demo first.
Can I backtest manual strategies in MT4?
Yes — use F12 to step through historical bars one candle at a time, applying your rules without looking ahead.






