Weekend data holes and the false gap in historical charts
Posted: Tue Nov 03, 2026 1:39 am
Weekend data holes and the false gap in historical charts
Historical data usually contains a gap between Friday close and Sunday open, plus occasional holes when the feed was down. Backtesters treat these gaps in different ways, and strategies that hold positions across them may produce misleading results.
For scalpers who stay flat overnight and on weekends, the issue seems irrelevant. But indicators calculated across the gap can carry artifacts. A moving average or ATR computed over bars that straddle the weekend includes the jump as if it were a normal price change, distorting values for the next several bars.
The effect is most visible on Monday opening bars, where volatility indicators spike and signals fire without real cause. Strategies that filter by volatility may behave differently on Mondays purely because of the gap.
The cure is resetting the indicator calculation at the start of each session, or excluding the first N bars after a gap from signal generation.
Review the logs of Monday-morning trades to see whether results differ from other times, and examine whether gaps are a factor.
Do Monday morning signals behave differently from the rest of the week in the trade log?
Historical data usually contains a gap between Friday close and Sunday open, plus occasional holes when the feed was down. Backtesters treat these gaps in different ways, and strategies that hold positions across them may produce misleading results.
For scalpers who stay flat overnight and on weekends, the issue seems irrelevant. But indicators calculated across the gap can carry artifacts. A moving average or ATR computed over bars that straddle the weekend includes the jump as if it were a normal price change, distorting values for the next several bars.
The effect is most visible on Monday opening bars, where volatility indicators spike and signals fire without real cause. Strategies that filter by volatility may behave differently on Mondays purely because of the gap.
The cure is resetting the indicator calculation at the start of each session, or excluding the first N bars after a gap from signal generation.
Review the logs of Monday-morning trades to see whether results differ from other times, and examine whether gaps are a factor.
Do Monday morning signals behave differently from the rest of the week in the trade log?