Simple Moving Average (SMA)

LearnOct 23, 2025
Timothy Cahill
Simple Moving Average (SMA)

What is the Simple Moving Average (SMA) Indicator?

The Simple Moving Average (SMA) is a trend-following indicator that plots the average closing price over a fixed lookback period as a single line on your chart. Traders use it to smooth out short-term noise, read trend direction from the line's slope, and track dynamic support and resistance as price interacts with the average.

The most common defaults are the 20, 50, and 200-period SMA. The indicator sits directly on price — no oscillator window, no fixed 0-100 range.

How is the Simple Moving Average (SMA) Indicator Calculated?

The SMA adds up the last N closing prices and divides by N: SMA = (P1 + P2 + ... + PN) / N, where N is your lookback period.

Every time a new candle closes, the window rolls forward, adding the newest price and dropping the oldest. Most platforms default to the close price and a user-selected period like 20, 50, or 200.

How to Use the Simple Moving Average (SMA) Indicator in Trading?

Use the SMA as a trend filter and a moving reference level. Only take signals when price action confirms the SMA's direction.

  • Trend direction filter: Trade long when price holds above a rising SMA. Trade short when price holds below a falling SMA. Slope matters as much as position.
  • Dynamic support and resistance: In an uptrend, look for pullbacks that wick into the SMA and close back above. In a downtrend, look for rallies that fail at the SMA and close back below.
  • SMA crossovers: A faster SMA crossing above a slower SMA means momentum is shifting up. Crossing below means momentum is shifting down. The 50/200 cross gets all the attention — golden cross up, death cross down — but the signal is late by design.
  • Stops and invalidation: Place your stop beyond the SMA AND the most recent swing. For longs, that's below the swing low with the SMA acting as a second layer of confirmation. If price breaks both cleanly, exit the trade.

Start Your Trading Journal Today

Track every trade, analyze your performance, and become a better trader.