What is a moving average?
A moving average (MA) is a technical indicator that smooths out price data by calculating the average closing price over a defined period. Instead of looking at noisy day-to-day price movements, a moving average shows the underlying trend direction.
The "moving" part means the average updates each day: a 50-day MA always reflects the most recent 50 trading days, dropping the oldest day and adding the newest.
Simple moving average (SMA) vs exponential moving average (EMA)
- Simple Moving Average (SMA): Equal weight given to all days in the period. The 50-day SMA = sum of last 50 closing prices ÷ 50. Easy to calculate, widely followed.
- Exponential Moving Average (EMA): More weight given to recent prices, making it faster to react to new data. Preferred by short-term traders who need faster signals.
For long-term investors, SMA is generally preferred — less prone to false signals. For day traders, EMA responds faster.
The most important moving averages
- 20-day MA: Short-term trend — used by swing traders. A stock above its 20-day MA is in a short-term uptrend.
- 50-day MA: Medium-term trend — the most closely watched by institutional investors. A break above or below the 50-day is a significant signal.
- 200-day MA: Long-term trend — defines bull vs. bear market for individual stocks. Stocks above their 200-day MA are generally in bull mode; below it, bear mode.
Golden cross and death cross
- Golden Cross: The 50-day MA crosses above the 200-day MA. Historically a bullish signal — often coincides with the start of sustained uptrends.
- Death Cross: The 50-day MA crosses below the 200-day MA. A bearish signal — often signals the start of a prolonged downtrend.
Important caveat: these signals are lagging — they confirm a trend that has already started. By the time a golden cross forms, a stock may have already risen 20–30%.
Moving averages as support and resistance
Moving averages frequently act as dynamic support and resistance levels:
- In an uptrend, stocks often pull back to the 50-day MA before bouncing — traders watch for this as a buying opportunity
- In a downtrend, rally attempts often stall at the 50-day or 200-day MA — acting as resistance
- A clean break through a major MA with high volume is a stronger signal than a brief touch
Moving average crossover strategies
A simple crossover strategy: buy when the short-term MA crosses above the long-term MA, sell when it crosses below. Common combinations:
- 9-day EMA / 21-day EMA — short-term trading
- 50-day SMA / 200-day SMA — golden/death cross, longer-term positioning
These strategies work best in trending markets and poorly in sideways/choppy markets where crossovers generate many false signals.
Limitations of moving averages
- Lagging indicator: Based on past prices — MAs always trail current price action
- Poor in ranging markets: When a stock has no clear trend, MA crossovers generate many false signals
- No fundamental context: A stock at its 200-day MA looks the same whether it's a growth stock or declining business
Moving averages are most powerful when combined with other indicators — volume, RSI, MACD, or fundamental catalysts — rather than used in isolation. They're a lens for understanding trend, not a standalone trading system.