TrendLagging trend-smoothing indicatorSMA

Simple Moving Average SMA

The plain average — every bar in the window counts equally.

Quick answer: A simple moving average is the arithmetic mean of the last N closing prices, giving every bar in the window equal weight, which produces the smoothest but slowest of the common trend averages.

In simple words

The SMA is the most straightforward moving average: add up the closing prices of the last N bars and divide by N. Every bar counts the same, whether it happened today or N bars ago. That equal weighting makes the SMA very smooth and stable, so it is excellent for defining the bigger trend — the 200-day SMA is the classic example — but it also makes it slow to react, so it lags more than an EMA when price turns.

Simple Moving Average — visual

How Simple Moving Average looks on a chart

The SMA is the equal-weighted average of the last N closes. It is the smoothest common average — steady in trends, slow to turn at reversals.

25663.723687.1PriceTime (illustrative bars →)SMA 10SMA 30
Category
Trend Indicators
Type
Lagging trend-smoothing indicator
Created by
Classical technical analysis
Best timeframe
Daily and weekly for trend; less suited to scalping

Professional explanation

Equal weighting and what it costs

Because the SMA weights every bar in its window equally, a price from N bars ago influences today's value exactly as much as yesterday's price. This gives a very smooth, stable line — but it also means the SMA reacts slowly, and it has a quirk: the line can move purely because an old bar drops out of the window (the 'drop-off effect'), even if today's price barely changed.

The 200-day SMA as a regime line

The single most-watched moving average in markets is the 200-day SMA. Institutions treat it as the dividing line between a bull and bear regime: above it, they favour the long side; below it, they turn cautious. Its very slowness is the point — it filters out everything but the primary trend, so it rarely gives false regime changes.

SMA versus EMA

The SMA and EMA answer the same question with different reflexes. The SMA is smoother and less prone to whipsaw, so it suits longer-term trend definition. The EMA is faster and hugs price more closely, so it suits shorter-term trading where an early signal matters. Neither is better — they are tuned for different jobs, and many traders use an SMA for the big trend and an EMA for entries.

Crossovers and dynamic levels

The SMA is used exactly like any moving average: its slope defines direction, price pulling back to it offers dynamic support or resistance, and two SMAs crossing (classically the 50 and 200) generate the golden and death crosses. Because it lags, these signals are reliable but late — the SMA confirms a trend rather than predicting it.

Formula

Simple Moving Average formula

SMA = (P₁ + P₂ + … + Pₙ) / N

P₁…Pₙ are the last N closing prices and N is the look-back length. Every price carries equal weight of 1/N.

  • P₁…Pₙ — The last N prices (usually closes) in the window
  • N — Look-back length — the number of bars averaged
  • 1/N — The equal weight given to every bar in the window

How it is calculated

  1. Choose a length N (e.g. 20, 50 or 200) and use the closing price.
  2. Sum the closing prices of the last N bars.
  3. Divide the sum by N to get the simple average.
  4. Plot the result under the current bar.
  5. As each new bar closes, add the newest close, drop the oldest, and recompute.

Interpretation & signals

Traders read the SMA's slope for trend direction, the price-versus-SMA position for bias, and 50/200 SMA crossovers for major regime shifts, accepting that its smoothness comes with lag.

Buy / bullish signals

  • Price crosses and holds above a rising SMA.
  • The 50-SMA crosses above the 200-SMA (golden cross).
  • In an uptrend, price pulls back to the 20 or 50-SMA and bounces.
  • The 200-SMA turns up, signalling a shift to a bullish regime.

Sell / bearish signals

  • Price crosses and holds below a falling SMA.
  • The 50-SMA crosses below the 200-SMA (death cross).
  • In a downtrend, price rallies to the 20 or 50-SMA and rolls over.
  • The 200-SMA turns down, signalling a shift to a bearish regime.

False signals to beware

  • In a range, price whipsaws across a flat SMA repeatedly.
  • The drop-off effect can move the SMA even when current price is quiet.
  • Crossovers of long SMAs arrive well after the turn is already underway.

Settings, timeframe & conditions

Best settings
20, 50, 200 on daily; SMA preferred for the 200 regime line
Avoid
Using a long SMA for fast intraday entries
Works best in
Sustained, well-defined trends
Struggles in
Choppy ranges (constant whipsaw)

Advantages & limitations

Advantages

  • Smoothest and most stable of the common averages.
  • Excellent for defining the primary trend and regime (200-SMA).
  • Simple, transparent and universally available.
  • Fewer false signals than faster averages.

Limitations & disadvantages

  • Slowest to react — lags more than the EMA.
  • Subject to the drop-off effect from old bars leaving the window.
  • Whipsaws in ranges like any moving average.
  • Poorly suited to fast intraday timing.

Combining Simple Moving Average with other indicators

Practical examples (Nifty & Bank Nifty)

NIFTY example

Nifty is at 24,600, comfortably above its 200-day SMA at 23,100 — the primary regime is bullish. When a correction drags Nifty down to 23,800, still above the 200-SMA, positional traders treat the dip as a buy within an intact bull regime; only a decisive close below the 200-SMA would flip that stance.

BANKNIFTY example

Bank Nifty's 50-day SMA at 50,800 crosses above its 200-day SMA at 50,200 — a golden cross. Because Bank Nifty is volatile, the crossover comes with some lag, but it confirms that the intermediate trend has turned up. A trader uses the event as regime confirmation and looks to buy pullbacks toward the 50-SMA rather than chasing the crossover bar itself.

Common mistakes

  • Expecting the SMA to be fast — it is the slowest common average by design.
  • Ignoring the drop-off effect when reading a sudden SMA move.
  • Trading a flat 200-SMA's crosses in a range.
  • Using a 200-SMA to time 5-minute entries.

Professional usage

Professionals lean on the SMA where stability matters more than speed — above all the 200-day SMA as the bull/bear regime line that shapes overall positioning. They pair it with faster tools for entries and use 50/200 crossovers as confirmation of a regime shift rather than as precise triggers, fully aware that the SMA's smoothness is bought with lag.

Key takeaway

The SMA is the plain, equal-weighted average — the smoothest and most stable trend line, but the slowest to turn. Use it to define the trend and regime (especially the 200-day), and pair it with a faster average for timing.

Frequently asked questions

What is a simple moving average?
A simple moving average is the arithmetic mean of the last N closing prices, giving every bar equal weight. It is the smoothest of the common moving averages but also the slowest to react.
How is the SMA calculated?
You add the closing prices of the last N bars and divide by N. As each new bar closes, the oldest price drops out of the window and the newest is added, so the average moves forward.
What is the difference between SMA and EMA?
The SMA weights every bar equally, while the EMA weights recent bars more heavily. The EMA therefore reacts faster to price changes, and the SMA is smoother and lags more.
What is the best SMA setting?
The classic daily settings are 20, 50 and 200 for the short, intermediate and primary trends. The 200-day SMA in particular is the most widely watched regime line.
Why is the 200-day SMA important?
Institutions treat the 200-day SMA as the dividing line between a bullish and bearish regime — favouring longs above it and caution below it. Its slowness filters out everything but the primary trend.
Is the SMA a leading or lagging indicator?
The SMA is a lagging indicator built entirely from past prices, so it trails the turn. Its purpose is to confirm and define the trend, not to predict reversals.
What is the drop-off effect in an SMA?
The drop-off effect is when the SMA moves simply because an old bar leaves the window, even if current price is unchanged. It is a known quirk of the SMA's equal weighting.
Is the SMA good for intraday trading?
The SMA's smoothness makes it better for trend definition than for fast intraday timing, where its lag hurts. Intraday traders more often use faster EMAs for entries.
What is an SMA golden cross?
A golden cross is when the 50-day SMA crosses above the 200-day SMA, a widely followed bullish signal. The opposite, the death cross, is bearish.
Can the SMA be used on Bank Nifty?
Yes, though Bank Nifty's higher volatility means price overshoots the SMA more often, so the average is best used for the broader trend rather than exact bounce levels.
Should I use SMA or EMA for the 200-period?
Many traders prefer the SMA for the 200-period regime line because its stability avoids false regime changes, and use an EMA for shorter, faster averages.

Voice search & related questions

Natural-language questions people ask about Simple Moving Average.

What is a simple moving average in simple words?
It is the plain average of the last several closing prices, giving each one equal importance, which produces a smooth line showing the trend.
Is the SMA better than the EMA?
Neither is better overall — the SMA is smoother and better for the long-term trend, while the EMA is faster and better for short-term entries.
What is the 200-day moving average?
It is the average of the last 200 daily closes and is the most-watched line for judging whether a market is in a long-term uptrend or downtrend.
Why is the SMA slow?
Because it treats every bar in its window equally, old prices weigh as much as recent ones, so it takes longer to reflect a change in direction.

Sources & references

Last reviewed 8 July 2026. Educational content only — not investment advice.

Educational content only — not investment advice. Indicator diagrams are illustrative, computed from a fixed synthetic price series. Trading involves substantial risk. See our Risk Disclosure and SEBI Disclaimer.