SMA
A simple moving average (SMA) is the arithmetic mean of the last n closing prices, recalculated on each bar, used to smooth price and show the direction of the trend.
Formula
SMA = (P₁ + P₂ + … + Pₙ) ÷ n
Explained
Each price in the window has the same weight. When a new bar is added, the oldest one drops out, which can move the SMA even if today's price is unchanged.
The 50-day and 200-day SMAs are the most watched levels in equity markets; institutional reports and the media often refer to stocks trading above or below them.
Example
Last five closes: 20, 21, 22, 21, 23.
5-period SMA = 107 ÷ 5 = 21.4.
Common mistakes
Using a short SMA as support in a choppy market.
Ignoring that the SMA lags more than an EMA of the same length.
Optimising the length to fit past data perfectly.
Questions traders ask
Why is the 200-day SMA so important?
Because so many investors and funds watch it, it often acts as a self-fulfilling reference for long-term trend and support.
Which SMA is best for day trading?
Short lengths such as 20 or 50 on intraday charts, though many day traders prefer EMAs or VWAP.