Reading Charts. Lesson 7 of 12 · 12 min read

Moving averages

Learn how moving averages smooth daily price swings so the trend is easier to see, what a bounce, a break and a rejection look like, and why a cross of the line is a late clue rather than a signal, using the original moving-average illustrations.

Written by the StockEducation Editorial Team · Reviewed by Associate Professor Charles Lo, CPA, PhD · Updated · How we check lessons

Quick answer

What are moving averages?

A moving average is the average closing price over a set number of days, redrawn each day so the trend is easier to see. Price above an upward sloping average is generally the stronger side; price below a falling one is the weaker side. Crossovers such as the golden cross confirm a trend late, so check them against price action.

Key takeaways

  1. A moving average smooths price so you can see the trend; it always lags because it is built from past prices.
  2. Price above an upward sloping average is the stronger side. Price below a falling average is the weaker side.
  3. A bounce from a rising average is often read as bullish; a close through it (the break), or a rejection from a falling one, as bearish.
  4. Golden and death crosses confirm changes after price has already begun moving.
  5. Start with the 50 day and 200 day simple averages, and confirm every signal with price action.

Start the lessonTake the quick checkRead the FAQSee the sources

All 6 parts of this lesson

Part 1 of 6 · How the average updates

What is a moving average, and how does one new price change it?

A moving average is a smooth line that follows price. Each day it takes the average closing price over a set number of days, so the daily noise fades and the bigger trend shows through.1 For beginners, the main question is simple: is price above or below the moving average?

To calculate a simple moving average, add the closing prices for the chosen number of days and divide by that number.2 For a 3 day average of closes at $10, $12 and $14, the result is $12. When the next close of $13 arrives, the oldest price drops out, so the new average is ($12 + $14 + $13) ÷ 3, or $13.

A worked example

A fictional stock closes at $10, $12 and $14. The next close is $13.

The oldest observation drops out and the newest enters. This is a simple moving average, not an exponential one. It summarizes past prices and does not predict future returns.
Why can the average rise when the latest price falls?

The new $13 replaces the older $10. That raises the average even though $13 is below the previous $14 close.

Notice the average rose even though the latest close fell. The new $13 replaced the older $10, which lifts the average even though $13 is below the previous $14 close. That is why a moving average always lags price: it only ever describes what has already happened.3

The most watched line is the 200 day simple moving average, often called the 200 SMA. When price is above an upward sloping 200 SMA, buyers are usually in control. When price is below a falling 200 SMA, sellers are usually in control. The same trend-filter test can also be applied to the 50-day line.

The rule

Treat a moving average as a summary of past prices, never as a forecast of the next move.

Marks Part 1 done

Part 2 of 6 · A trend filter

How do you use a moving average as a trend filter?

The easiest way to use a moving average is as a trend filter. If price is above an upward sloping average, the chart is generally healthier. If price is below a falling average, it is generally weaker.

This does not mean you buy every stock above its average or sell every stock below it. It tells you which side of the market to respect. The slope of the line matters as much as where price sits: an upward sloping line says the trend is up, a flat or falling one says it has stalled or turned.

What you seeWhat it meansCommon reading
Price above an upward sloping MATrend is healthier. Buyers have more control.The stronger side
Price bounces from an upward sloping MAThe MA may be acting like support.Often read as bullish
Price closes below the MASupport may have failed. The trend may be weakening.Often read as bearish
Price rejected by a falling MAThe falling MA is acting as resistance.Often read as bearish
Price below a falling MATrend is weaker. Sellers have more control.The weaker side
Moving average chart showing price above the 200 SMA as bullish and price below the 200 SMA as bearish
Moving average chart showing price above the 200 SMA as bullish and price below the 200 SMA as bearish. View full-size image
The rule

An upward sloping average describes an uptrend and a falling one a downtrend; neither predicts the next move on its own.

Marks Part 2 done

Part 3 of 6 · Three price patterns

What do a bounce, a break and a rejection look like?

The bounce

Price pulls back toward a rising moving average, holds near it and turns up. A touch alone is not enough: look for price to show that buyers are defending the trend.

Moving average bounce buy signal showing price pulling back to a rising moving average and bouncing higher
Moving average bounce buy signal showing price pulling back to a rising moving average and bouncing higher. View full-size image

The break

A clear close below an average that previously acted as support can warn of weakness. Check follow-through, nearby support and volume; price can also recover after a false break.

Moving average sell warning showing price closing below a moving average after a prior uptrend
Moving average sell warning showing price closing below a moving average after a prior uptrend. View full-size image

The rejection

In a downtrend, price can rally toward a falling average and turn lower again. That is the mirror image of a bounce. Merely reaching a falling average does not establish that the downtrend has ended.

The rule

Wait for a reaction at the average rather than acting on its first touch.

Marks Part 3 done

Part 4 of 6 · Crossover signals

What are the golden cross and the death cross?

A golden cross is the 50-day SMA crossing above the 200-day SMA. A death cross is the 50-day SMA crossing below the 200-day SMA.

Golden Cross and Death Cross moving average crossover signals explained
Golden Cross and Death Cross moving average crossover signals explained. View full-size image

The original illustration compares the two patterns. They summarize a trend change that is already under way: both averages are calculated from past prices. In sideways markets, repeated crossings can produce false signals or whipsaws.

Check price, support, resistance and volume together. Trading costs and taxes also affect the results of repeatedly acting on signals.

The rule

Use crossovers as lagging confirmation, not predictions of the next move.

Marks Part 4 done

Part 5 of 6 · Choosing the average

Which periods and which type of average should you use?

There are many moving averages, but you do not need many lines. Too many make a chart harder to read. Start with the 50 day and the 200 day SMA, the two most widely watched, so you see the same lines other traders see.

PeriodReflectsBeginner use
20 dayShort term trendFast trend tracking, more noise
50 dayMedium term trendCommon pullback and bounce area
100 dayIntermediate trendExtra context, less essential
200 dayLong term trendWidely watched long term trend filter

A shorter average reacts faster because each new close is a bigger share of a short window. That speed also brings more false signals than a slower 200 day line.

50 day and 200 day moving averages showing medium term and long term trend lines
50 day and 200 day moving averages showing medium term and long term trend lines. View full-size image

SMA, EMA and WMA

The simple moving average (SMA) gives equal weight to each closing price in the period.2 The exponential moving average (EMA) gives more weight to recent prices, so it reacts faster when the trend changes.6 The weighted moving average (WMA) also leans toward recent prices, using fixed weights that step down with age.

That speed cuts both ways: an EMA turns sooner but can also flip on short lived moves. For this course the SMA is enough.

Simple moving average versus exponential moving average versus weighted moving average comparison
Simple moving average versus exponential moving average versus weighted moving average comparison. View full-size image
The rule

Start with the 50 day and 200 day simple averages, and know whether a line is an SMA or an EMA before you read it.

Marks Part 5 done

Part 6 of 6 · Confirm before acting

How do you confirm a moving average signal?

No moving average signal stands alone. Each one is stronger when price action agrees with it, such as higher highs and higher lows in an uptrend.

Bullish readingWhat to look forBest confirmation
Price above an upward sloping MAPrice holds above the 50 or 200 SMA.Higher highs and higher lows
MA bouncePrice pulls back to an upward sloping MA and turns up.Green candle or higher volume
Golden cross50 SMA crosses above 200 SMA.Price already above both lines
Bullish MA stackPrice above the 20, 50 and 200 SMA, all sloping upward.Trend stays orderly

Bearish readings

  • Price closes below a key MA. The line that acted as support may have failed.
  • Falling MA rejection. Price rallies into a falling MA and turns lower.
  • Death cross. The 50 SMA crosses below the 200 SMA.
  • Price below all major MAs. Price below the 20, 50 and 200 SMA usually means clear weakness.
  • The MA rolls over. A line that was climbing turns flat or downward.

The original case study below brings the earlier ideas together. Price respects a rising average twice, so the average is acting as dynamic support. You do not need to predict the future, only to notice when the behavior changes: a clear close below the line after several bounces means the line has failed, and many traders read that as bearish.

200-period simple moving average case study: repeated bounces followed by a break
200-period simple moving average case study: repeated bounces followed by a break. View full-size image
The rule

Respect the line while it holds, and treat a clear close below it after several bounces as a warning.

Marks Part 6 done

Quick check

Quick quiz: test what you just read

Pick an answer to see why it is right. 5 questions, no account needed.

0 of 5 answered

1. A stock closes at $10, $12 and $14, then at $13. What is the 3 day simple moving average after the $13 close?

Answer: C.The oldest close, $10, drops out as the newest enters, so ($12 + $14 + $13) ÷ 3 = $13. The average rose even though the latest close was below the one before it.

2. Which moving average usually reacts faster to a new price?

Answer: B.Each new close is a larger share of a short window, so the line moves more. That speed also brings more false signals than a slower 200 day line.

3. Price has been above a rising average, pulls back to the line and turns up. What is that pattern called?

Answer: C.A bounce suggests buyers are defending the trend. The clearer clue is the reaction at the line, not the touch itself; a close through the line would be a break.

4. Why can a death cross arrive after a decline has already begun?

Answer: B.A crossover is lagging confirmation: the 50-day and 200-day averages respond to price data already recorded.

5. What is the difference between an SMA and an EMA?

Answer: B.A simple average weights every close equally; an exponential one leans toward recent prices. That weighting makes an EMA more responsive to recent price changes.

Questions people ask

Moving averages FAQ

Can a moving average predict where a stock will go?

No. A moving average summarizes prices that have already happened, so it always lags price.3 Its value is as a trend filter that shows which side of the market to respect. Decide in advance what a clear close below the line would mean for your plan.

Do moving average signals beat buying and holding?

Not reliably. Moving in and out of the market on signals adds trading costs and, in a taxable account, can turn gains into short term gains taxed at higher rates.5 FINRA also notes that some of the best trading days come during volatile periods, so a signal that takes you out during a selloff can make you miss the rebound.

Is a golden cross a buy signal?

It is a confirmation, not a trigger. By the time the 50 day average crosses the 200 day, the trend change may already be well under way. Check it against price, support and volume.

Should I use daily or weekly moving averages?

Daily averages, like the 50 day and 200 day, are the most common for stocks. A weekly chart smooths even more noise and suits longer holding periods. Pick one and stay consistent, because mixing time frames gives conflicting signals.

Next steps

You finished this lesson.

You now have the main ideas from this lesson. Next, practice where mistakes cost nothing: a free account saves your progress and unlocks the practice simulator with virtual money.

Free, no card. Lessons stay free to read without an account.

Your notes on one card, and what comes next
  1. Step 1 · DoneMoving averages
    See your notes on one card
    1. A moving average smooths price so you can see the trend; it always lags because it is built from past prices.
    2. Price above an upward sloping average is the stronger side. Price below a falling average is the weaker side.
    3. A bounce from a rising average is often read as bullish; a close through it (the break), or a rejection from a falling one, as bearish.
    4. Golden and death crosses confirm changes after price has already begun moving.
    5. Start with the 50 day and 200 day simple averages, and confirm every signal with price action.
  2. 2
    Step 2 · NowSave your progress with a free account

    Keep your course progress and practice on real U.S. stocks with virtual cash.

    Create your free account No card needed. Lessons stay free to read.
  3. 3
    Step 3Follow the learning path
    The learning pathFree

    Learn the rest in the right order

    Ten modules of lessons, videos, tools and quizzes, ordered so each step builds on the last, from market basics to company analysis and risk.

    Start the learning path

Want the full sequence? See the course outline →

Sources and assumptions

StockEducation provides general education, not personal financial, tax or legal advice. Companies and funds named here are teaching examples only. Nothing here recommends buying or selling any security. Investing involves risk, including the loss of money you invest.

Up nextPart 1 · What is a moving average, and how does one new price change it?
Next ↓