Skip to content
AlgoBeam

Moving Averages

Rolling averages of price that trade responsiveness for a cleaner reading of trend direction and act as dynamic reference levels.

IndicatorsBeginner2 min read

What it is

A moving average replaces each bar with an average of the last N observations, trading responsiveness for a cleaner read on direction. The simple moving average weights every observation in its window equally. The exponential moving average applies a decaying weight with a smoothing factor of 2/(N+1), so recent bars dominate and old ones fade rather than dropping out abruptly. Weighted, Hull and Wilder averages are variations on the same trade-off; Wilder's version, the one inside RSI, ATR and ADX, uses a factor of 1/N, which makes his 14-period average roughly as smooth as a 27-period EMA.

How it works

Averages are read three ways: level, slope and separation. Price above a rising average is the simplest workable definition of an uptrend, and the average itself often behaves as a moving reference where pullbacks stall. Crossovers between two lengths, the 50 crossing the 200 being the best known, compress the same information into a discrete event. Ribbons of several lengths show at a glance whether the whole structure is aligned or tangled, which is a quick regime check before any other analysis.

How traders use it

Every moving average lags by roughly half its window, and that lag is the price of the smoothing rather than a defect to be engineered away. Faster variants reduce delay by amplifying noise; there is no free version. In choppy markets crossover systems whipsaw, and a strategy that looks robust in a backtest usually owes its result to a small number of long trends rather than to the specific lengths chosen.

Where it breaks down

Be sceptical of the mystique attached to particular numbers. The 50-day and 200-day averages are watched widely enough to attract order flow around them, but there is no structural reason those lengths should outperform their neighbours, and optimising a length on historical data is one of the easiest ways to overfit a system. Use averages as a coarse regime filter and let entries come from something that carries a defined invalidation level.

Educational reference. This entry describes how a concept is defined and used. It is not investment advice, not a recommendation, and not a signal. Any rule you build from it should be tested with realistic costs before it is traded, and no historical result guarantees a future one.

Ready when you are

Now go and test it.

Reading about Moving Averages tells you how it is supposed to behave. A backtest tells you how it actually behaved on your instrument, over your timeframe, with costs included.

  • No card required
  • Cancel anytime
  • 14-day Ultimate trial