StructureX

Home › Guides › Indicators

Moving averages explained: why the line is always late

A moving average is the smooth line people lay over a chart. It's useful, but it can only describe what price already did. Here's how it works, in plain numbers.

Beginner guide · 7-minute read · Updated 2026-10-21

What a moving average is

It's simpler than it looks.

A Moving average is the average closing price of the last few candles. Each new candle, the oldest one drops off and the newest one joins. So the average "moves" along the chart.

The result is a smooth line. It irons out the zig-zags so you can see the general direction.

How it's worked out (a simple example)

Say you use a 5-period average. Here are 5 daily closes:

Add them up: 60. Divide by 5: 12. That's today's dot on the line.

Tomorrow price closes at 15. The 10 drops off. Now it's 11, 12, 13, 14, 15. That adds to 65, divided by 5 is 13. The line moved up by 1.

Notice something? Price is at 15, but the line says 13. The line is behind. That's not a flaw. It's how every average works.

SMA vs EMA: the two common types

There are two versions you'll see everywhere.

An EMA is a little less late. But it also gets fooled a little more often by short, sharp moves. Neither one is "better". They're two ways to trade speed for calm.

Common settings

You'll see these numbers again and again:

SettingWhat people use it for
9 or 10A fast line for short-term moves
20 or 21About a month of trading days on a daily chart
50The medium-term direction
200The long-term direction, watched by many traders

Remember: the number counts candles, not days. A 50 on a 5-minute chart covers about 4 hours. A 50 on a daily chart covers about 10 weeks.

How traders use moving averages

Here are the common uses, each in one line.

Each of these can help. But each one has the same catch.

What a moving average can't do

Here's the honest part.

A crossover is a summary of what already happened, not a forecast. Treat it like a rear-view mirror: handy, but not where you look to steer.

Where it fits with our method

We read the chart's turning points first. These are the last places price turned around.

A trend is higher highs and higher lows (or the reverse). You can see that straight from the candles. You don't need a line to tell you. See higher highs and higher lows and how to identify a trend.

So where does a moving average fit? At most, as a second opinion.

One clean read beats six indicators. If a line makes the chart harder to read, take it off.

Common mistakes

Try it today on TradingView

This takes about 10 minutes, on a computer or the phone app.

  1. Open a daily chart of any big stock or index.
  2. Click Indicators and add "Moving Average Simple". Set the length to 200. (Not sure how? See how to add an indicator on TradingView.)
  3. Before you look at the line, mark the last 3 turning points by hand. Is it higher highs and higher lows, lower ones, or neither?
  4. Now look at the line. Does it agree with your read?
  5. Scroll left to a sideways stretch. Count how many times price crossed the line. That's the whipsaw problem, in your own eyes.

Do step 3 before step 4. Your own read comes first. The line is the second opinion, not the other way round.

Questions

What is the best moving average for beginners?

There isn't a best one. The 50 and 200 on a daily chart are the most watched, so they're a sensible start. Whatever you pick, keep it and don't keep changing it.

Is EMA better than SMA?

Neither is better. An EMA reacts faster to new prices, so it turns sooner, but it also gives more false turns. An SMA is calmer but later.

What is a golden cross?

It's when the 50-period moving average crosses above the 200-period one. Many traders watch it as a sign of a long-term uptrend, but it often comes well after the turn already started.

Do moving averages work on forex and crypto?

The math works on any chart with closing prices. The same limits apply everywhere: the line lags, and it flips a lot when the market moves sideways.

Why does price bounce off the 200 moving average?

Sometimes it does, partly because so many traders watch it. Often it doesn't. Treat it as an area to watch, not a wall.

Want the next step? We'll walk you through it.

Four free lessons by email, one every few days — each with a 10-minute exercise on a real chart.

Send Me the Free Lessons 4 short emails · No spam · Unsubscribe anytime

Or see the whole method, step by step:

See What’s Inside the Course Try everything free first. Decide when you're ready. · Open the free chart tool (works in the TradingView phone app)

One chart idea a day, in plain English. Follow along:

Follow on XFollow on TradingView