Moving Averages Explained
Moving averages are one of the most widely used tools in technical analysis. They smooth out price data to help you identify trends, spot reversals, and time entries and exits. In this lesson, you'll learn how different types of moving averages work and how traders use them in real markets.
What Is a Moving Average?
A moving average (MA) calculates the average price of a stock over a specific number of periods — say, 20 days or 200 days — and plots it as a smooth line on a chart. As each new day closes, the oldest data point drops off and the newest one is added, so the average 'moves' forward in time. This smoothing effect filters out the day-to-day noise and lets you see the bigger trend more clearly.
Example
If a stock closes at $100, $102, $98, $105, and $101 over five days, the 5-day simple moving average is ($100 + $102 + $98 + $105 + $101) / 5 = $101.20. Tomorrow, the $100 day drops off and the new close is added, recalculating the average.
SMA vs. EMA: What's the Difference?
There are two main types of moving averages. The Simple Moving Average (SMA) gives equal weight to every data point in the period. The Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive to new information. Day traders often prefer EMAs because they react faster to price changes. Swing traders and long-term investors often prefer SMAs because they're smoother and less prone to false signals.
Example
During a fast-moving earnings rally, a 20-day EMA will turn upward much sooner than a 20-day SMA because it weights recent closes more heavily. This can help traders enter earlier — but it also means more false signals in choppy markets.
Key Moving Average Periods
Certain MA periods are watched by so many traders that they become self-fulfilling. The 20-day MA is popular for short-term momentum. The 50-day MA is the benchmark for intermediate trends — institutional desks watch it closely. The 200-day MA is the gold standard for long-term trend direction. When price is above the 200-day MA, the stock is generally in a long-term uptrend. Below it, the trend is down.
Example
Apple (AAPL) bounced off its 200-day MA multiple times during its 2019–2021 bull run. Each time price dipped to that level, buyers stepped in because they knew other large institutions were watching the same line.
The Golden Cross and Death Cross
When a shorter MA (like the 50-day) crosses above a longer MA (like the 200-day), it's called a Golden Cross — a bullish signal suggesting the trend is turning upward. The opposite — the 50-day crossing below the 200-day — is a Death Cross, a bearish signal. These crossovers are widely followed by institutional traders and often trigger significant price moves because so many participants act on them simultaneously.
Example
In early 2023, the S&P 500's 50-day MA crossed above its 200-day MA — a Golden Cross. The index subsequently rallied 20% over the following months. Conversely, in late 2022, the 50-day crossed below the 200-day (Death Cross), and the market continued falling for several more months. These signals are slow but powerful — they confirm major trend changes.
Using MAs as Dynamic Support and Resistance
Moving averages don't just show trend direction — they act as dynamic support and resistance levels. In an uptrend, price often pulls back to the 20-day or 50-day MA before bouncing higher. In a downtrend, rallies often stall at those same levels. This makes MAs useful for timing entries: buying a pullback to the 50-day in an uptrend is a classic strategy used by both retail and institutional traders.
Example
A growth stock in a strong uptrend pulls back from $150 to $132, right where the 50-day MA sits. Volume dries up at that level and price bounces back to new highs. Traders who recognized the MA as support had a low-risk entry point with a clear stop below the MA.
Key takeaways
- 1Moving averages smooth price data to reveal the underlying trend direction.
- 2EMAs react faster to price changes; SMAs are smoother and slower.
- 3The 50-day and 200-day MAs are the most widely watched by institutions.
- 4Golden Cross (50-day above 200-day) is bullish; Death Cross (50-day below 200-day) is bearish.
- 5MAs are lagging — they work best in trending markets, not sideways ones.