FRENESDE

Simple moving average (SMA)

An SMA (simple moving average) of period N is the average of the last N closes. It smooths out noise so you can see the underlying direction of price.
Calculation: add up the last N closes and divide by N. With each new bar, the oldest close drops out and the new one comes in: the average “moves”. Closes 10, 11, 12, 13, 14 → SMA 5 = 60 / 5 = 12. New close 16: (11 + 12 + 13 + 14 + 16) / 5 = 13.2.
Reading it: price above a rising SMA describes an uptrend; price below a falling SMA, a downtrend. The slope matters as much as the position: a flat SMA that price keeps crossing signals a market without a trend.
In a trading plan, the SMA is mainly a reference written in advance: “I only buy if the close is above the 50 SMA and the SMA is rising”, or “I exit if the close drops back below the 20 SMA”. Always judge on the close, not on a wick.
Pitfalls: the SMA lags (the average age of its data is (N − 1) / 2 bars); a short period gives many false signals in a range; and it is never a forecast, only a summary of the past.

Examples

Key terms

SMA
Arithmetic average of the last N closes
Period
Number of bars used in the calculation
Lag
Delay between a price move and the indicator’s reaction
Smoothing
Reducing small moves to see the trend more clearly
Take the mission on Doji Academy

← Back to the index