A moving average is the mean of the last N closing prices, recalculated each period, drawn as a line. A simple moving average weights all periods equally; an exponential moving average weights recent prices more heavily and therefore reacts faster. Moving averages identify trend direction and act as dynamic support and resistance, but they lag by construction and cannot signal a turn before it happens.
A moving average is the mean of the last N closing prices, recalculated each period. A 20-period moving average on a 4-hour chart averages the last twenty 4-hour closes and plots the result.
That is the entire mathematics. Everything else is interpretation.
SMA and EMA
A simple moving average weights every period in its window equally. A price from twenty periods ago counts as much as yesterday’s, until it drops out of the window entirely.
An exponential moving average weights recent prices more heavily, so it responds sooner to a change in direction.
Neither is superior. The choice is a position on the same trade-off that runs through this entire series: responsiveness versus reliability.
The four honest uses
Trend direction. The most robust use. Price consistently above a rising moving average describes an uptrend; below a falling one, a downtrend. This is not a signal — it is a classification, and it agrees with the swing-structure method more often than not.
Dynamic support and resistance. In a healthy trend, pullbacks frequently stall near a moving average. This works because widely-watched averages attract orders — the same reason round numbers do.
Alignment as a trend filter. When a short, a medium and a long moving average stack in order — short above medium above long, all rising — the trend is aligned across horizons. This is a filter for whether to trade, not a signal for when.
Crossovers. The classic golden cross (50 above 200) and death cross. These are lagging confirmations of trends already well underway, which is why they read impressively on historical charts and frustrate in real time.
The lag is structural
A moving average is calculated from prices that already occurred. It cannot signal a turn before the turn, because the turn is one of its inputs.
This is not a flaw to be tuned away. Shortening the period reduces lag and increases false signals; lengthening it does the reverse. There is no setting that gives fast and reliable, and searching for one is the most common form of indicator over-optimisation.
The practical consequence: use moving averages to describe conditions, not to trigger entries.
Why they fail in a range
Key takeaway Every moving average signal fails in a range, because a range has no trend to follow. This is the Part 4 classification problem, and no indicator setting solves it — only correctly identifying the condition does.
Which periods
The 20, 50 and 200 dominate, and their popularity is self-reinforcing: they work partly because so many participants watch them. A 47-period average may be better optimised on historical data and has nobody trading it.
Common structures:
- 20 EMA — short-term trend, pullback zone in fast markets
- 50 SMA — medium-term trend, widely watched pullback level
- 200 SMA — long-term regime; the single most-watched line in markets
Two or three is enough. A chart with six moving averages is a chart where one of them always supports whatever you already wanted to do.
Automating the watch
InnoMP’s Market Watcher supports moving-average alerts directly — long/short alignment and crossovers — with adjustable periods and AND/OR combination.
The combination is where it becomes genuinely useful. “Price reaches my level AND the fast MA is above the slow MA” is a far more selective alert than either condition alone, and selectivity is what keeps alerts worth reading.
Next: RSI explained — what an oscillator measures, and why “overbought” does not mean “sell”.
- A simple moving average (SMA) is the arithmetic mean of the last N closes.
- An exponential moving average (EMA) weights recent prices more heavily and reacts faster.
- All moving averages lag price, because they are calculated from prices that already occurred.
- InnoMP Market Watcher can alert on moving-average alignment and crossovers.