MT5 Expert Advisors
How to test an EA
Testing is where most EA disappointments are avoided. The goal is to see how a strategy behaves before risking real money — and to do it honestly, with realistic costs.
1. Backtest in the strategy tester
- Open the MT5 Strategy Tester and select the EA, symbol, and timeframe.
- Use high-quality tick data and the Every tick based on real ticks model where possible.
- Set a realistic spread, commission, and starting balance.
- Test over multiple years and market conditions.
2. Read the report critically
- Check maximum drawdown and the longest losing streak, not just net profit.
- Watch the modelling quality percentage.
- Be suspicious of suspiciously smooth equity curves — a sign of curve-fitting.
3. Forward-test on demo
A backtest cannot capture live slippage, latency, or changing liquidity. Run the EA on a demo (and ideally a small live account) for weeks before trusting it. See backtest vs live trading for why the two diverge.
Continue research
Frequently Asked Questions
How do I test an Expert Advisor?
Use the MetaTrader Strategy Tester for backtesting on historical data, then forward test on a demo account in live conditions before risking real capital. Combining both gives a clearer picture.
What is backtesting?
Backtesting runs an EA against historical price data to estimate how it would have performed. It is useful for evaluating logic but can be misleading if over-optimized to fit the past.
Is backtesting reliable?
Only partly. Backtests can be distorted by curve fitting, poor data quality, and unrealistic assumptions about spreads and slippage. Live and forward testing are needed to confirm results.
What is forward testing?
Forward testing runs the EA in real time on a demo or small live account, exposing it to actual spreads, slippage, and execution. It is a stronger test of real-world performance than backtesting alone.
Should I test an EA on a demo account first?
Yes. Always run an EA on a demo account before going live to confirm it behaves as expected with real-time data and to catch configuration or execution issues without risking capital.
Essential reading
Educational
Recommended
Important Disclaimer
This site is an independent research and review platform for educational purposes only.
Nothing on this website is financial advice. Trading involves risk, and performance varies by market conditions, strategy, and user decisions.

