Moving Average

Technical Analysis

A moving average smooths price data over a chosen period to reveal the underlying trend and act as dynamic support or resistance.

Moving Average — illustrative image

What is a moving average?

A moving average (MA) is one of the most widely used technical indicators. It calculates the average closing price of an asset over a set number of periods, then plots that average as a smooth line on the chart, updating (or “moving”) with each new candle. By filtering out short-term noise, a moving average makes the underlying trend easier to see.

The most basic version is the simple moving average (SMA): add up the closing prices of the last N periods and divide by N. For example, a 20-period SMA on a daily chart is the average of the last 20 daily closes, recalculated each new day by dropping the oldest close and adding the newest.

Common uses

  • Trend direction — price trading above a rising moving average is generally read as bullish; below a falling one, bearish.
  • Dynamic support/resistance — in a trend, price often pulls back to a moving average (such as the 50-period or 200-period MA) before continuing, so traders use it as a potential entry zone.
  • Crossovers — when a shorter moving average crosses above a longer one (a “golden cross”) it is often read as bullish; the reverse (“death cross”) is often read as bearish.

Example

If EUR/USD is trading above its 50-day SMA and that average is sloping upward, a trend trader might treat pullbacks toward the 50-day SMA as potential buying opportunities, so long as price does not close decisively below it.

SMA vs. EMA

A simple moving average weights every period in the lookback equally, which makes it smoother but slower to react. An exponential moving average (EMA) instead weights recent prices more heavily, so it responds faster to new price changes — useful for traders who want quicker signals at the cost of more noise.

Why it matters

Moving averages underpin many other tools, including the MACD, which is built directly from two EMAs. They are lagging indicators by nature (based on past prices), so they work best combined with other analysis rather than in isolation, and, like all technical tools, they do not guarantee future price direction.

See also exponential moving average (EMA), trend, and MACD.