The stock closed at ₹640 yesterday and opens at ₹648 this morning. At 9.20 the first five-minute candle completes, and on the chart it has closed above the 20-period exponential moving average, which is sitting at ₹641.20. That is a crossover, the rule says take crossovers, and the entry goes in at 9.21. By 9.55 the position is stopped out on a stop sized from the fourteen-period ATR. Reviewing it in the evening, two things are worth noticing about the two numbers that produced that trade, and neither of them is visible on the chart. The average that was crossed was ninety per cent yesterday. And the volatility figure that set the stop was, at that moment, mostly a measurement of a gap that happened while the market was shut.
The previous lesson was about where the bars get cut. This one is about what happens at the join. The chart draws no line at 9.15. A running indicator does not know that a session ended and another began; it simply receives the next bar and updates.
A dhaba keeps one pot of gravy going. Each morning the cook adds today’s onions and tomatoes to what is already in it. At eight in the morning the pot is yesterday’s gravy with a spoon of today’s in it, and by evening it is mostly today. Nothing has gone wrong; that is how the dish is made. It only becomes a problem when somebody tastes it at eight and reports it as today’s cooking.
A running average is that pot. At 9.20 the pot contains one five-minute bar of today and nineteen of yesterday, and the indicator reports a single number with no note attached about the proportions. By about half past ten the mixture has genuinely turned over. What people do is taste it at 9.20.
Which readings restart at the bell, and which do not
- The day’s high and the day’s low
- The day’s traded volume
- The session [[VWAP]], which by definition begins accumulating at the open
- The [[Opening range]], and anything measured from the open
- The percentage change shown against the previous close
- Every moving average, simple or exponential
- RSI, MACD, the stochastic and every oscillator built on them
- ATR and every stop sized from it
- Bollinger Bands, which are an average plus a running deviation
- Donchian channels and any lookback expressed as “the last N bars”
Putting a number on how much of today is in there
An [[Exponential moving average]] gives the newest bar a fixed weight and everything before it the remainder, so the arithmetic is straightforward.
- N
- The period setting on the indicator — 20, in the example above
- α
- The weight given to the newest bar. For N = 20 it is 2 ÷ 21, about 9.5%
- k
- How many bars of today have closed so far
Example: One bar into the session, 9.5% of the average is today and 90.5% is yesterday. Nothing about the chart says so.
Move the period and watch how much of the line is being set by old data. The same effect, at the session join, is what this lesson is about.
The gap that lands inside one bar
The second half of the problem is worse, because it concentrates rather than fades. True range is defined so that an overnight move is not lost: it is the largest of the bar’s own high-to-low range, the distance from the high to the previous close, and the distance from the low to the previous close. On a daily chart that is exactly right and it is why the measure exists. On an intraday chart it means the whole overnight gap is deposited into the true range of one five-minute bar.
Three honest responses
- 1Take nothing from a running indicator until it is mostly today
The simplest fix and the one that costs nothing. For a period of N bars, roughly N bars of the session have to close before an exponential average has shed most of yesterday. A twenty-period setting on five-minute bars means waiting until the twentieth bar closes, at about five to eleven — which happens to remove the most expensive part of the day as a side effect.
- 2Or restart the indicator at the session open, and accept what that costs
Some platforms and most self-built systems can compute an indicator from 9.15 only. It removes yesterday entirely — and it means the first N bars of every session have no valid reading at all, and that the indicator is a different one from the one everyone else on the stock is watching. That is a real trade-off, not a free improvement.
- 3Or use the readings that are session-anchored by construction
Session VWAP, the opening range, the day’s high and low and the distance from the previous close all begin at the bell. If you want a morning reference that is genuinely about this morning, it should come from that column rather than from a running average with a period setting.
- 4Size stops from a session-aware volatility figure
If a stop is meant to survive ordinary intraday movement, measure ordinary intraday movement: the average of the bars’ own high-to-low ranges within the session, rather than a true range that includes the overnight move. Say which of the two you used, because they are different numbers with similar names.
- 5Check what your platform already does
Some feeds compute intraday indicators continuously across days, some restart them, and a few offer the choice. Whichever yours does is now part of your rule, so find out and write it down next to the anchor from the previous lesson.
A crossover at 9.20 on a stock that gapped up 1.5%
The 20-period EMA on the five-minute chart sits below the first candle’s close. Your written system is a moving-average crossover with an ATR-based stop, tested on this stock over two years of five-minute data.
On a five-minute chart, which of these readings genuinely contains no data from yesterday at 9.20 this morning?
Subah geyser chalu karke turant nal kholo toh pehla mug thanda aata hai — woh raat bhar pipe mein pada paani hai, geyser ka aaj ka kaam nahi. Do minute baad paani aaj ka ho jaata hai. Chart pe 9.20 baje ka average bilkul wahi pehla mug hai. 20-period EMA mein sabse nayi bar ka wazan 2 ÷ 21 hota hai, yaani 9.5% — matlab 90.5% abhi kal shaam ka hai. Paanch bar baad (9.40) sirf 39%, baarah bar baad (10.15) lagbhag 70%, aur bees bar baad (10.55) 86.5%. Doosri taraf ATR ulta dhokha deta hai: share kal ₹640 pe band hua aur aaj ₹648 pe khula, toh 9.15–9.20 waali candle ki apni range sirf ₹3 thi (649 se 646), par uska true range pichhle close se naapa jaata hai — ₹649 − ₹640 = ₹9, teen guna. Yaani subah aapko trend ka number milta hai jo kal ka hai, aur volatility ka number jo raat ki chhalaang ka hai. Session VWAP, din ka high-low aur opening range — yeh teen hi ghanti se shuru hote hain.
- A chart draws no line at 9.15, and a running indicator does not know a new session has begun.
- For an exponential average, one bar contributes 2 ÷ (N + 1) — so a 20-period EMA is 9.5% today at 9.20 and only predominantly today after about an hour.
- True range measures the gap against the previous close, so the entire overnight move lands inside the first bar of the day.
- Wilder’s smoothing keeps roughly a third of an ATR reading older than the stated period, so a gap bar fades but never leaves.
- Session VWAP, the day range and the opening range are the only common readings that genuinely start at the bell.
Mark it done to track your progress through the curriculum.