Moving Average
A moving average is a technical indicator that calculates the average closing price of a security over a specified number of past periods, updated continuously to smooth out short-term price fluctuations and reveal longer-term price trends.
A moving average is among the oldest and most widely referenced tools in technical analysis. It works by summing the closing prices of a security over a defined look-back window — for example, 50 days or 200 days — and dividing by the number of periods in that window. Each day, the oldest data point drops out and the newest one is added, so the average 'moves' forward through time.
There are two primary variants. The simple moving average (SMA) weights all periods equally. The exponential moving average (EMA) applies progressively greater weight to more recent prices, making it more responsive to recent price changes. Other variants include the weighted moving average (WMA) and the hull moving average, each designed to balance smoothness against responsiveness in different ways.
Historically, analysts have studied moving averages in relation to actual price action to characterize trend direction. When a security's price has historically traded above a rising long-term moving average, such observations have often been associated with periods of sustained upward price momentum in historical data. Conversely, prices persistently below a declining moving average have historically characterized downtrending markets in many studied securities. These are historical observations about how past price data has behaved relative to these averages; they do not constitute predictions of future performance.
Two specific moving average relationships that technical analysts frequently observe are the 'golden cross' and the 'death cross.' A golden cross refers to the historical observation when a shorter-term moving average (commonly the 50-day SMA) crosses above a longer-term moving average (commonly the 200-day SMA). A death cross refers to the reverse crossing. Academic research on these signals has produced mixed results, and their historical associations with subsequent price behavior vary significantly depending on the security, time period, and market environment studied.
Moving averages are also used in the construction of other technical indicators, including the MACD and Bollinger Bands. Like all technical indicators, moving averages are mathematical summaries of historical price data. Their value lies in organizing and visualizing past price behavior; they do not have predictive power in any scientific sense, and no technical indicator can reliably forecast future prices.
Golden Cross and Death Cross: In historical chart studies of U.S. equity indices, the 50-day SMA crossing above the 200-day SMA — the golden cross — has frequently appeared near the early stages of sustained uptrends, while the reverse crossing — the death cross — has historically appeared during or shortly after periods of prolonged price weakness. The S&P 500 generated a widely discussed death cross in March 2020 and again in early 2022, both of which occurred during established downtrends. However, the golden cross in the S&P 500 during mid-2020 came well after prices had already rebounded sharply from their lows, illustrating the lagging nature of these signals in historical data. Analysts who study these crossovers emphasize that they describe conditions that already existed rather than reliably predicting the next phase of price movement.
Practical Applications: Moving averages are applied across several practical contexts in both retail and institutional settings. Trend-following systematic strategies have historically used moving average crossovers as entry and exit signals, with back-tested results that vary considerably depending on the specific parameters, time period, and asset class tested. Portfolio managers may use the 200-day SMA of a broad market index as a regime filter — historically, periods when the index traded above its 200-day SMA have coincided with more favorable average forward returns than periods when it traded below, though this relationship is not consistent across all historical windows. At the individual security level, many technical analysts treat a rising 50-day or 200-day SMA as context for evaluating shorter-term price patterns. Moving averages are also embedded in algorithmic trading systems to dampen noise in price signals before other rules are applied.