How to Use Moving Averages
Key Takeaways
- Moving averages smooth price data to reveal the underlying trend direction.
- The 50-day and 200-day simple moving averages are the most widely followed by institutional investors.
- A golden cross (50-day crosses above 200-day) is bullish; a death cross (50-day crosses below 200-day) is bearish.
- Moving averages work best in trending markets and generate false signals during sideways consolidation periods.
Moving averages are the most widely used technical indicators in the world. They smooth out price fluctuations by calculating the average price over a specified number of periods, creating a flowing line on the chart that reveals the trend direction. When prices are above a rising moving average, the trend is up. When they're below a falling moving average, the trend is down.
Institutional investors, hedge funds, and algorithmic trading systems all monitor key moving averages—especially the 50-day and 200-day. Because so many participants watch these levels, they become self-fulfilling: stocks often bounce off their moving averages precisely because so many orders are clustered around them.
This guide covers the two main types of moving averages, the most important periods to use, classic trading signals like the golden cross and death cross, and practical strategies for incorporating moving averages into your investment process.
Before You Start
You should be comfortable reading stock charts and understand support and resistance concepts. Moving averages act as dynamic support and resistance, so understanding static levels first provides a solid foundation.
Step 1: Understand SMA vs. EMA
A Simple Moving Average (SMA) calculates the arithmetic mean of prices over a specified number of periods. A 50-day SMA adds up the closing prices of the last 50 trading days and divides by 50. Each day, the oldest price drops off and the newest is added, causing the average to "move." All periods are weighted equally.
An Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive to new information. A 50-day EMA reacts faster to price changes than a 50-day SMA because recent prices have greater influence on the calculation. This makes EMAs better for catching trend changes early but also more prone to false signals during choppy markets.
Which is better? Neither universally outperforms the other. Most long-term investors and institutional traders prefer SMAs for their stability. Active traders often prefer EMAs for their responsiveness. Many analysts use both: EMAs for short-term analysis and SMAs for long-term trend identification. The 200-day SMA is the single most watched moving average in the world.
Step 2: Master Key Moving Average Periods
The 50-day moving average represents roughly 10 weeks of trading data. It captures the medium-term trend and is the most commonly used moving average for swing trading. When a stock is above its rising 50-day MA, the medium-term trend is healthy. A stock that breaks below its 50-day MA after an extended uptrend is showing early warning signs.
The 200-day moving average represents about 10 months of data and defines the long-term trend. Institutional investors use the 200-day MA as a dividing line between bull and bear trends. A stock above its 200-day MA is in a "technical bull market." Below it is a "technical bear market." Many fund managers only buy stocks above their 200-day MA.
Shorter moving averages like the 10-day and 20-day EMA are used for short-term trading and identifying recent momentum. The 10-day EMA captures about two weeks of data—useful for swing traders looking for quick moves. Using multiple moving averages together (10, 20, 50, and 200) creates a "moving average ribbon" that visually represents the trend on multiple timeframes simultaneously.
Step 3: Trade the Golden Cross and Death Cross
The golden cross occurs when the 50-day moving average crosses above the 200-day moving average. This signals that medium-term momentum has turned positive and the long-term trend may be shifting from bearish to bullish. Golden crosses have historically preceded significant market rallies and are watched closely by institutional investors.
The death cross is the opposite—the 50-day crosses below the 200-day, signaling that medium-term momentum has turned negative. Death crosses preceded major market declines including the 2008 financial crisis and the early stages of many bear markets. However, they're lagging indicators—by the time a death cross forms, much of the decline may have already occurred.
These crossover signals are most reliable in trending markets. During extended sideways periods, the 50-day and 200-day can crisscross multiple times, generating false signals (called "whipsaws"). Reduce whipsaw risk by requiring additional confirmation: the crossover should occur with increasing volume, and the stock should be significantly above (golden cross) or below (death cross) both averages.
Step 4: Use Moving Averages as Dynamic Support and Resistance
In an uptrend, moving averages act as dynamic support levels. A stock will often pull back to its 50-day MA, bounce, and resume the uptrend. These pullback-to-the-moving-average entries are among the most common trading setups used by professional traders. The 50-day MA bounce is particularly popular because it represents institutional buying on dips.
In a downtrend, moving averages act as dynamic resistance. A stock below its 50-day MA may rally to touch the average but then turn lower. Short sellers often use these rallies to the moving average as entry points, selling when the stock reaches the MA and stalls.
The 200-day MA is the "line in the sand" for many investors. A stock that falls from well above the 200-day MA to test it from above is at a critical juncture. If it bounces, the long-term uptrend is confirmed. If it breaks below, a potential trend change is underway. Monitor volume carefully at the 200-day MA—heavy volume either confirms the bounce or validates the breakdown.
Step 5: Combine Moving Averages with Other Indicators
Moving averages work best when combined with other analysis. Use volume to confirm moves at the moving average—a bounce off the 50-day MA on heavy volume is more reliable than one on light volume. Combine with RSI to identify when a stock is oversold near a moving average support—this double confirmation increases the probability of a successful bounce.
Moving averages also work with horizontal support and resistance. When a horizontal support level coincides with a moving average (convergence), the combined level is much stronger than either alone. For example, if a stock's 200-day MA at $95 lines up with a horizontal support level that has held three times at $94-96, that zone is extremely significant.
For trend-following strategies, use the moving average as your primary filter and other indicators for timing. Only buy stocks above their 200-day MA (confirming the uptrend), then use RSI or MACD to time entries during pullbacks. This "trend filter plus timing indicator" framework is used by many professional systematic traders.
Practical Example
Consider Apple (AAPL) trading at $210 with its 50-day SMA at $200 and 200-day SMA at $185, both rising. The 50-day is above the 200-day, confirming a bullish golden cross configuration. Apple pulls back from $215 to $202, testing the 50-day MA on below-average volume—suggesting the pullback is healthy profit-taking rather than distribution.
At $202 (near the 50-day MA), RSI reads 42—not quite oversold but well below the recent overbought readings of 75+. A buyer at this level can set a stop-loss at $195 (below the 50-day MA by a reasonable buffer) and target $225 (prior resistance). Risk is $7 per share with $23 of potential reward—a 3.3:1 risk-reward ratio.
Three days later, Apple bounces off the 50-day MA on increasing volume, confirming buyer interest at this support level. The stock rallies back to $215 within a week and eventually pushes to $228, reaching the target. This is a textbook "pullback to the 50-day MA in an uptrend" trade—one of the most repeatable setups in technical analysis.
Common Mistakes to Avoid
Using moving averages in sideways markets
Moving averages are trend-following tools. In range-bound, choppy markets, they generate frequent false signals as the price crisscrosses the averages repeatedly. Recognize when a stock is trending versus consolidating and only rely on MA signals during trends.
Over-optimizing moving average periods
Testing hundreds of MA periods to find the one that would have worked best historically (curve-fitting) produces strategies that fail going forward. Stick with standard, widely-followed periods (10, 20, 50, 200) that reflect actual market participant behavior.
Ignoring the lag inherent in moving averages
Moving averages are lagging indicators—they're based on past prices. By the time a golden cross or death cross forms, a significant portion of the move may already be over. Use them for trend confirmation, not early signals. Complement with leading indicators for timing.
Pro Tips
- Always start your chart analysis by noting whether the stock is above or below its 200-day moving average—this instantly tells you the long-term trend.
- Buy pullbacks to the 50-day MA in stocks that are above their 200-day MA for the highest-probability setups.
- Use moving average slope in addition to crossovers—a flat or declining 200-day MA is bearish even without a death cross.
- Watch for convergence of moving averages with horizontal support/resistance for the strongest price levels.
Frequently Asked Questions
Related Guides
How to Read Stock Charts
Master the fundamentals of reading stock charts including price axes, timeframes, volume bars, and chart annotations.
Understanding Support and Resistance
Learn to identify key price levels where stocks tend to reverse direction and how to use them in your trading decisions.
Understanding the RSI Indicator
Learn how the Relative Strength Index measures momentum and identifies overbought and oversold conditions.
Introduction to Technical Analysis
Understand the foundations of technical analysis and how chart-based approaches complement fundamental investing.
Related Terms
Explore more guides in our investing education center or browse the financial terms glossary.