Skip to content
PipsMorrow
INTERMEDIATE

Lesson 05 of 9 · Technical Analysis

Moving Averages and What They Actually Say

18 min4 topics

Topic 1 of 4

By the end of this lesson

  • Explain what a moving average computes and what it lags by
  • Choose a period for a stated purpose rather than by habit
  • Say what a crossover does and does not tell you

Before this lesson

A moving average is an average of recent closes. That is all it is. It cannot see the future, it contains no information the price does not already contain, and everything it tells you is about the past — which turns out to be useful, as long as you are not expecting anything else.

Simple and exponential

A simple moving average adds the last N closes and divides by N. Every close counts the same, and the one that drops off the back counts for nothing the moment it does.

SMA(N) = (sum of the last N closes) / N

What each variable means:

  • N — The period — 20, 50, 200, whatever you chose

An exponential moving average weights recent closes more heavily and never fully forgets the old ones. It turns sooner after a sharp move, and it is noisier for the same reason.

SMAEMA
WeightingEqual across the windowRecent closes weighted more
ResponsivenessSlowerFaster
False turnsFewerMore
Odd behaviourJumps when a large old bar drops out of the windowNone of that

The difference between them is smaller than the debate about them. On most charts a 20 SMA and a 20 EMA disagree by a fraction of the spread most of the time, and any method whose results depend on which one you picked is fitted to noise.

Note

The SMA's quirk is worth knowing: when a very large candle falls out of the back of the window, the average moves even if today's price did not. A "signal" produced that way is about a bar from twenty periods ago.

Choosing a period on purpose

The period sets the trade-off, and it is the only parameter that really matters. Short means responsive and noisy; long means stable and late.

A moving average lags by roughly half its period — a 20 MA sits about 10 bars behind a turn
PeriodLags by roughlyReasonable use
105 barsShort-term momentum on an intraday chart
2010 barsThe swing structure of the last month on a daily
5025 barsIntermediate context
200100 barsLong-term regime, and it is watched by everyone

Choose it from a purpose, not from a list. "I want a line that summarises roughly the last month of daily closes" gives you 20 on a daily chart. "I want the level everyone else is watching" gives you the 200. "I optimised it and 37 backtested best" gives you a number fitted to history that will not repeat.

Caution

Parameter optimisation on moving averages is one of the clearest cases of curve fitting in retail trading. If 20 works and 22 does not, you have found a property of your sample, not of the market. A robust setting is one whose neighbours work about as well.

Slope, not crossover

The crossover is the famous signal and the weakest thing an average offers. Two averages crossing is an arithmetic consequence of a move that has already happened — by construction, it arrives after the move.

In a trend, crossovers look superb in review. In a sideways market they produce a continuous stream of signals in alternating directions, each one late, and that is where a crossover system gives back what the trend gave it.

What the average is actually good for

  • Slope. Rising, falling or flat is a mechanical trend classification, in the sense lesson 4 demanded, and it needs no crossover.
  • Position. Price persistently above a rising average is a different market from price oscillating across a flat one. This is a classification, not a signal.
  • As a dynamic level. In a strong trend, pullbacks often stall near a well-watched average — partly because many participants are watching it. Treat it as a zone, like any other level.
  • As a filter. "Only take long setups while the 50 is rising" removes a category of trade. That is a legitimate and testable use.

Every one of those uses reads the average as a summary of conditions. None of them treats it as an instruction to enter, which is the distinction that separates an average that helps from one that generates losses at a steady rate.

Where averages fail

The failures are predictable, which makes them manageable.

SituationWhat the average does
Sideways marketPrice crosses it constantly; every signal is noise
Sharp reversalKeeps pointing the old way for half its period
After a gap or news spikeDistorted for N bars by one candle
Low-liquidity hoursSmooths ticks that meant nothing to begin with

Notice that the first two are the same property seen twice. The lag that makes an average stable in a trend is what makes it wrong at a turn — you cannot have one without the other, and no variant of the calculation escapes it. Everything marketed as a "zero-lag" average has simply traded lag for noise somewhere else.

Using it honestly

  • One or two averages, not five. Five lines produce a signal at all times and information at none.
  • Do not use it to set the stop. The stop goes where the idea is wrong; an average is not that place.
  • Do not use it as the reason for a trade. It is context. The reason comes from structure, a level, or a tested setup.

Read that way, a moving average earns its place on a chart: one line, chosen for a purpose, answering one question about conditions — and silent on everything else.

Key takeaways

  • A moving average is an average of past closes and lags by roughly half its period.
  • SMA and EMA differ less than the debate suggests; the period is the parameter that matters, and it should come from a purpose.
  • Read slope and position, not crossovers — crossovers arrive after the move by construction.
  • The lag that stabilises a trend is what makes it wrong at a turn. Use it as context, never as a reason or a stop.