Moving Averages
Moving Averages
A moving average is the simplest and most widely used trend-following indicator. It smooths out price noise by averaging the closing prices over a specified number of periods. A 50-day moving average is the average of the close over the most recent 50 trading days; a 200-day moving average smooths over 200 days. Moving averages serve multiple purposes: they define trend direction, act as dynamic support and resistance, signal crossovers when two averages intersect, and form the foundation of more sophisticated indicators like MACD and VWAP. This chapter teaches you three types of moving averages, how to use their intersections as trading signals, and how to interpret the relationship between price and moving averages.
The simplicity of moving averages belies their power. Professional traders use the 200-day moving average as the ultimate arbiter of long-term trend direction. If price is above the 200-day average, the long-term trend is up; below it, the trend is down. The 50-day average provides a shorter-term view. The intersection of a shorter-term average crossing above a longer-term average—the golden cross—is one of the oldest and most reliable buy signals in technical analysis. The death cross, when the short-term average falls below the long-term average, signals a shift to downtrend. These signals are not perfect, but they carry sufficient probability that they form the backbone of many trading systems.
Why This Matters
Moving averages work because they capture trend direction with a lag. That lag—the fact that they follow price rather than predict it—is their greatest weakness and their greatest strength. The weakness is obvious: the signal comes after the move has already started. The strength is that they keep you in the trend for its duration. A trader who buys at every golden cross and sells at every death cross will have many false signals, but the signals that work will capture large portions of sustained trends. Moving averages also serve as dynamic support and resistance. Price that has been trending upward tends to pull back to its 50-day moving average before resuming the rally. This knowledge guides entry decisions.
What You Will Learn
This chapter covers the three main types of moving averages: simple (equal weight to all periods), exponential (more weight to recent periods), and weighted (also weighted toward recent data). You will learn when each type is most useful, and why professional traders prefer exponential moving averages for their responsiveness. We will examine crossover strategies—systems based entirely on moving average intersections—and the historical returns they generate. You will encounter the MACD (Moving Average Convergence Divergence), a momentum indicator built on moving averages, and VWAP (Volume Weighted Average Price), which incorporates volume to create an even more realistic picture of average price.
How to Read This Chapter
Pull up a chart of the S&P 500 index (SPY) and add a 50-day and 200-day exponential moving average. Watch how price oscillates around these averages. Zoom out to the past five years and identify every golden cross and death cross. How many of those signals would have caught a major trend? How many would have whipsawed you with false signals? This exercise builds intuition about both the power and the limitations of moving average crossovers.
The articles below start with moving average basics and move into crossover strategies and the MACD indicator. By the end, you will understand why millions of dollars in algorithmic trading capital is deployed on moving average signals every single day.
Articles in this chapter
📄️ What Is a Moving Average?
Learn what a moving average is and why traders use this technical indicator to spot trends and smooth price volatility in any market.
📄️ The Simple Moving Average
Master the simple moving average calculation, interpretation, and trading applications. Understand why traders use SMA for clarity and reliability.
📄️ The Exponential Moving Average
Learn how the exponential moving average weights recent prices heavily, respond faster to trend changes, and when to use EMA over SMA.
📄️ The Weighted Moving Average
Master the weighted moving average, where you control exactly which prices receive emphasis. Learn the calculation and when to use custom weighting.
📄️ Choosing a Moving Average Period
Learn how to select the right moving average period for your time frame, market, and strategy. Framework for testing and validation.
📄️ The 50-Day Moving Average
Learn why the 50-day moving average is the second most watched level in markets and how to use it for trend confirmation and support/resistance.
📄️ The 200-Day MA
Master the 200 day moving average, the most critical long-term trend indicator for stock market analysis and trading strategy.
📄️ MAs as Support
Learn how moving average support levels stop downtrends and create price floors where institutional traders cluster their buy orders.
📄️ MA Crossovers
Master moving average crossovers—when a fast MA crosses a slow MA—to identify the earliest signals of trend acceleration and momentum shifts.
📄️ The Golden Cross
Understand the golden cross—when the 50-day MA crosses above the 200-day MA—and how to trade the strongest bullish signal in technical analysis.
📄️ The Death Cross
Learn the death cross signal—when the 50-day MA crosses below the 200-day MA—and how to use it to identify major sell-offs and protect profits.
📄️ MA Ribbons
Master moving average ribbons—layered MAs of different lengths—to identify the strongest trends and avoid false breakouts in volatile markets.
📄️ The MACD Indicator
Master the MACD indicator for trend identification and momentum confirmation. Learn how this essential oscillator drives trading decisions.
📄️ Reading the MACD
Master how to read MACD signals for precise entry and exit timing. Learn signal line crossovers, histogram interpretation, and professional trading rules.
📄️ MACD Crossovers and Divergence
Master MACD divergence patterns for early reversal detection. Learn how to spot bullish and bearish divergences that precede market reversals.
📄️ Bollinger Bands and Moving Averages
Master Bollinger Bands as volatility-adjusted moving average envelopes. Learn to identify overbought/oversold conditions and squeeze setups.
📄️ The VWAP
Master the VWAP, the institutional trader's moving average. Learn how volume-weighted pricing reveals institutional entry levels and fair value.
📄️ Moving Average Envelopes
Master moving average envelopes for identifying overbought/oversold zones. Learn fixed-percentage bands that traders use across all markets.
📄️ Lag in Moving Averages
Moving average lag delays trend confirmation. Learn why longer periods lag more and how to compensate for slower signals in live trading.
📄️ Combining Moving Averages
Combining moving averages improves entries and reduces false signals. Learn the golden cross, death cross, and dual-MA systems used by professionals.
📄️ Moving Average Strategies
Proven moving average strategies for trend trading, mean reversion, and support/resistance. Learn bounce trading and breakout systems used by professionals.
📄️ Moving Average Mistakes
Learn the five costliest moving average mistakes: lag blindness, overconfidence, wrong periods, no stops, and ignoring market structure.