Moving Averages Explained: SMA vs EMA vs WMA, and Whether the 200-Day Line Is Special
Key takeaway
A 200-day EMA has exactly the same average lag as a 200-day SMA, and the 200-day line is no better a support level than the 190- or 210-day. The three formulas worked on real closes, the lag measured at the big turns since 2000, 78 trend-rule versions in two periods, and a test of whether prices bounce off the “institutional” averages: they closed back above the 200-day 47.3% of the time, against 47.6% for its neighbours.
A moving average is the most quoted line on any chart, and it comes in three common flavours: simple (SMA), exponential (EMA) and weighted (WMA). Traders argue about which is better, and financial television treats the 50-day and 200-day averages as levels where “institutions” step in. Both claims can be measured.
We computed all three types on SPY and the S&P 500, with data to 20 November 2026, and tested them four ways: how late each one is, how often it gives false signals, how a simple trend rule does with each, and whether prices really bounce off the 50- and 200-day lines more than off any other length. The short version:
- An EMA is not faster than an SMA of the same length. The data in a 200-day SMA and a 200-day EMA have the same average age, 99.5 days. After the four big lows since 2000, SPY needed on average 62 sessions to close above either one. The 200-day WMA, whose data average 66 days old, took 32.
- Speed is paid for in false signals. SPY crossed its 200-day SMA 6.3 times a year, its EMA 7.4 times and its WMA 10.1 times. About three crossings in four were reversed within ten sessions.
- In a trend rule, the length mattered more than the type, and no setting kept its rank. The 200-day SMA ranked 7th of 26 lengths in 1995–2026 and 19th in 1962–1993. Across all 78 combinations, the ranking in one period said almost nothing about the other (rank correlation +0.15).
- The “institutional” levels are not special. When a price dipped to its 200-day average during the day, it closed back above it 47.3% of the time; for the 190-, 210- or any other length between 150 and 250 days, 47.6% on average. The 50-day line came last of nine lengths around it.
- A golden cross told you little. In the 38 golden crosses on the S&P 500 since 1951, the index gained 11.1% on average over the next year, against 9.3% for any day, a gap smaller than its own margin of error.
None of this is a signal or a recommendation. It is a description of three formulas and of what they did on past data.
The three formulas, on ten real closes
All three averages take the last n closing prices and weight them. The only difference is the weights.
- Simple moving average (SMA): every one of the last n closes gets the same weight, 1/n. The 200-day SMA is the sum of the last 200 closes divided by 200.
- Weighted moving average (WMA): the newest close gets weight n, the one before n−1, down to 1 for the oldest, and the total is divided by n(n+1)/2. Weights fall in a straight line.
- Exponential moving average (EMA): today’s value is α × today’s close + (1 − α) × yesterday’s EMA, with α = 2/(n+1). Weights fall geometrically, and in principle every past close keeps a small weight forever.
Here are SPY’s last ten closes, from 9 to 20 November 2026, and the three 10-day averages on the last day:
| SPY close | 9 Nov | 10 Nov | 11 Nov | 12 Nov | 13 Nov | 16 Nov | 17 Nov | 18 Nov | 19 Nov | 20 Nov |
|---|---|---|---|---|---|---|---|---|---|---|
| Price | 752.69 | 749.92 | 759.81 | 757.12 | 754.37 | 739.95 | 732.44 | 730.20 | 715.87 | 689.81 |
| SMA weight | 10% | 10% | 10% | 10% | 10% | 10% | 10% | 10% | 10% | 10% |
| WMA weight | 1.8% | 3.6% | 5.5% | 7.3% | 9.1% | 10.9% | 12.7% | 14.5% | 16.4% | 18.2% |
| EMA weight | 3.0% | 3.7% | 4.5% | 5.5% | 6.7% | 8.1% | 10.0% | 12.2% | 14.9% | 18.2% |
On 20 November the 10-day SMA was 738.22, the WMA 728.76 and the EMA 730.66. The close was 689.81, after a fall of 3.6% that day. The SMA, which gives that day only 10% of the weight, sits furthest from it; the WMA and the EMA, which both give it 18.2%, sit closer. The EMA’s ten weights add up to only 87%: the other 13% belongs to closes before 9 November, which is why an EMA of a given length always carries some memory beyond it. (In the EMA row, the close k days back has weight α(1−α)k.)
Two pieces of arithmetic explain most of what follows:
| Length n | Weight on today’s close: SMA / WMA / EMA | Share of weight in the last 20 days: SMA / WMA / EMA | Average age of the data (lag): SMA / WMA / EMA |
|---|---|---|---|
| 20 days | 5.0% / 9.5% / 9.5% | 100% / 100% / 86.5% | 9.5 / 6.3 / 9.5 days |
| 50 days | 2.0% / 3.9% / 3.9% | 40% / 63.5% / 55.1% | 24.5 / 16.3 / 24.5 days |
| 200 days | 0.5% / 1.0% / 1.0% | 10% / 19.0% / 18.1% | 99.5 / 66.3 / 99.5 days |
First, the WMA and the EMA give today’s close exactly the same weight, 2/(n+1), twice the SMA’s. Second, the SMA and the EMA of the same length have exactly the same average lag, (n−1)/2 days. The EMA puts more weight on recent days, but it pays for it with a tail of old data: 13.5% of a 200-day EMA’s weight is on closes more than 200 days old, whatever the length. The two effects cancel. Only the WMA, with no tail, is genuinely less lagged: (n−1)/3 days. A WMA of about 300 days has the same average lag as a 200-day SMA.
“Average lag” is exact for a price rising in a straight line. Real prices turn, and the front-loaded EMA does react sooner to a sharp turn, then catches up more slowly. That is what the next section measures.
How late is each one? The big turns since 2000

For each of the last four big tops and lows of SPY, we counted the sessions until the close first crossed each average, and how far the price had already moved by then.
| Average of four events, SPY | SMA | EMA | WMA |
|---|---|---|---|
| After a top: sessions to a close below the 50-day | 11.2 (price −5.8%) | 8.8 (−4.9%) | 7.2 (−4.4%) |
| After a top: sessions to a close below the 200-day | 14.0 (−9.4%) | 14.8 (−10.0%) | 13.5 (−8.9%) |
| After a low: sessions to a close above the 50-day | 11.0 (+18.2%) | 8.8 (+16.5%) | 7.5 (+14.4%) |
| After a low: sessions to a close above the 200-day | 61.8 (+25.3%) | 61.5 (+25.5%) | 32.2 (+23.4%) |
Tops: March 2000, October 2007, February 2020, January 2022. Lows: October 2002, March 2009, March 2020, October 2022.
Three things stand out. At the 200-day length, the SMA and the EMA were practically identical, as the arithmetic predicts. The WMA halved the wait after a low, from about 62 sessions to 32, but bought in only about two points cheaper. And at tops the type hardly mattered: these falls were fast enough to cross every 200-day line within 23 sessions, after about 9–10% was already gone. Every type of average, at every length, can only confirm a turn that has already happened.
The cost of speed: false signals
A line that follows the price more closely is crossed more often. From 1995 to November 2026:
| SPY, 1995 – 20 Nov 2026 | SMA | EMA | WMA |
|---|---|---|---|
| 20-day: crossings a year | 29.7 | 32.2 | 37.6 |
| 50-day | 17.4 | 18.3 | 22.1 |
| 100-day | 10.7 | 11.4 | 14.8 |
| 200-day | 6.3 | 7.4 | 10.1 |
| Crossings reversed within 10 sessions (200-day) | 72% | 77% | 72% |
Between 67% and 79% of crossings, depending on type and length, were undone within ten sessions. Most crossings of a moving average are noise; a faster line simply produces more of them. That is the trade-off of every smoothing filter, and no choice of weights escapes it.
Does the type matter for a trend rule?
The standard use of a long average is the trend rule we tested in mean reversion vs trend following: hold the index while it closes above its average, hold Treasury bills otherwise. We ran it with every type and every length from 50 to 300 days in steps of 10, 78 versions in all, trading at the close after the signal and paying 2 basis points per switch.
| SPY, 1995 – 20 Nov 2026 | SMA | EMA | WMA |
|---|---|---|---|
| 50-day: return a year / Sharpe / worst fall | 5.95% / 0.35 / −33.8% | 5.95% / 0.35 / −48.0% | 4.35% / 0.22 / −47.8% |
| 100-day | 7.54% / 0.47 / −48.0% | 9.06% / 0.59 / −38.6% | 6.77% / 0.41 / −43.7% |
| 200-day | 9.57% / 0.61 / −22.4% | 9.08% / 0.56 / −31.1% | 8.78% / 0.56 / −32.1% |
| 300-day | 10.44% / 0.64 / −20.7% | 9.82% / 0.59 / −28.8% | 9.35% / 0.59 / −28.0% |
| Buy and hold | 10.81% / 0.51 / −55.2% | ||
None of the 78 versions beat holding SPY on return; 55 had a higher Sharpe ratio, mostly by avoiding part of 2000–02 and 2008. Short averages did badly with every type: they trade too often and get whipsawed. Within the long lengths (150 to 300 days), the three types at the same length were on average 0.8 points a year apart, while a single type moved by 1.0 to 1.7 points across lengths.
Comparing at equal lag rather than equal length removes most of what difference there is: the 200-day SMA earned 9.57%, the 200-day EMA 9.08% and the 300-day WMA, which has the same average lag, 9.35%.
The more important result comes from running the same 78 versions on the S&P 500 from 1962 to 1993, before SPY existed, using the daily index plus the monthly dividend yield from Robert Shiller’s data.

The two panels do not look alike. In 1962–1993 the best version was a 120-day EMA (Sharpe 0.52); in 1995–2026 the 120-day EMA ranked 52nd of 78 and the long SMAs led. The 200-day SMA was 7th of 26 lengths by Sharpe ratio in the recent period and 19th in the earlier one. Across all 78 versions, the rank correlation between the two periods was +0.15, close to no relation at all. In the earlier period, when Treasury bills yielded 6.4% on average, 48 of the 78 versions beat buy-and-hold on return; in the recent one, none did.
That is the practical answer to “SMA or EMA?”: the question is too fine for the data. The differences between types are smaller than the differences between periods, and the best setting found on one stretch of history did not stay best on the next. Choosing the type and length that looked best in a backtest is the overfitting we described in how to read a backtest.
Are the 50- and 200-day averages “institutional” levels?
The claim is that large investors watch the 50- and 200-day lines, so their orders cluster there and the price tends to bounce. If that were true, a dip to the 200-day average should bounce more often than a dip to the 190- or 210-day average, which nobody quotes. That can be tested.
We took every day on which the price had closed above a simple moving average the day before and then traded down to it or through it during the day, and asked three questions: did it close back above the line that day, what happened over the next 20 sessions, and was trading volume unusually high? We pooled SPY, QQQ, IWM and ten large, long-listed stocks (Apple, Microsoft, Amazon, JPMorgan, Exxon Mobil, Johnson & Johnson, Procter & Gamble, Coca-Cola, Walmart and IBM) from 1995 to November 2026, and repeated it on the S&P 500 index from 1962 to 1993.

| Intraday touch from above | Touches | Closed back above | Next 20 sessions | Volume vs normal |
|---|---|---|---|---|
| 200-day SMA, 13 series, 1995–2026 | 3,137 | 47.3% | +1.16% | 1.05× |
| Ten other lengths, 150–250 days (average) | 2,700–3,900 each | 47.6% | +1.18% | 1.03× |
| 50-day SMA, 13 series, 1995–2026 | 7,004 | 47.8% | +1.17% | 0.98× |
| Eight other lengths, 30–70 days (average) | 6,000–9,600 each | 48.9% | +1.25% | 0.98× |
| Any day above the 200-day SMA (baseline) | — | — | +1.22% | 0.91× |
The 200-day line ranked 7th of 11 lengths on the bounce rate and 7th on the 20-day return. The 50-day line ranked last of 9 on the bounce rate. In both cases the line closed back above its average less than half the time, roughly a coin toss, and the next 20 sessions were no better than an ordinary day above the average. On the S&P 500 from 1962 to 1993 the result was the same: the 200-day line ranked 8th of 11, and the 50-day ranked 2nd of 9, within one standard error of its neighbours.
The only thing the 200-day line led on was volume: on touch days it traded at 1.05 times its normal volume, against 1.03 to 1.04 for the neighbouring lengths. If more people do trade at the line, the extra activity is a few percent of a normal day, and it did not show up in the price.
This is not the same as saying that support and resistance never exist. Carol Osler found that currency stop-loss and take-profit orders cluster at round numbers, and that exchange rates behave differently near them. A round number is fixed and every trader can see the same one. A moving average is not: it moves every day and its value depends on which data and which adjustments you use. SPY’s 200-day SMA closed 20 November 2026 at 730.29 on dividend-adjusted prices; on unadjusted prices it was 732.76. A level that different screens draw in different places is a poor focal point for orders.
Golden cross and death cross
A golden cross is the 50-day SMA rising above the 200-day SMA; a death cross is the reverse. They are the most reported moving-average events. On the S&P 500 from 1951 to 20 November 2026 there were 38 of each, about one cross a year.
| S&P 500, price only, 1951 – Nov 2026 | Next month | Next 3 months | Next 6 months | Next 12 months |
|---|---|---|---|---|
| After a golden cross (38) | +1.27%, 61% up | +4.11%, 76% up | +6.84%, 82% up | +11.13%, 82% up |
| After a death cross (38) | −0.09%, 47% up | +2.74%, 58% up | +4.81%, 55% up | +6.57%, 71% up |
| Any day | +0.74%, 62% up | +2.23%, 67% up | +4.54%, 70% up | +9.26%, 74% up |
The direction is the expected one, and the size is small next to the noise. With 38 events, the standard error of the 12-month average is 2.4 points after a golden cross and 2.9 after a death cross, so neither is clearly different from an ordinary day’s 9.3%. And 17 of the 76 crosses were reversed within 90 calendar days.
The crosses are also late, because they need the slower of two averages to turn. After the four lows since 2002, the golden cross came 74 to 149 sessions later, with the index already 17% to 41% above the low. After the four tops since 2000, the death cross came 28 to 152 sessions later, at falls of 5% to 22%. The last two were a death cross on 14 April 2025 and a golden cross on 1 July 2025.
For the record, on 20 November 2026 the S&P 500 closed at 6,910.39, 6.0% below its 200-day average; its 50-day average was still 3.8% above the 200-day, so there has been no death cross. The sell-off in AI stocks covers how the index got there. Nothing in this article says what it does next.
What the evidence supports, and what it does not
It supports:
- Moving averages are smoothing filters, and every one trades lag for noise. A shorter or more front-loaded line turns sooner and is crossed more often by accident.
- An EMA of a given length has the same average lag as an SMA of that length. If you want a less lagged line, a shorter length or a WMA does it; switching from SMA to EMA mostly does not.
- In a long-average trend rule, the type made less difference than the length, and both made less difference than the period tested.
- The 50- and 200-day lines did not behave like support. Prices dipping to them bounced no more often than prices dipping to lengths nobody quotes.
It does not support:
- That any type is better in general. The ranking changed between 1962–1993 and 1995–2026.
- That 200 is a natural or optimal length. It was the 7th-best length in one period and the 19th in the other.
- That a golden or death cross forecasts the next year. The averages after them were within one standard error of an ordinary day.
- Anything about intraday trading, futures, currencies or small stocks, which we did not test. Levels may behave differently where fewer people watch the same chart.
If you use moving averages on a chart, our AW Institutional Moving Averages indicator plots four of them with a choice of type. Before trusting any rule built on them, run it through the checks in how to test a technical indicator; the vectorbt tutorial shows the 200-day rule end to end in Python.
Frequently asked questions
What is the difference between SMA, EMA and WMA?
They weight the last n closes differently. An SMA weights them equally; a WMA weights them in a straight line from n for the newest down to 1; an EMA weights them geometrically with α = 2/(n+1) and keeps a small weight on older data. For a 200-day average, today’s close gets 0.5% of the weight in an SMA and 1.0% in both a WMA and an EMA.
Is the EMA faster than the SMA?
Not on average. An SMA and an EMA of the same length both have an average lag of (n−1)/2 days, 99.5 days for a 200-day line. The EMA reacts sooner to a sharp turn and then catches up more slowly. After the four big SPY lows since 2002, the close needed 61.8 sessions to cross above the 200-day SMA and 61.5 to cross the 200-day EMA. The 200-day WMA, with an average lag of 66.3 days, took 32.2.
Which moving average is best for trading?
In our tests, none consistently. Holding SPY above its average and Treasury bills below it, the best of 78 combinations from 1995 to 2026 was a long SMA; from 1962 to 1993 it was a 120-day EMA. The rank correlation of the 78 results between the two periods was +0.15. None beat buy-and-hold SPY on return in 1995–2026.
Why do traders watch the 50-day and 200-day moving averages?
Mainly convention: they are about a fifth and four-fifths of a trading year, and they are the default on most charting platforms. In our test of 13 series from 1995 to 2026, a dip to the 200-day SMA closed back above it 47.3% of the time, against 47.6% for lengths from 150 to 250 days; the 50-day line ranked last of nine lengths around it.
Does a golden cross mean the market will go up?
Not reliably. After the 38 golden crosses on the S&P 500 since 1951, the index rose 11.1% on average over the next 12 months, against 9.3% for any day, a gap smaller than the 2.4-point standard error. 17 of the 76 golden and death crosses were reversed within 90 days.
How is a moving average calculated?
For a 10-day SMA, add the last ten closes and divide by ten. For a 10-day WMA, multiply the newest close by 10, the one before by 9 and so on, add them and divide by 55. For a 10-day EMA, take 18.2% (2/11) of today’s close plus 81.8% of yesterday’s EMA. On SPY’s closes from 9 to 20 November 2026 these gave 738.22, 728.76 and 730.66.
How we calculated this
- Data: daily open, high, low, close and volume from Yahoo Finance, dividend-adjusted, for SPY, QQQ, IWM and the ten stocks named above; the S&P 500 price index (^GSPC) from 1949; the 13-week Treasury bill yield (^IRX). Closes to 20 November 2026, frozen to CSV with a checksum. For 1962–1993 the S&P 500’s daily price return is increased by Robert Shiller’s monthly dividend yield divided by 252.
- Averages: SMA and WMA over exactly n closes; EMA with α = 2/(n+1), started from the SMA of the first n closes. All on closing prices.
- Lag: sessions from the dated top or low of SPY to the first close on the other side of each average, and the price change in between.
- Trend rule: long the index when the close is above the average, T-bills otherwise; the position decided at close t is traded at close t+1; 2 basis points per switch; cash earns the T-bill yield divided by 252. SPY from January 1995, so that every length up to 300 days is defined.
- Touch test: a touch is a day whose previous close was above the SMA and whose intraday low was at or below it. “Closed back above” means the close that day was at or above the SMA. Volume is that day’s volume over its previous 50-day average (median across touches). Results are pooled by number of touches.
- Crosses: the 50-day SMA crossing the 200-day SMA of the S&P 500 price index; forward returns over 21, 63, 126 and 252 sessions, price only.
- The calculation script and its output, kept with the article, reproduce every figure.
Sources
- Brock, W., Lakonishok, J. and LeBaron, B., “Simple Technical Trading Rules and the Stochastic Properties of Stock Returns”, Journal of Finance, 47(5), 1992.
- Sullivan, R., Timmermann, A. and White, H., “Data-Snooping, Technical Trading Rule Performance, and the Bootstrap”, Journal of Finance, 54(5), 1999.
- Osler, C. L., “Currency Orders and Exchange Rate Dynamics: An Explanation for the Predictive Success of Technical Analysis”, Journal of Finance, 58(5), 2003.
- Zakamulin, V., Market Timing with Moving Averages: The Anatomy and Performance of Trading Rules, Palgrave Macmillan, 2017.
- Shiller, R. J., “U.S. Stock Markets 1871–Present and CAPE Ratio” (ie_data.xls), dividend data to October 2026.
- Prices: Yahoo Finance via yfinance, retrieved 23 November 2026.
Related reading
- The 10-month moving average on the S&P 500 — 92 years of the trend rule, bear market by bear market.
- Mean reversion vs trend following — the 200-day rule against a 2-day RSI rule on the same data.
- The TRIX indicator explained — an EMA smoothed three times, and what that does to the lag.
- How to test a technical indicator before trusting it — the benchmarks any moving-average rule should beat.
- How to read a backtest without fooling yourself — why the best length in a backtest is rarely the best length next.
This article is general information, not personalised investment advice. It does not take into account the financial situation, objectives or risk tolerance of any individual reader, and the same text is distributed to all readers. The rules tested are illustrations, not trading recommendations. Past performance, real or simulated, does not indicate future results, and capital is at risk.



