Backtest vs Live: Why Real Trading Performs Worse
You spent months refining a trading strategy, the backtest looks clean, the equity curve climbs with barely a dip. Then you send the robot live, and after a few weeks you're wondering why it's losing money it never lost in the test.
The gap between backtest and live trading rarely has a single cause. Some reasons are well documented and you can check them one by one, no matter which platform you use. That's exactly what this article walks through: wrong settings, data mismatches, and small differences in execution.
The backtest-live gap: where to start looking
The starting point is almost always the same: a strategy that won more than it lost in the test over months or years, and a live account that looks weaker in the first few weeks. That alone isn't a reason to panic, but it's also not a reason to just let it run and hope.
Before you scrap the strategy entirely, it's worth checking systematically where the gap comes from. The points below aren't a complete list of every possible cause, but they're among the best documented.

Wrong settings and data: the most commonly documented cause
When a backtest result later doesn't match a strategy's actual behavior, documented sources point most often not to the strategy's logic itself, but to wrong settings or to incorrect or mismatched input data.
That sounds unremarkable at first, but it's the first thing to check before you start tweaking your rule set. A strategy with solid logic can fail because of a single wrong setting, while a strategy with weak logic won't improve just because the settings got better. So it's worth ruling out the simple stuff first.
When the data source doesn't match the live environment
A commonly cited reason for a good backtest paired with weak live results is a mismatch in the data used. That includes different price feeds from different brokers, different time zones, how daylight saving time is handled, and different data resolution between backtest and live environment.
With MetaTrader there's another wrinkle: wrong time zone settings or hidden gaps in the price history can distort a backtest's reported result. This applies specifically to backtests in MetaTrader 4 and 5, not to every data source equally, but it shows how much the result depends on the quality of the underlying data, not just on the strategy.
If you want to rule out that your strategy only looked good in the backtest because it was overfit to the data you used, it's also worth reading the article on overfitting in trading strategies.
Small differences in execution timing
Another, smaller point concerns the exact moment of execution. Orders triggered on a candle's open or close can't fire in the exact second of the real market open or close, there's always a small time gap in between. For strategies using the On Bar Open or On Bar Close trigger types, this difference between backtest and live execution is known, but it's considered negligible for the strategy's result.
This point rarely explains on its own why a strategy performs noticeably worse live, but it belongs on the list if you want to rule out every possible cause.
Why a small gap between backtest and live is normal
Real trading always involves slippage and occasional price spikes, things a backtest can only approximate. So it holds that live results typically come in a bit weaker than the backtest, and that by itself isn't a warning sign. Whether there's a gap at all matters less than how close the trades executed live are to the trades simulated in the backtest.
A live account showing entries and exits similar to the backtest, just with somewhat higher costs, is behaving as expected. A live account that deviates clearly in trade direction or frequency, on the other hand, shows that something in the chain between strategy and execution isn't working the way you assumed.
MarketOpenSession: a setting against one specific gap
For strategies built with MetaTrader5 engines, StrategyQuant X offers the trading option MarketOpenSession. It aligns the simulated trading session in the backtest with the actual MT5 session. Without this option, SQX can simulate trades at times when the real market is already closed, which makes the backtest look more optimistic than live conditions would allow.
The option is available starting with SQX Build 140 and applies to MetaTrader5 engines. It closes one specific, clearly defined gap between backtest and live trading, but it doesn't turn the backtest into a copy of reality, and it doesn't solve the other issues covered in this article.

What a backtest can show, and what it can't
This article isn't a complete roadmap, but it gathers the best documented places where backtest and live results can diverge: settings and data, data source and time zone, execution timing, and the normal difference caused by slippage. Each of these points can be checked concretely before you start doubting the strategy itself.
No single setting, not even MarketOpenSession, makes a live account match the backtest exactly. What matters is how close the trades executed live are to the trades simulated in the backtest, not whether there's any deviation at all. How much deviation you're willing to accept before pulling a strategy from a live account stays a decision you make case by case. If you want to talk it through with others, the QANTERIS community has traders facing the same questions.
This article is for education only and is not investment advice. Past results, including backtests, do not guarantee future results. Trading financial instruments involves risk, and you can lose money.
This article is for education only and is not investment advice. Past results do not guarantee future results.
How do you do it? Share it in the community. Free, in your language.
Sign up free