Strategy Tester
Also known as: MT4 Strategy Tester, MT5 Strategy Tester, MetaTrader backtester, EA tester
What is it?
The Strategy Tester is MetaTrader's built-in tool for backtesting an Expert Advisor (an automated trading robot) on historical price data before you ever risk it live. You load the EA, pick a symbol, timeframe, and date range, and the tester replays the market tick by tick so you can see how the strategy would have behaved.
Strategy Tester report: MA crossover EAGBPUSD H1, Jan 2022 — Apr 2026
When the run finishes you get a full report: net profit, profit factor, maximum drawdown, total trades, and a historical win rate, plus an equity curve. Say you test an EA on EURUSD M15 over Jan 2024 to Apr 2026 and it shows 480 trades, a 1.8 profit factor, and a 15% max drawdown.
That tells you whether the logic holds up across years of data, or whether it only ever worked on the handful of bars you eyeballed. Backtested results are historical and never a promise of future returns, but they are how you screen out broken ideas cheaply.
Why it matters: It lets you validate a trading robot against years of historical data before risking real capital, so weak strategies fail on a chart, not in your account.
A flattering backtest can mask overfitting and unrealistic fills, so misreading the Strategy Tester report leads straight to deploying a strategy that loses live.
Real-world example
Backtesting a moving-average crossover EA on GBPUSD H1 from 2022 to 2026, the Strategy Tester reports 612 trades, a 1.6 profit factor, and an 18% max drawdown, surfacing the worst losing streak before you go live.
How SignalBots handles it
When you wire an EA to SignalBots through the MT4/MT5 Connector, the Strategy Tester is your first checkpoint - validate the logic on historical data here before letting it act on live signals. See /risk-warning.
Pro tip
Run the test on "Every tick based on real ticks" with high-quality history so your fills and spread reflect reality rather than an idealized M1 model.
Common pitfalls
Trusting a backtest run only on the same recent period the EA was tuned on, which hides overfitting until the strategy fails in live trading.
Frequently asked questions
How do I open the Strategy Tester in MetaTrader?
In MT4 or MT5, press Ctrl+R or open View - Strategy Tester. Select your Expert Advisor, the symbol, timeframe, and date range, then click Start to run the backtest.
What modeling quality should I use?
Use "Every tick based on real ticks" in MT5 for the most realistic fills. In MT4 aim for 90%+ modeling quality, since lower quality interpolates ticks and can make results look better than live trading would be.
Does a good backtest mean the EA will be profitable live?
No. Backtested results are historical and assume conditions that may not repeat; slippage, spread widening, and changing markets all differ live. Your capital is at risk, so treat the report as a screen, not a promise.
Can I optimize EA inputs in the Strategy Tester?
Yes, the Optimization mode sweeps parameter ranges to find the best historical settings. Be cautious: over-optimizing to past data is overfitting, so always confirm the result on an unseen out-of-sample period.
What is the difference between backtest and forward test?
A backtest replays past data, while a forward test runs the EA on new, unseen data or a demo account in real time. Forward testing catches overfitting that a clean-looking backtest can hide.
Trading involves substantial risk of loss. Historical and backtested results do not guarantee future performance. Read the full risk warning.