Moving averages explained: SMA vs EMA, 50-day and 200-day, and crossovers

Lesson 4 of 8 · 7 min read · Updated 23 Nov 2026

A moving average is the average closing price over a set number of recent days, recalculated each day. It smooths out daily noise so traders can see the direction of the trend, but it always lags the price.

What a trend is

A trend is the general direction of prices over time. In an uptrend, the chart makes higher highs and higher lows. In a downtrend, it makes lower highs and lower lows. In a sideways or range-bound market, prices move between a rough floor and ceiling without a clear direction.

Daily prices jump around, so the trend can be hard to see. A moving average smooths those jumps out.

Simple moving average (SMA)

A simple moving average adds up the closing prices for a set number of days and divides by that number. Each new day, the oldest price drops out and the newest price comes in, so the average "moves."

Here is a made-up series for Company C:

DayClose (₹)5-day SMA (₹)
1100
2102
3104
4103
5106103.0
6108104.6
7110106.2

On Day 5, the 5-day SMA is (100 + 102 + 104 + 103 + 106) / 5 = 515 / 5 = ₹103. On Day 6, Day 1 drops out and Day 6 comes in: (102 + 104 + 103 + 106 + 108) / 5 = 523 / 5 = ₹104.6. The average rises more slowly than the price, which is what "lag" means.

Exponential moving average (EMA)

An exponential moving average gives more weight to recent prices. Each day it moves part of the way from yesterday's EMA toward today's close. The size of that step is set by a multiplier:

  • Multiplier = 2 / (number of days + 1)
  • Today's EMA = yesterday's EMA + multiplier × (today's close − yesterday's EMA)

For a 9-day EMA, the multiplier is 2 / 10 = 0.2. If yesterday's EMA was ₹100 and today's close is ₹110, today's EMA is 100 + 0.2 × (110 − 100) = ₹102.

FeatureSMAEMA
WeightingEvery day equalRecent days weigh more
Reaction to new pricesSlowerFaster
LagMoreLess
False movesFewerMore

Neither is better in every case. The EMA reacts faster, but it also reacts to short-lived moves that reverse.

Choosing a period

The number of days changes what the average describes. A 10-day or 20-day average follows short-term swings closely. A 50-day or 200-day average moves slowly and shows the broader direction. There is no correct period. Traders who hold for days tend to look at shorter averages, while investors who hold for years tend to look at longer ones.

The 50-day and 200-day averages

Two averages get wide attention:

  • The 50-day moving average covers roughly two and a half months of trading. Traders use it to describe the medium-term trend.
  • The 200-day moving average covers roughly ten months of trading. Many investors use it to describe the long-term trend.

When the price is above a rising 200-day average, people describe the long-term trend as up. When it is below a falling 200-day average, they describe it as down. This is a description of where the price has been relative to its own history.

Crossovers

A crossover is when one line crosses another.

  • Price crossover: the price closes above or below a moving average.
  • Golden cross: the 50-day average crosses above the 200-day average.
  • Death cross: the 50-day average crosses below the 200-day average.

The names sound dramatic, but a crossover only shows that recent prices have risen or fallen relative to older prices. Because both averages lag, a crossover often happens well after the price has already turned. In sideways markets, the lines can cross back and forth many times, producing a series of false signals that cost traders money.

Where to see moving averages

Open any company page on Stocks Glance and choose the Technicals section to see its moving averages alongside RSI, MACD and Bollinger bands. Index pages, such as Nifty 50, show the same for the index.

Frequently asked questions

What is the difference between SMA and EMA?
A simple moving average gives every day equal weight. An exponential moving average gives more weight to recent days, so it reacts faster to new prices but also to short-lived moves.
What is a golden cross?
A golden cross is when the 50-day moving average crosses above the 200-day moving average. It shows that recent prices have risen relative to older ones. It is not a buy signal on its own and often appears after the price has already moved.
Why do traders watch the 200-day moving average?
The 200-day average covers about ten months of trading, so many investors use it to describe the long-term trend. It is widely watched, but it lags the price like every average.

All lessons in Technical analysis

  1. What is technical analysis? Meaning, assumptions and limits for beginners
  2. How to read candlestick charts: open, high, low, close and common patterns
  3. Support and resistance explained: how traders find price levels on a chart
  4. Moving averages explained: SMA vs EMA, 50-day and 200-day, and crossovers
  5. What is RSI? Relative strength index explained for beginners
  6. What is MACD? MACD line, signal line and histogram explained
  7. Volume in stock market: how traders use trading volume to confirm moves
  8. Stop-loss and risk management in trading: position sizing and risk-reward

For education only. Examples use made-up numbers. Nothing here is a recommendation to buy, sell or hold any security. Disclaimer