Backstrap
TrendSMA

Simple Moving Average

Equal-weighted average of recent closing prices — the most fundamental smoothing indicator.

What it is

The Simple Moving Average is exactly what its name suggests: the arithmetic mean of the last N closing prices, recomputed each bar. It is the oldest moving average in widespread use, predating computers, and remains relevant because it is conceptually transparent — every bar in the window contributes equally to the result.

Where the EMA emphasizes recent prices, the SMA does not discriminate. A bar from 50 periods ago has the same weight as today's bar. This makes the SMA slower to react than the EMA but also more stable: a single outlier bar moves it less.

How it's calculated

For a window of N bars:

SMA = (P_1 + P_2 + ... + P_N) / N

where P_i is the closing price of bar i. Each new bar drops the oldest price out of the window and adds the new one. There is no smoothing factor or weighting — pure arithmetic mean.

How to interpret signals

Trend reference. Price persistently above SMA = uptrend, below = downtrend. Common periods: 20 (short-term), 50 (medium), 200 (long-term).

Crossovers. A fast SMA crossing a slow SMA (e.g., 50 over 200, the famous "golden cross") is a classic trend-shift signal. The opposite cross is the "death cross."

Slope. The slope of the SMA itself — rising or falling — gives a smoothed sense of trend direction independent of where price sits relative to the line.

Strengths

  • Conceptually simplest moving average — easy to explain, audit, and reproduce.
  • Less reactive to outliers than EMA, producing smoother and more stable trend lines.
  • Long-period SMAs (200-period) are widely watched, creating self-fulfilling support/resistance.
  • Same formula across every charting platform — no parameter ambiguity.

Limitations

  • Lags more than EMA — slow to react to genuine regime changes.
  • Equal weighting means a 50-bar-old price has the same influence as today's, which is rarely what you actually want.
  • Frequent whipsaws around the line in ranging or choppy markets.
  • Famous golden/death cross signals are notoriously delayed and produce many false alarms.

Common pitfalls

  • Trading short-period SMA crosses on noisy markets without volatility or trend filters.
  • Comparing SMA crosses across timeframes without adjusting parameters appropriately.
  • Treating the death cross as an immediate sell signal — historically it often coincides with market lows, not the start of further decline.
  • Watching only crossovers and ignoring the SMA's slope and price's distance from the line.

Related strategies in Backstrap

Educational note: This page explains what SMA measures and how it is conventionally interpreted. It does not constitute investment advice. Past patterns do not guarantee future results, and no indicator works in all market regimes. See the full disclaimer.

Last updated: 2026-05-08