Moving Averages — Smoothing Out the Noise

A moving average plots the average price over a set period, smoothing out the day-to-day jitter so the real trend stands out clearly.

The Concept

What Is a Moving Average, Really?

A moving average (MA) is the average closing price over a fixed number of recent periods — say, the last 50 days — recalculated fresh every single day as the window "moves" forward one period at a time. Plot that rolling average as its own line on the chart, and it smooths away the day-to-day zigzags to reveal the underlying trend far more clearly than the raw price line alone.

The most common type is the simple moving average (SMA), which weights every day in the window equally. A related version, the exponential moving average (EMA), weights recent days more heavily so it reacts faster to new information — both do the same basic job of smoothing, just with a different lag/responsiveness trade-off.

Two things make moving averages especially useful: they can act as dynamic support or resistance (price often bounces off a rising 50-day or 200-day average the same way it bounces off the fixed levels from the last lesson), and comparing a short-term average against a long-term one reveals trend-strength crossovers — the famous "golden cross" and "death cross" covered below.

📈 Raw Price vs. a Smoothed Moving Average

Raw Daily Prices
Jagged and noisy — hard to tell the real trend from day-to-day randomness.
Same Data, With a Moving Average
The green line smooths the noise — the underlying uptrend is now obvious.

Nothing about the underlying data changed between these two charts — only how it's displayed. That's the entire value of a moving average: it trades a small amount of lag (it reacts a bit slower than raw price, since it's an average of the past) for a much clearer read on direction.

📊 Real Example: The S&P 500's 2022 Death Cross and 2023 Golden Cross

Real S&P 500 50-day and 200-day simple moving averages, calculated from actual daily closes.

DateClose50-day SMA200-day SMASignal
Mar 14, 2022$4,173.11$4,463.96$4,467.00Death cross — 50 crosses below 200
Feb 2, 2023$4,179.76$3,953.61$3,951.58Golden cross — 50 crosses above 200

On Mar 14, 2022, the S&P 500's 50-day average ($4,463.96) slipped below its 200-day average ($4,467.00) — a "death cross," a classic (if lagging) bearish signal, arriving as the 2022 bear market was getting underway. Almost a year later, on Feb 2, 2023, the pattern flipped: the 50-day average ($3,953.61) crossed back above the 200-day ($3,951.58) — a "golden cross" — right as the index was beginning the recovery documented in the Trend Lines and Support & Resistance lessons. Note both crosses happened well after the actual price turns (Mar 14 close was already down from the Jan high; Feb 2 was already off the Oct low) — that lag is the trade-off for the smoothing.

Watch For This

5 Things to Know About Moving Averages

  1. A moving average is a lagging indicator — because it's an average of past prices, it always reacts to a trend change after the fact, never before.
  2. Shorter periods react faster but whipsaw more — a 20-day average hugs price closely but generates more false signals; a 200-day average is smoother but slower to turn.
  3. A "golden cross" (short MA crosses above long MA) is a bullish signal; a "death cross" (short MA crosses below long MA) is bearish — both are best known using the 50-day/200-day pair.
  4. Rising moving averages often act as dynamic support, and falling ones often act as dynamic resistance — the same bounce-off behavior as the fixed levels from the last lesson, just moving with price.
  5. Crosses are confirmation tools, not early warnings — by the time a cross happens, a meaningful chunk of the actual price move has usually already occurred.
Put It Into Practice

4 Things to Check When Reading Moving Averages

📏 Match the Period to Your Horizon

  • Day traders often watch 9- or 20-period averages; long-term investors lean on the 50-day and 200-day.
  • There's no single "correct" period — it depends what timeframe you actually care about.

🔀 Watch the Slope, Not Just the Line

  • A rising MA suggests an uptrend; a flattening one suggests the trend is losing steam.
  • Price sitting above a rising MA is a more bullish picture than price merely being above a flat one.

✝️ Treat Crosses as Confirmation, Not Prediction

  • Golden/death crosses confirm a trend already underway — they don't call the exact top or bottom.
  • Pair a cross with volume and support/resistance for a fuller picture.

🎯 Use MAs as Dynamic Levels

  • Watch whether price respects a rising 50-day average as support on pullbacks.
  • A decisive close through it is often treated the same as breaking a fixed support level.
Worth knowing: every moving average is, by construction, looking backward — it can only ever confirm a trend that's already begun, never predict one before it starts. Use it to clarify what's already happening, not to forecast what happens next.
Activity

Try It Yourself: Smooth the Noise

Enter 5 sequential daily prices and see a 3-day simple moving average plotted alongside the raw, jagged price line.

Raw price3-day moving average

Model: a 3-day simple moving average needs 3 data points, so the first plotted MA value covers Days 1-3, the next covers Days 2-4, and so on — that's why the smoothed line starts 2 days later than the raw price line.

End of Lesson

Quick Check: 5 Questions

Answer all five, then hit "Check My Answers" to see how you did. Get one wrong? No problem — the explanation will show you exactly why.

0/5
Nice work — review any explanations below to lock it in.
1. What does a moving average do?
A moving average recalculates the average of the last N periods every day as the window rolls forward, which is exactly what smooths out short-term jitter to reveal the underlying trend.
2. What is a "golden cross"?
A golden cross is the short-term average crossing above the long-term average — a classic, if lagging, bullish signal, most commonly tracked with the 50-day/200-day pair.
3. On Mar 14, 2022, the S&P 500's 50-day SMA ($4,463.96) crossed below its 200-day SMA ($4,467.00). What is this pattern called, and what does it typically signal?
A short-term average crossing below a long-term one is a death cross, the bearish mirror image of a golden cross — exactly what happened as the 2022 bear market was getting underway.
4. Why is a moving average described as a "lagging" indicator?
Since a moving average is literally an average of prior prices, it can only ever reflect what's already happened — it reacts to a new trend, it doesn't anticipate one.
5. What's the key trade-off between a shorter-period moving average (like 20-day) and a longer one (like 200-day)?
A shorter window hugs price more closely (faster reaction, more whipsaws); a longer window smooths harder (fewer false signals, but slower to reflect a genuine trend change) — there's no free lunch either way.
Downloads

Take This Lesson Offline

Print-friendly resources to revisit, practice, and dig deeper — no login required.

You've Completed Reading a Chart!

Candlesticks, trend lines, volume, support & resistance, and moving averages — that's the full toolkit for reading any price chart. Next, put it into practice or explore another track.