Higher timeframe moving averages on lower charts: the stair step problem
Posted: Thu Oct 15, 2026 9:01 pm
Higher timeframe moving averages on lower charts: the stair step problem
A common setup is plotting, say, the H1 50 EMA on an M5 chart, so you can see the bigger trend without switching charts. TradingView and MT5 both let you do it, either through the indicator settings or a custom indicator.
The catch is how it's drawn. Each H1 value only exists once the hour closes. So on the M5 chart, the line stays flat for twelve candles, then jumps to the next value. It looks like stairs. Some versions smooth that out by drawing a line between the steps, which looks nicer but uses future data for the candles in between. On historical charts that line is a little better than what you'd have seen in real time.
There's also the question of the current hour. Some indicators show the still forming H1 value, which moves around until the hour closes. Others only show closed values, which lag but don't change.
Neither is wrong. You just need to know which one you're looking at, especially if you backtest by eye. A smooth higher timeframe MA can make pullback entries look cleaner in hindsight than they were.
I use the stepped version with closed values only. It's uglier but what I see in replay is what I'd have seen live.
A common setup is plotting, say, the H1 50 EMA on an M5 chart, so you can see the bigger trend without switching charts. TradingView and MT5 both let you do it, either through the indicator settings or a custom indicator.
The catch is how it's drawn. Each H1 value only exists once the hour closes. So on the M5 chart, the line stays flat for twelve candles, then jumps to the next value. It looks like stairs. Some versions smooth that out by drawing a line between the steps, which looks nicer but uses future data for the candles in between. On historical charts that line is a little better than what you'd have seen in real time.
There's also the question of the current hour. Some indicators show the still forming H1 value, which moves around until the hour closes. Others only show closed values, which lag but don't change.
Neither is wrong. You just need to know which one you're looking at, especially if you backtest by eye. A smooth higher timeframe MA can make pullback entries look cleaner in hindsight than they were.
I use the stepped version with closed values only. It's uglier but what I see in replay is what I'd have seen live.