Moving Averages: SMA Vs EMA
Both lines smooth price. Only one of them reacts to a close you can no longer see on the chart.
A simple moving average weights every close in its window equally, so it reacts partly to the old bar leaving the window. An exponential moving average applies a multiplier of 2 divided by the period plus one, moving a fixed fraction of the way towards each new close, so it responds faster and only to recent data. On a 20-period setting the EMA moves 9.52 per cent of the distance to each new close.
What to remember
- The EMA multiplier is 2 / (N + 1). On a 20-period setting that is 9.52 per cent of the gap between the line and the new close.
- An SMA can turn on a quiet day purely because a large value dropped out of the back of its window.
- Shorter is faster and more often wrong, longer is steadier and later. There is no length that avoids the trade-off.
- The EMA pair crosses more often than the SMA pair on the same data, which is a cost in a range and an advantage at the start of a trend.
Step 1 of 10 on Indicators Toolkit
The one line of arithmetic that separates them
A simple moving average adds the closing prices of the last N periods and divides by N. Every close in the window carries identical weight, and the close that falls out of the back of the window carries none at all. An exponential moving average never drops anything. It takes yesterday's EMA value and moves it a fixed fraction of the way towards the newest close, so the most recent bar has the largest influence and every older bar keeps a smaller but non-zero one.
That fraction is the entire difference. The standard multiplier is 2 / (N + 1). For a 20-period EMA that is 2 divided by 21, or 0.0952. Each new close drags the line 9.52 per cent of the way from where it was to where price now is. A 20-period SMA has no such rule. It swaps one number for another inside the average, so how far it travels depends on the gap between the close arriving and the close leaving, and the one leaving is 20 bars back where you are no longer looking.
A 40-pip move, measured on both lines
Put both lines on EUR/USD at 1.0850 and let one hourly candle close 40 pips higher at 1.0890.
The EMA is a single subtraction and a multiplication. New value equals 1.0850 plus 0.0952 times 0.0040, which is 1.08538. The line has moved 3.8 pips, and you can calculate that before the candle closes because the only unknown is the close itself.
The SMA depends on a price you cannot see on the current screen. If the close dropping out of the window was also 1.0850, the average moves by 0.0040 divided by 20, which is 2 pips. If the departing close was 1.0820, the average moves by 0.0070 divided by 20, which is 3.5 pips. Same new candle, different line movement, because the SMA is reacting as much to what happened 20 hours ago as to what just happened.
That is the practical consequence of equal weighting. An SMA can turn on a day when nothing notable occurred, purely because a large old value rolled off the back. An EMA cannot: it only ever responds to the newest close.
Which length for which job
| Length | Typical use | Cost of using it |
|---|---|---|
| 9 to 21 | Intraday trend bias, dynamic pullback reference | Crosses constantly in a range |
| 50 | Swing trend on a 4-hour or daily chart | Confirms a turn several sessions late |
| 200 | The long-term regime label most desks quote | Says nothing at all about this week |
The choice is not about accuracy. A shorter average is more responsive and more often wrong. A longer average is steadier and later. You are picking where to sit on that trade-off, and the honest way to pick is by how long you intend to hold a position, not by which number appears most often in a forum thread.
10 more sections in MarketPro
Finish this lesson in MarketPro
The rest of Moving Averages: SMA Vs EMA, a quiz that checks it landed, and your place kept in the curriculum.
- 10 more sections of this lesson
- All 320 lessons, with no cap and no paywall
- Free on any account, including a free one
Same account as the app · No install · Free to start
Or scan with your phone camera to get the MarketPro app.
Free account, no card needed.
Not investment advice. Past performance is not indicative of future results.
Run the numbers while this is fresh
Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Pivot points calculator, Fibonacci calculator, Position size calculator.
Moving Averages: SMA Vs EMA: questions
Is an EMA better than an SMA?
What are the most common moving average periods?
Why does a moving average fail in a sideways market?
The whole academy is free in MarketPro
All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.
Same account as the app · No install · Free to start
Not investment advice. Past performance is not indicative of future results.