Browse the library

Technical analysis · Trend and structure

Moving averages and trend: filters, the 50/200 and golden crosses

How moving averages define a trend, why the 50- and 200-day lines matter, and what golden and death crosses did on real 2023–2026 data, whipsaws included.

On this page
  1. How a moving average describes a trend
  2. Why the 50-day and 200-day became the standard
  3. Golden crosses and death crosses
  4. Whipsaws: when the trend filter flips back and forth
  5. What the research says
  6. Using moving averages to read trends, step by step
  7. Moving-average trend tools compared
  8. How Finabase shows moving averages and trend
  9. Frequently asked questions
  10. Summary

A moving average smooths price into a single line, and the direction of that line is the simplest definition of a trend there is. If the 200-day average is rising and price is above it, most chart readers will call the stock an uptrend without drawing anything else. That simplicity is why moving averages are on nearly every chart, in nearly every screener and in a good share of the world's systematic trading rules.

This guide is about using moving averages to read and filter trends: what the slope and the price's position tell you, why the 50-day and 200-day lines became the standard pair, and what the famous golden and death crosses actually did on real data from 2023 to 2026. The arithmetic of the averages themselves is covered in the Simple moving average (SMA): formula, crossovers and limits and Exponential moving average (EMA): formula and how to use it guides.

How a moving average describes a trend

A moving average answers one question: what has the typical price been over the last n periods? Three readings follow from it.

1. The slope. A rising average means recent prices are higher than the prices dropping out of the window. A falling one means the opposite. The slope of a long average is the cleanest single description of the long-term trend.

2. Price relative to the average. A close above the average means the latest price is higher than the recent typical price, a close below means it is lower. Many traders combine the two: price above a rising average is an uptrend, price below a falling average is a downtrend, and the mixed cases are transitions.

3. The order of several averages. When a short average sits above a medium one, which sits above a long one, and all three rise, the trend is aligned on every timescale. When the order is reversed, the downtrend is aligned. Tangled averages that cross back and forth mean there is no clear trend.

Price and average Reading
Above a rising average Uptrend
Below a rising average Pullback within an uptrend, or a transition
Below a falling average Downtrend
Above a falling average Rally within a downtrend, or a transition
Crossing a flat average back and forth No trend; the average is uninformative

Why averages lag, and by how much

A simple moving average of n periods is centred on the middle of its window, so it reflects prices from about (n − 1) ÷ 2 periods ago. A 50-day average lags price by about 25 sessions and a 200-day by about 100, close to five months. Exponential averages weight recent prices more and lag less, at the cost of reacting to more noise. No average can turn before price does, so every signal it gives is a confirmation of something that already started.

Why the 50-day and 200-day became the standard

There is nothing special in the numbers 50 and 200. They became standard because they are round, because 200 trading days is close to a calendar year of sessions and 50 close to a quarter, and because financial media and charting platforms adopted them decades ago. Once enough people watch the same lines, the lines matter for the reason any watched level does: orders cluster around them (see Support and resistance: why price levels form and how to use them).

On weekly charts the equivalents are the 10-week and 40-week averages. Ten weeks is 50 sessions and 40 weeks is 200, so a weekly chart with those two lines shows almost the same picture as a daily chart with the 50 and the 200, with much less day-to-day noise. On monthly charts, the 10-month average plays the 200-day role; Mebane Faber's widely cited 2007 paper used it as a rule for moving between stocks and cash.

Golden crosses and death crosses

A golden cross is the 50-day average crossing above the 200-day average. A death cross is the 50-day crossing below it. Both are headlines whenever a major index makes one, and both are slow by construction: the 50-day has to climb (or fall) through a 200-day that barely moves, which takes weeks after price has already turned.

SPY on a weekly chart, 2021 to 2026

SPY weekly closes, 2021-10-25 to 2026-10-29, with 10- and 40-week SMAs $400 $600 $800 Golden cross Jan 2023 Death cross Apr 2025 Golden cross Jun 2025 Weekly close SMA (10 weeks) SMA (40 weeks) 2022 2023 2024 2025 2026
SPY weekly closes, October 25, 2021 to October 29, 2026, with SMA (10) and SMA (40) computed by Finabase. The 40-week line begins once 40 weeks of data exist, in mid-2022. Finabase chart data.

The weekly chart shows the three crosses since the 40-week line starts:

  • Golden cross, week of January 23, 2023. SPY closed that week at $405.68, about 16.5% above its low of the prior 60 weeks. Twenty-six weeks later it was 12.6% higher.
  • Death cross, week of April 7, 2025. This came in the week of the April 2025 sell-off low. SPY closed the week at $533.94. Thirteen weeks later it was 16.8% higher, and 26 weeks later 22.3% higher. Anyone treating the cross as a sell signal sold close to the bottom.
  • Golden cross, week of June 23, 2025. SPY closed the week at $614.91, already about 28% above the April low. Twenty-six weeks later it was 12.3% higher.

Two of the three were followed by gains in line with a rising market, and one was a costly false alarm. That pattern is typical of a strong bull market: the crosses arrive late, and the death crosses come after much of the damage is done.

Fifteen stocks and ETFs on daily charts

To see more than one chart, we looked at daily 50/200 crosses for 15 large US stocks and ETFs (SPY, QQQ, DIA, IWM, IYT, AAPL, MSFT, NVDA, TSLA, AMZN, META, GOOGL, AMD, JPM and XOM) from August 19, 2025, the first day our two-year daily data supports a 200-day average, to October 29, 2026. There were 14 crosses, seven of each kind. Ten had 60 sessions of follow-up.

Cross Stock and date Price vs prior 60-session extreme Return 60 sessions later
Golden XOM, 2025-08-22 10.0% above the low +5.8%
Golden AAPL, 2025-09-15 21.3% above the low +17.1%
Golden TSLA, 2025-09-16 46.0% above the low +7.1%
Golden AMZN, 2026-05-06 40.3% above the low +3.3%
Golden JPM, 2026-06-12 13.8% above the low +10.6%
Death META, 2025-12-10 17.8% below the high +0.6%
Death MSFT, 2026-01-21 19.8% below the high −4.8%
Death AMZN, 2026-03-11 14.6% below the high +15.7%
Death JPM, 2026-03-25 12.4% below the high +12.2%
Death TSLA, 2026-04-09 23.9% below the high +16.6%

What the table shows:

  1. The crosses were late. Golden crosses came on average 31% above the prior 60-session low (all seven, including the two too recent to score). Death crosses came on average about 18% below the prior 60-session high. Most of each move had already happened.
  2. Death crosses did not predict declines here. Four of the five with follow-up were followed by gains, three of them by more than 12%. Only MSFT's January 2026 cross was followed by a further fall.
  3. Golden crosses were followed by gains, and so was almost everything. All five rose over the next 60 sessions, by 8.8% on average. Over the same period SPY rose in 88% of all 60-session windows, by 3.8% on average. In a rising market, "bullish" signals look good whether or not they add anything.

Whipsaws: when the trend filter flips back and forth

The weakness of every moving-average rule is the whipsaw: price crosses the average, reverses, crosses back, and the rule pays a small loss each time. It happens most around flat averages in sideways markets.

Tesla (TSLA) daily closes, 2025-08-19 to 2026-10-29, with 50- and 200-day SMAs $300 $400 $500 Golden cross Sep 16, 2025 Death cross Apr 9, 2026 18 closes across the 200-day Close SMA (50) SMA (200) Sep Oct Nov Jan 2026 Feb Apr May Jun Jul Aug Sep Oct
TSLA daily closes, August 19, 2025 to October 29, 2026, with SMA (50) and SMA (200) computed by Finabase. Dots mark every close on the other side of the 200-day average from the day before. Finabase chart data.

Over 302 sessions from August 2025 to October 2026, Tesla's close crossed its 200-day average 18 times, and spent only 56% of sessions above it. Over the same sessions SPY crossed its 200-day twice and closed above it 96% of the time. A rule of "own it above the 200-day, sell below" would have been almost costless on SPY and a series of small losses on TSLA, whose volatility kept dragging it across a line that was going nowhere for months.

Common ways to reduce whipsaws, each with a cost:

  • A band. Act only on a close some distance beyond the average, say 2% or a multiple of the Average True Range (ATR): volatility, stops and position size. Fewer false signals, later real ones.
  • Time confirmation. Require two or three closes beyond the average, or use weekly closes instead of daily ones.
  • Slope confirmation. Act on price crossing the average only when the average itself is sloping in the same direction.
  • Longer averages. Fewer crosses, more lag.

The Average Directional Index (ADX): measuring trend strength is another option: it measures trend strength directly, and a low reading warns that moving-average signals are likely to whipsaw.

What the research says

Academic tests of moving-average rules go back decades. Brock, Lakonishok and LeBaron (1992) tested simple rules, including price against a 50-day and 200-day average, on the Dow Jones Industrial Average from 1897 to 1986 and found that returns after buy signals were higher than after sell signals. Sullivan, Timmermann and White (1999) then showed how much of that kind of result can come from data snooping, testing many rules on one history, and found that the best rules' advantage did not hold up in the following decade. Faber's 2007 paper argued that a 10-month average's main benefit is lower volatility and smaller drawdowns, not higher returns.

The fair summary is that moving-average trend filters have mostly helped by keeping investors out of the worst parts of long bear markets, and have mostly cost money through whipsaws and late re-entry the rest of the time. Whether the trade is worth it depends on the market, the costs and the investor.

  1. Pick the horizon. 20-day for short swings, 50-day for the intermediate trend, 200-day (or 40-week) for the long-term trend. Match the average to the trend you actually trade.
  2. Read the slope first. Rising, falling or flat. A flat average says "no trend," and crosses of it carry little information.
  3. Then the position. Price above or below, and how far. A stock 30% above its 200-day is in an uptrend and also stretched; mean reversion becomes more likely, not certain.
  4. Then the alignment. Are the short, medium and long averages stacked in order?
  5. Use the average as a reference, not a wall. Pullbacks in strong trends often stop near the 20-day or 50-day average, which is why traders watch them as dynamic support. They also slice through them regularly.
  6. Write the rule down and test it. On a range of symbols and years, including bear markets, with costs. Finabase's backtester, which runs an indicator strategy over a year of real prices, is a place to start; a year is not a full market cycle.

Moving-average trend tools compared

Tool What it shows Typical use Main weakness
Price vs 200-day SMA Long-term trend Regime filter Whipsaws near a flat average
50/200 golden and death cross Change in long-term trend Slow confirmation Arrives months late
20/50 EMA cross Intermediate trend Swing trading Many false signals
Moving-average ribbon (many averages) Alignment across timescales Spotting trend strength Visually busy
Trendline Slope of swing lows or highs Early warning of a slowdown Subjective anchors

How Finabase shows moving averages and trend

On a Finabase chart, the default layout already carries two simple moving averages chosen for the range you are viewing, 50 and 200 on one-year, two-year and year-to-date charts. You can add your own SMA or EMA studies with any period; the two-year SPY chart with the 50 and 200 is a good place to start. Finabase computes the averages with TA-Lib, the same library used for every indicator on the chart.

The technical gauge on each symbol page checks the latest close against a set of simple and exponential averages from 5 to 200 periods and counts a close above each one as bullish and below it as bearish, a quick read of how aligned the trend is across timescales. The Scanner lists the stocks whose close has just crossed one of those averages, with the date the signal fired, and the backtester lets you test a moving-average rule before trusting it.

Frequently asked questions

What does it mean when a stock is above its 200-day moving average?

It means today's price is higher than the average close of roughly the past year. Combined with a rising 200-day line, it is the most common definition of a long-term uptrend. It says nothing about whether the trend will continue.

Is a golden cross a buy signal?

It is a confirmation that the intermediate trend has turned up relative to the long-term trend, and it usually arrives well after the low. In our sample golden crosses came, on average, 31% above the prior 60-session low. Whether acting on it helps depends on the market; test it on many symbols and years before relying on it.

Is a death cross a reliable sell signal?

Not on its own. In our 2025–2026 sample, four of five death crosses with 60 sessions of follow-up were followed by higher prices, and SPY's weekly death cross arrived the week of the April 2025 low. Death crosses do occur early in some long bear markets, which is why trend followers use them, accepting many false alarms.

Should I use a simple or an exponential moving average?

An exponential average reacts faster because it weights recent prices more, so it gives earlier signals and more false ones. A simple average is steadier and is what most published 50-day and 200-day figures use. Neither is better in general; the Exponential moving average (EMA): formula and how to use it guide compares them.

There is no best one. The 200-day (or 40-week) is the standard long-term filter, the 50-day the standard intermediate one, and the 20-day a common short-term one. Choose the period that matches the length of the trends you care about, and expect a longer period to be steadier and later.

Summary

Moving averages turn a noisy price series into a trend you can read at a glance: the slope says which way, the position of price says how the latest move compares, and the order of several averages says whether timescales agree. The 50-day and 200-day became the standard because everyone watches them. Their crossovers are slow confirmations rather than forecasts, as SPY's weekly death cross in the week of the April 2025 low and our 15-stock sample both showed. Use averages as filters and references, expect whipsaws around flat lines, and test any rule across full market cycles before trusting it.

Sources and further reading

  1. William Brock, Josef Lakonishok and Blake LeBaron, “Simple Technical Trading Rules and the Stochastic Properties of Stock Returns,” Journal of Finance 47(5), 1992
  2. Ryan Sullivan, Allan Timmermann and Halbert White, “Data-Snooping, Technical Trading Rule Performance, and the Bootstrap,” Journal of Finance 54(5), 1999
  3. Mebane T. Faber, “A Quantitative Approach to Tactical Asset Allocation,” Journal of Wealth Management (2007) — the 10-month moving-average rule
  4. John J. Murphy, Technical Analysis of the Financial Markets (New York Institute of Finance, 1999) — moving averages as trend-following tools
  5. Finabase chart data — SPY weekly bars 2021-10-25 to 2026-10-29 with SMA (10) and SMA (40); daily bars for 15 US stocks and ETFs, 2024-10-30 to 2026-10-29, with SMA (50) and SMA (200) computed by Finabase