Skip to content

Moving Averages Explained: Simple vs Exponential, and Their Built-In Lag

How simple and exponential moving averages are calculated, worked step by step, why every moving average lags, and what crossovers do and do not mean.

By Published 3 min read

Reign Creative LLC makes Learn to Trade Stocks Beginner, which this article links to, so we have a commercial interest in it. How we write and check articles.

AI-assisted article. Drafted with AI tools from the sources cited below and checked by automated tests and an AI editorial review. No person has reviewed it yet. How we write and check articles.

Key takeaways

  • A moving average is the average of the last N prices, recalculated each period so that it moves along the chart.
  • A simple moving average weights each price equally; an exponential moving average gives more weight to recent prices, using a multiplier of 2 ÷ (N + 1).
  • Every moving average lags, because it is built from past prices; longer averages lag more.
  • A moving average describes the current trend direction; it does not predict where prices go next.
  • Crossovers between averages are lagging signals and often give false alarms in sideways markets.

A price chart is noisy: prices jump up and down from one day to the next. A moving average smooths that noise into a line that shows the general direction. It is also the building block for other indicators such as MACD. StockCharts' ChartSchool states its limits plainly: a moving average doesn't predict price direction; it defines the current direction, and it lags because it is based on past prices.

The simple moving average (SMA)

An N-period simple moving average is the sum of the last N closing prices divided by N. Each period, the oldest price drops out and the newest is added, so the average "moves".

A worked 5-day SMA. Closing prices over seven days: 11, 12, 13, 14, 15, 16, 17.

Day Window Average
5 11, 12, 13, 14, 15 65 ÷ 5 = 13
6 12, 13, 14, 15, 16 70 ÷ 5 = 14
7 13, 14, 15, 16, 17 75 ÷ 5 = 15

This is the example ChartSchool uses: prices rise from 11 to 17, and the average rises from 13 to 15. Notice that on day 7 the price is 17 but the average is only 15. That gap is the lag.

The exponential moving average (EMA)

An EMA reduces lag by weighting recent prices more heavily. It is calculated recursively:

EMA today = (price − EMA yesterday) × multiplier + EMA yesterday,

with multiplier = 2 ÷ (N + 1). For a 10-day EMA, ChartSchool shows the multiplier as 2 ÷ 11 ≈ 0.1818, so the latest price carries about 18% of the weight. ChartSchool seeds the first EMA value with an SMA.

A short example. A 3-day EMA has multiplier 2 ÷ 4 = 0.5. Seed it with the 3-day SMA of 11, 12 and 13, which is 12. The next price is 14: EMA = (14 − 12) × 0.5 + 12 = 13. The next is 15: EMA = (15 − 13) × 0.5 + 13 = 14. Because each value builds on the previous EMA, ChartSchool notes you need far more data than N periods for an accurate figure.

Lag: the built-in limitation

ChartSchool's analogy is useful. A 10-day moving average hugs prices and turns soon after they turn, like a speedboat. A 100-day average contains so much past data that it turns slowly, like an ocean tanker. The trade-off:

Shorter average (e.g. 10-day) Longer average (e.g. 100- or 200-day)
Reacts to turns Quickly Slowly
Lag Less More
Noise More false turns Fewer false turns

An EMA lags less than an SMA of the same length, because it weights recent data more. No choice of length or type removes the lag entirely, because the input is always the past.

How chart readers use them

ChartSchool lists the common uses: identifying the direction of a trend, defining possible support and resistance levels, and building other indicators such as MACD.

  • Direction. A rising average describes a rising trend over that window; a falling one, a falling trend.
  • Popular lengths. ChartSchool notes that the 200-day moving average is perhaps the most popular, that the 50-day is popular for the medium-term trend, and that many chartists use the two together.
  • Price versus average. A price above its 200-day average has, by definition, been higher recently than over the past 200 days on average. That is a description, not a forecast.
  • Crossovers. A short average crossing a long one is often called a "golden cross" (upward) or a "death cross" (downward). Because both lines lag, a crossover confirms a move that has already happened. In sideways markets, averages cross back and forth, producing signals that reverse.

What not to conclude

A moving average does not tell you that a trend will continue, and a price touching an average does not mean it will bounce. The listing for our simulator, Learn to Trade Stocks Beginner, frames all indicators this way: they summarise price or volume information but cannot confirm a future outcome or remove uncertainty. Pairing an average with another view, such as the RSI, does not change that.

The app includes lessons on moving averages and a chart replay mode for practising with simulated prices and a virtual balance. It is one of our education apps, and the investing basics hub lists the other chart guides, including how to read candlestick charts. The arithmetic of sums behind every average is in summation notation.

Good to know

Frequently asked questions

What is a moving average?
The average price over a fixed number of recent periods, recalculated each period. A 20-day moving average is the average of the last 20 closing prices; tomorrow, the oldest price drops out and the newest comes in, so the average moves.
What is the difference between SMA and EMA?
A simple moving average (SMA) weights every price in the window equally. An exponential moving average (EMA) gives more weight to recent prices, so it reacts faster and lags less, at the cost of being more sensitive to short-term swings.
Why do moving averages lag?
Because they average past prices. When the price turns, the average keeps including older prices from before the turn, so it changes direction later. ChartSchool notes that the longer the average, the greater the lag.
What is a golden cross?
A common name for a shorter moving average, often the 50-day, crossing above a longer one, often the 200-day. Because both averages lag, the cross happens after a rise is already under way, and in choppy markets crossovers frequently reverse.

Sources

  1. Moving Averages – Simple and Exponential (ChartSchool) (opens in a new tab)StockCharts.com — accessed
  2. Learn to Trade Stocks Beginner (store listing) (opens in a new tab)Google Play — accessed

About the author

— The independent app studio that builds the apps covered on this site and publishes every article here. On Google Play it publishes as Reign Collective Apps.

We use AI tools to help research, draft and edit our articles. Each article lists the sources its factual claims rely on, and details about our apps come from their live Google Play listings. No article on this site has been reviewed by an independent expert unless the reviewer is named on it.

No person at Reign Creative LLC has read this article in full. It was published after automated checks and an AI editorial review, which are described in our editorial policy and are not the same as a person reading every sentence.

Spotted an error? Tell us — how corrections are handled is set out in our editorial policy.