MT5 EA Backtests vs Live Results. What Am I Missing?

 

For anyone trading with IC Markets or Pepperstone, how are you getting your live results to line up with what you see in backtesting?

I’ve built several bots that look profitable when I backtest them on MT5 real tick data. I’ve spent weeks testing, tweaking the logic, and refining the code, and the backtests look solid. But when I run the same EAs on a live demo, the performance is nowhere near what the backtest shows.

I understand that market conditions change, but this has been consistent for weeks now, so I feel like something else is going on.

Is MT5 tick data actually reliable for brokers like IC Markets? How do you properly backtest EAs using real, accurate market data instead of MT5’s simulated ticks? And what do you do to narrow the gap between backtest and live results?

 
salemtrading5:

For anyone trading with IC Markets or Pepperstone, how are you getting your live results to line up with what you see in backtesting?

I’ve built several bots that look profitable when I backtest them on MT5 real tick data. I’ve spent weeks testing, tweaking the logic, and refining the code, and the backtests look solid. But when I run the same EAs on a live demo, the performance is nowhere near what the backtest shows.

I understand that market conditions change, but this has been consistent for weeks now, so I feel like something else is going on.

Is MT5 tick data actually reliable for brokers like IC Markets? How do you properly backtest EAs using real, accurate market data instead of MT5’s simulated ticks? And what do you do to narrow the gap between backtest and live results?

Forum on trading, automated trading systems and testing trading strategies

How to perform a backtesting, equivalent to the real trading.

Sergey Golubev, 2020.04.08 07:35

MT5 - Testing trading strategies on real ticks and the explanation is on this post.

----------------

Testing trading strategies on real ticks - the article

If you need the most accurate representation of history data in the strategy tester, use "Every tick based on real ticks" mode. In this mode, the tester downloads real ticks from a broker's trade server and uses them to display the price development. In case real ticks are absent for some time intervals, the tester simulates the price just like in the "Every tick" mode. Thus, if the broker has all history of the required symbols, you can perform testing of real historical data without artificial modeling. The drawback of the mode is a significant increase in test time as shown in the comparison table above.

----------------



 
salemtrading5:

For anyone trading with IC Markets or Pepperstone, how are you getting your live results to line up with what you see in backtesting?

I’ve built several bots that look profitable when I backtest them on MT5 real tick data. I’ve spent weeks testing, tweaking the logic, and refining the code, and the backtests look solid. But when I run the same EAs on a live demo, the performance is nowhere near what the backtest shows.

I understand that market conditions change, but this has been consistent for weeks now, so I feel like something else is going on.

Is MT5 tick data actually reliable for brokers like IC Markets? How do you properly backtest EAs using real, accurate market data instead of MT5’s simulated ticks? And what do you do to narrow the gap between backtest and live results?

It’s a common frustration. Even with "Every tick based on real ticks," backtests often fail to account for the "Silent Killers" of live trading. Here are three things you might be missing:

  • Execution Latency (Slippage): MT5 backtests execute trades almost instantly. In live trading with IC Markets or Pepperstone, there's a delay (milliseconds) between the signal and execution. For scalpers, even 1-2 pips of slippage can turn a winning strategy into a losing one.

  • Variable Spreads & Commissions: Are you factoring in the raw commission per lot in your tester settings? Also, spreads widen significantly during news events or low liquidity (rollover), which the backtester might smooth out.

  • Order Fill Logic: In backtesting, you always get filled at the price you see. In live markets, especially with larger lot sizes, you might face partial fills or price rejection.

Pro Tip: Try running your backtest with a "Custom Delay" (e.g., 50-100ms) in the MT5 Strategy Tester settings to see how much your strategy relies on perfect execution. If the profit vanishes with a small delay, the strategy isn't robust enough for live markets.

Good luck!

 
salemtrading5:

For anyone trading with IC Markets or Pepperstone, how are you getting your live results to line up with what you see in backtesting?

I’ve built several bots that look profitable when I backtest them on MT5 real tick data. I’ve spent weeks testing, tweaking the logic, and refining the code, and the backtests look solid. But when I run the same EAs on a live demo, the performance is nowhere near what the backtest shows.

I understand that market conditions change, but this has been consistent for weeks now, so I feel like something else is going on.

Is MT5 tick data actually reliable for brokers like IC Markets? How do you properly backtest EAs using real, accurate market data instead of MT5’s simulated ticks? And what do you do to narrow the gap between backtest and live results?

I had same problem as you. Finally I figured out the problem. I have the direction on how to solve it but not yet successful.  The problem on backtesting is that you find out the overfit setting, which will only work on live if the live is exactly same market condition as the market condition in your backtesting. You may get profit in live for a while and then lose back the gained profit.
 
salemtrading5:

For anyone trading with IC Markets or Pepperstone, how are you getting your live results to line up with what you see in backtesting?

I’ve built several bots that look profitable when I backtest them on MT5 real tick data. I’ve spent weeks testing, tweaking the logic, and refining the code, and the backtests look solid. But when I run the same EAs on a live demo, the performance is nowhere near what the backtest shows.

I understand that market conditions change, but this has been consistent for weeks now, so I feel like something else is going on.

Is MT5 tick data actually reliable for brokers like IC Markets? How do you properly backtest EAs using real, accurate market data instead of MT5’s simulated ticks? And what do you do to narrow the gap between backtest and live results?

Hello, greetings. I experienced the same thing between Backtest and real live trading.  1 thing I always remember is "Past performance does not guarantee future results". For me, backtesting is not a benchmark for getting the same results. The backtest period, even if it differs by only 1 day, can provide different results, especially if the backtest period is longer. For example, the 2024 period is very different from the current 2026. With the same input values, the results can be very different, for example we only backtest in 2026 then we backtest only in 2024. Another thing in my opinion that is different is our emotions when trading. When backtesting we only see the final results at TP or SL and there is no emotion there, but during live trading when hit by SL we immediately panic and feel that the EA is wrong then try to revise again and so on. For me personally, Backtest is just to test that EA's risk management is working as we designed it. I usually backtest using Every Tick Base on Real tick with a minimum period of 2 years. In my experience in backtesting, we can extend the backtest period with maximum results, but when live there is no OPEN TRADE for a long period of time, this is because we set it so tightly for the previous period even though the current market is much different. If I may suggest, when you have got good backtest results, let your EA run for at least 1 month and then evaluate the results. If possible, just use a Live account, don't DEMO, because in my opinion the DEMO ACCOUNT data is still not as real as if you used a Real Account because the Demo account may not be subject to slippage, execution only on the Broker server, etc. Happy trading.