DV
Dividend Vision

Technical Analysis

Moving Averages: SMA, EMA, 50-Day and 200-Day

A moving average is the average closing price over a set number of recent sessions, recalculated each day. It smooths daily noise to show the trend. Here is how simple and exponential averages are calculated, what the 50- and 200-day lines and golden and death crosses mean, and why distributions pull an income fund's price below its average.

🟢 Beginner 6 min read Updated November 24, 2026

Definition

A moving average is the average closing price over the last N trading sessions, recalculated each day so the line "moves" along the chart. Because it averages many days, it filters out the daily wiggles and shows which way the price has been heading.

There are two common kinds:

  • A simple moving average (SMA) adds up the last N closes and divides by N. Each day in the window counts equally, and the oldest day drops out as a new one arrives.
  • An exponential moving average (EMA) gives the newest close the most weight and lets older closes fade out gradually. It turns faster than an SMA of the same length.

The window length sets the character of the line. Common choices are the 20-day (about a month of trading, a short-term trend), the 50-day (about a quarter, an intermediate trend) and the 200-day (about ten months, the long-term trend most often quoted in market commentary).

How It's Calculated

SMA(N) = (Close[today] + Close[today−1] + … + Close[today−N+1]) / N

EMA(N) = Close[today] × k + EMA[yesterday] × (1 − k)
         where k = 2 / (N + 1)

  The first EMA value is usually seeded with the SMA of the first N days.
  A 5-day EMA uses k = 2/6 = 0.333; a 50-day EMA uses k = 2/51 ≈ 0.039.

Why It Matters

Moving averages are the most widely used trend tool, and several other indicators are built from them: MACD is the gap between two EMAs, and the middle line of Bollinger Bands is a 20-day SMA.

The common readings:

  • Price above a rising 200-day average is the textbook definition of a long-term uptrend. Price below a falling 200-day average is a downtrend.
  • The slope of the average matters as much as which side of it the price sits on. A flat average means no trend.
  • Moving averages as support. In an uptrend, pullbacks often stall near the 50-day average, because many traders watch it. See support and resistance.
  • Golden cross and death cross. A golden cross is the 50-day average crossing above the 200-day; a death cross is the 50-day crossing below. They are popular headlines, but because both averages lag, the cross tends to arrive well after the turn it describes.

Dividend Vision's Dashboard uses this logic directly. The Market Trend gauge reads SPY's close against its 20-, 50- and 200-day simple moving averages. Risk-On means the averages are stacked 20 above 50 above 200 with SPY above the 20-day; Pullback means the stack is intact but SPY has dipped to between the 20- and 50-day; Caution means SPY is above its 200-day but the stack has broken; Risk-Off means SPY is below its 200-day. It is a trend gauge, not a buy or sell signal.

Example

Here are ten closing prices and their 5-day SMA and 5-day EMA (the EMA seeded with the SMA on day 5):

DayClose5-day SMA5-day EMA
1$50.00
2$50.60
3$51.10
4$50.80
5$51.50$50.80$50.80
6$52.20$51.24$51.27
7$51.90$51.50$51.48
8$52.60$51.80$51.85
9$53.10$52.26$52.27
10$52.70$52.50$52.41

Two things to notice. Both averages sit below the price through most of the run, because they are still carrying older, lower closes: that is the lag. And on day 10, when the price dips from $53.10 to $52.70, the EMA reacts (it rises less) while the SMA keeps climbing, because the SMA dropped the $51.50 from day 5 and added $52.70. The EMA turns sooner; the SMA is steadier.

The income-fund catch. Picture a fund whose total return is exactly flat and which pays 1% of its price each week. Its share price falls about 1% on each ex-dividend date and the cash goes to shareholders. After a year of that, the price sits roughly 19% below its own 200-day average and about 5% below its 50-day, purely from the payouts. A trend rule reads that as a deep downtrend in a fund that lost its holders nothing. A fund paying 1% monthly sits about 5% below its 200-day under the same assumptions. See distributions and price charts for how to read around this, chiefly by applying the average to a total-return series instead.

Common Mistakes

  • Expecting a crossover to catch the turn. By construction an average lags. A 200-day SMA reflects prices from up to ten months ago.
  • Applying the 200-day rule to a weekly or monthly payer's raw price. Distributions pull the price below its average with no loss to the holder. Compare total return first.
  • Picking whichever window fits the story. Decide on the window before you look, or a 20-, 50-, 100- and 200-day average will between them confirm almost anything.
  • Ignoring the slope. Price crossing a flat average happens constantly and means little.
  • Assuming the cross is a forecast. Golden and death crosses describe a trend change that has already happened in the price.

FAQ

What is the difference between an SMA and an EMA?

An SMA weights each day in its window equally. An EMA weights the newest day most and older days progressively less, so it reacts faster to a new move and also gets faked out by short swings more often.

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

Its current price is higher than its average closing price over roughly the past ten months. Combined with a rising average, that is the most common definition of a long-term uptrend.

What is a golden cross?

The 50-day moving average crossing above the 200-day. A death cross is the reverse. Both are lagging signals: they confirm a change in trend some time after the price turned.

Why is my high-yield ETF below its 200-day moving average when total return is positive?

Because its price drops by roughly the distribution on each ex-dividend date, and the cash is in your account rather than in the share price. Frequent, large payouts can keep the price below its average even when reinvested total return is flat or rising.

Which moving average should I use?

For long-term context, the 200-day SMA is the most widely quoted. The 50-day suits a trend of a few months. Use one window consistently rather than switching between several.

Related metrics & articles

Explore this topic

Apply this concept: research candidates, then run your own numbers.

Explore related funds

Funds discussed in this article, plus a pre-filtered screen and the S&P500 tag hub for finding more like them.

Continue learning

Next: RSI: The Relative Strength Index Explained

The Relative Strength Index (RSI) compares the size of recent gains with recent losses on a 0 to 100 scale. Readings above 70 are called overbought and below 30 oversold. Here is the formula, a worked 14-day example, how to read divergences, and why an ex-dividend drop shows up as selling.

Continue to the next lesson
📊 Model Portfolios

See this lesson in a real portfolio

Browse all model portfolios

Was this lesson helpful?

Put it into practice

Dividend Vision turns these concepts into numbers for your own holdings.