StructureX

Home › Guides › Indicators

EMA explained: how the exponential moving average works

The EMA is a moving average that cares more about the last few candles. That makes it quicker to turn. It also makes it quicker to be wrong.

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

What the EMA is

EMA stands for exponential moving average.

Like any Moving average, it smooths the closing prices into one line. The difference is the weight.

So when price turns, the EMA turns sooner than the SMA of the same length.

How it's worked out

The EMA uses a "multiplier" based on its length:

For a 20 EMA, that's 2 ÷ 21 = 0.095, about 9.5%.

Each new candle, the EMA moves 9.5% of the way from its old value toward the new close:

A worked example

The 20 EMA is at 100. The next candle closes at 110.

Now compare a 20 SMA. If the candle dropped from the window also closed near 100, the SMA moves by (110 − 100) ÷ 20 = 0.50.

So the EMA moved almost twice as far on the same candle. That's the "faster" you hear about.

The common lengths

Traders tend to use a few lengths, mostly because other traders watch them too.

LengthOften used for
9Very short-term moves on intraday charts
20 or 21Short-term trend, pullbacks in a trend
50Medium-term trend
200Long-term trend, often on the daily chart

There's nothing magic about any of them. A 21 EMA isn't more accurate than a 23. It's just more common.

Faster is not always better

Here's the trade-off.

In a choppy, sideways market, a short EMA flips up and down constantly. Price crosses it again and again. Every cross looks like a signal. Most of them aren't.

Speed cuts both ways. An EMA that catches turns early also catches fake turns early.

For a side-by-side, see EMA vs SMA.

How traders use the EMA

What the EMA can't do

Where it fits with our method

We read trend from the turning points first: higher highs and higher lows, or the reverse.

An EMA can be a handy visual helper:

What we don't do is put the Stop loss just under an EMA. The line moves every candle, and it has no memory of where buyers stepped in. We put the stop past the last turning point on the chart, then size from the math with the position size calculator.

And breaks follow our usual rule: a candle body has to close past a marked level. A wick through the EMA means little.

Common mistakes

Try it today on TradingView

About 10 minutes.

  1. Open a daily chart. Add "Moving Average Exponential" from Indicators. Set length 21.
  2. Add a second one: "Moving Average" (simple), also length 21. Make it a different colour.
  3. Find a sharp turn. Count how many candles earlier the EMA turned than the SMA.
  4. Find a sideways stretch. Count how many times price crossed the EMA.
  5. Note both counts in your trading journal. Faster turns, more crosses: that's the trade-off in numbers.

Want to see it in motion? Use bar replay so the EMA builds candle by candle and you can't peek at what's next.

Questions

What is the difference between EMA and SMA?

The SMA weights every candle in the window equally. The EMA gives newer candles more weight, so it turns sooner. That also makes it react more to noise.

Which EMA is best for day trading?

Many day traders watch the 9 and 20 or 21 EMA on intraday charts. No length is "best". The common ones are useful mainly because many people watch them.

What does the 200 EMA mean?

It's a long-term average of price. On a daily chart, price above a rising 200 EMA is often read as a long-term uptrend. It's a filter, not a signal.

How is the EMA calculated?

Each candle, it moves part of the way toward the new close. The part is 2 ÷ (length + 1). For a 20 EMA that's about 9.5% each candle.

Does price bounce off the EMA?

Sometimes it pauses near it, especially in a steady trend. It often cuts straight through too. Treat the EMA 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