MT5 Strategy Tester gives inconsistent results with same strategy, parameters, timeframe & data – how to trust backtesting?
Vedic Solutions:
Hello everyone,
I am facing a serious issue with MT5 Strategy Tester consistency, and I would like expert guidance.
Which testing model - Every Tick, Every Tick Based on Real Ticks or OHLC?
MT5 build.
Does EA use OnTick(), OnTrade() or OnTradeTransaction()?
Any pending orders or partial closes involved?
Vedic Solutions:
I am facing a serious issue with MT5 Strategy Tester consistency, and I would like expert guidance.
In 99.99% of cases such problems mean an error in your code, mostly a missed initialization of variables or arrays, which leads to sporadic results. It was discussed several times on the forums.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone,
I am facing a serious issue with MT5 Strategy Tester consistency, and I would like expert guidance.
Problem Summary
I am testing the same EA / strategy with:
Same symbol
Same timeframe
Same date range
Same parameters
Same broker (Exness)
Same historical data
Same testing model
Yet, results change drastically between tests.
Observed Issues
A strategy that grows $1000 → $1,280 in 3 days during one test
suddenly becomes loss-making $1000 → $0 in another test without any change.
Even closing and reopening MT5, then re-running the test:
Previously profitable trades turn into losing trades
Equity curve changes significantly
This happens in:
Demo testing
Real account testing
Local laptop
VPS
I have already verified:
No latency impact (pure historical testing, not live)
Same spread settings
Same testing mode
Same broker data
No parameter changes
My Understanding
Logically, if:
Strategy logic is fixed
Parameters are fixed
Time period is fixed
Then results should be identical every time.
But MT5 seems to produce non-deterministic results, where even one-step difference converts a winning trade into a losing trade.
My Questions
Why does MT5 Strategy Tester produce different results for identical tests?
How can a trader trust MT5 backtesting for strategy validation?
What is the best practice to ensure reproducible, reliable backtests in MT5?
Any technical explanation or official clarification would be greatly appreciated.
Thank you.