Indicators

What Is a Moving Average? SMA vs EMA for Beginners

A moving average smooths price to reveal the trend. Learn what SMA and EMA mean, why moving averages lag, and how traders use them for trend and support.

ForexPartnerHub Team·July 2, 2026·4 min read

The moving average is probably the most popular indicator in trading — and one of the simplest. It takes the noise out of a jumpy price chart and shows you the underlying direction, so you can see the trend instead of guessing at it.

What a moving average is

A moving average is just the average price over a set number of periods, recalculated as each new candle appears. A 20-day moving average, for example, adds up the last 20 closing prices and divides by 20 — then tomorrow it drops the oldest price and adds the newest. That constant updating is why it "moves".

Because it's built from past prices, a moving average doesn't predict where price is going. Instead it defines the current direction and smooths out the day-to-day chop so a trend is easier to see.

  • A rising moving average means prices are generally increasing — an uptrend.
  • A falling moving average means prices are generally decreasing — a downtrend.
  • A flat moving average means price is going sideways.

SMA vs EMA

There are two you'll meet constantly:

  • Simple Moving Average (SMA) — a true average that gives every period equal weight. It's smooth and steady, which makes it good for spotting broad support and resistance.
  • Exponential Moving Average (EMA) — gives more weight to recent prices, so it reacts faster and turns sooner than an SMA.

Neither is "better" — they're tools for different jobs. Use an EMA when you want to catch changes early; use an SMA when you want a calmer, less twitchy read on the trend.

Note

The shorter the moving average, the closer it hugs price and the quicker it turns. A 10-period average is nimble like a speedboat; a 200-period average is slow to turn like an ocean tanker.

The lag trade-off

Every moving average has one built-in weakness: lag. Because it's based on past data, it always confirms a move after it has started. Longer averages lag more; EMAs lag a little less than SMAs.

This isn't necessarily bad. Lag is the price you pay for filtering out false alarms. A moving average won't get you in at the exact bottom or out at the exact top — but it keeps you aligned with the bigger trend, and the trend is your friend.

How traders use moving averages

Three common uses:

  1. Trend direction — is the average sloping up, down, or sideways?
  2. Support and resistance — in an uptrend, price often pulls back to a moving average (like the widely watched 50- or 200-period) and bounces; in a downtrend it can act as a ceiling.
  3. Crossovers — when a shorter average crosses above a longer one it's a bullish signal (often called a golden cross); crossing below is bearish (a death cross).

Risk

Crossovers work beautifully in strong trends but produce lots of false signals — "whipsaws" — in choppy, sideways markets. Never rely on a moving average alone.

Combine, don't isolate

Moving averages shine when paired with other tools. A classic beginner combo is using a moving average to define the overall trend, then an oscillator like RSI to time entries within that trend. On its own, an MA tells you which way; add context and it becomes far more useful.

How to practise

  1. Add a 50-period and a 200-period moving average to a daily chart of a major pair.
  2. Notice how price behaves around them — bouncing, breaking, or crossing.
  3. Watch a crossover play out and see how much it lags the actual turn.
  4. Test it all on a demo account so there's no money at risk while you learn.
Pepperstone logo

Pepperstone

Best for Copy Trading

Visit Pepperstone

Trading Forex and CFDs involves a significant risk of loss.

The bottom line

A moving average averages recent prices to smooth the chart and reveal the trend. The SMA treats all periods equally; the EMA favours recent prices and reacts faster. Both lag by design — that's the cost of filtering out noise. Use them to read direction, find support and resistance, and spot crossovers, but always alongside other tools.


Educational content only, not financial advice. Trading forex carries a high level of risk. Read our full affiliate disclosure.

Get forex insights weekly

New guides, market analysis and broker updates — straight to your inbox. No spam.

Risk

Forex and CFD trading involves significant risk of loss and is not suitable for all investors. Leverage can work against you. This content is educational and not financial advice — always do your own research.