How to Use the 20, 50 and 200-Day Moving Averages

A moving average smooths price into a single line by averaging a set number of recent closes. It won’t predict where price goes next, but it makes the trend easier to see and gives you consistent reference points for pullbacks. The 20, 50 and 200-day averages are the ones traders watch most.
How Moving Averages Work
A 20-day simple moving average (SMA) adds the last 20 daily closes and divides by 20. Each day, the oldest close drops off and the newest is added, so the line follows price.
Simple Moving Average
SMA = (Sum of the last N closes) ÷ N
Closes of 100, 102, 101, 104 and 103 give a 5-period SMA of 510 ÷ 5 = 102.
An exponential moving average (EMA) weights recent closes more heavily, so it reacts faster. That’s why short-term traders often use EMAs like the 9 EMA, while the 50 and 200-day are usually plotted as SMAs.
Every moving average lags price. The longer the period, the smoother the line and the slower it turns.
The 20, 50 and 200-Day Averages
| Average | Covers About | What Traders Use It For |
|---|---|---|
| 20-day | One month of trading | Short-term trend; strong trends often pull back to it |
| 50-day | One quarter | Intermediate trend; widely watched by swing traders and funds |
| 200-day | Ten months | Long-term trend; above or below it is a common shorthand for a market’s health (see the 200-day SMA guide) |
There’s nothing magic about these numbers. They matter partly because so many people watch them, which tends to produce reactions near the lines.
Reading the Trend
- Uptrend: price above the averages, the averages sloping up, and shorter ones stacked above longer ones (20 above 50 above 200).
- Downtrend: the reverse. Price below, averages sloping down, shorter below longer.
- Consolidation: the averages flatten and tangle together, and price crosses them often. Moving-average signals tend to fail here.
Illustration only. In a steady uptrend, pullbacks often stall near a rising average before the trend resumes.
Moving Averages as Support and Resistance
In a trend, moving averages often act as dynamic support or resistance. In an uptrend, a pullback to the 20 or 50-day that holds and turns higher is a common place to look for a long, with a stop below the average.
Treat the line as an area, not an exact price. Price often undercuts an average briefly before turning, so leave room in your stop.
When an average that held for months finally breaks, it often flips roles. SPY’s daily 200 SMA capped rallies through 2022, then acted as support in early 2023 once price got back above it.
Illustration only. Price is capped by the average twice, breaks above it, then holds it on the pullback.
Crossover Signals
A crossover happens when a shorter average crosses a longer one. The 50-day crossing above the 200-day is called a golden cross; crossing below is a death cross. Faster pairs like the 20 and 50 work the same way.
Crossovers confirm a trend change after it has started. By the time the 50 crosses the 200, price has usually already moved a long way.
Using Moving Averages Well
- Pick a few and stick with them. Three lines are plenty. A chart with eight averages tells you nothing.
- Match the average to your timeframe. A day trader on a 5-minute chart may care more about the 9 EMA and VWAP than the 200-day.
- Check the higher timeframe. A 5-minute uptrend running into the daily 200 SMA has a clear obstacle overhead.
- Combine with levels and volume. A pullback to the 50-day that lines up with prior support on lighter selling volume is stronger than the average alone.
- Test your own rules. Published backtests rarely match how you’d actually trade. Test your exact entry, stop and timeframe, and remember that past results don’t guarantee future ones.
Educational content only, not financial advice. Trading involves risk, and examples are illustrations, not recommendations.



