EMA vs SMA: Choosing the Right Moving Average
EMA and SMA look alike but react to price very differently. This article explains how each is calculated, their strengths and weaknesses, and how to match a moving average to your trading style, with real statistics to prove it.

Ad space · บทความ · Advertise here →
The moving average is an indicator almost every forex trader has used, but many pick EMA or SMA simply because they have seen others use it, without realising the two behave very differently. One is fast and hugs price; the other is slower but steadier. Choosing the wrong one can mean entering too late in a trending market, or getting hit by repeated false signals in a sideways one. This article looks at how EMA and SMA differ and which one to use for which job.
SMA: An Equal-Weighted Average of Every Candle
The SMA (Simple Moving Average) is the easiest to calculate. You add up the closing prices of the last N candles and divide by N. Every candle carries exactly the same weight.
Take a 5-period SMA on EURUSD with closing prices of 1.0800, 1.0810, 1.0820, 1.0830 and 1.0890. The sum is 5.4150, and dividing by 5 gives 1.0830. Notice that even though the latest candle jumped to 1.0890, the SMA is still at 1.0830, because the four older prices hold the average back.
The advantage of the SMA is its steadiness: it does not jump around because of a single candle. The drawback is lag, plus a phenomenon called the drop-off effect: when an old candle with an extreme price falls out of the calculation window, the SMA can change direction sharply even though current price has not changed at all.
EMA: Giving More Weight to Recent Prices
The EMA (Exponential Moving Average) uses a weighting multiplier equal to 2 ÷ (N + 1). This gives recent prices more influence than older ones, and the weight of older prices decays exponentially rather than dropping out abruptly as in the SMA.
Using the same example, a 5-period EMA has a multiplier of 2 ÷ 6 = 0.333. If the previous EMA was 1.0815 and the latest close is 1.0890, the new EMA = 1.0815 + 0.333 × (1.0890 − 1.0815) ≈ 1.0840, which moves closer to current price than the SMA's 1.0830.
With a period of 20, the latest price carries roughly 9.5% of the weight in an EMA 20, whereas in an SMA 20 every candle carries just 5%. This is why the EMA turns faster when price changes direction.
Faster Does Not Mean Better: The Trade-Off Between Lag and Noise
The core of choosing between EMA and SMA is accepting that neither wins in every situation. You are trading one thing off against another.
- Speed (less lag) helps you see reversals sooner and enter a trend several candles earlier.
- Smoothness (less noise) helps filter out small, meaningless swings and reduces false signals.
In a clearly trending market the EMA usually has the edge because it catches the move sooner. In a sideways market, however, the EMA crosses back and forth through price repeatedly, producing whipsaws, or a string of false signals. The SMA is too slow in an accelerating trend but holds steadier in a choppy market. If you are not yet sure which market conditions your own system works best in, read how to check from statistics whether your system suits trending or ranging markets.
Matching the Line to the Job: 4 Common Situations
1. Filtering the Major Trend Direction
This job suits the SMA 200 on the D1 or H4 timeframe, because you want steadiness and do not want the line changing direction often. It is also a line many institutional investors watch, so price often reacts around it. A simple rule: when price is above the line, look only for Buy setups.
2. Finding Entries on Pullbacks Within a Trend
This job suits the EMA 20 or EMA 50, because the line sits closer to price. In a strong uptrend, price often pulls back to touch the EMA zone and then bounces. Combining it with a reading of HH HL market structure helps confirm that the trend is not over yet.
3. Scalping and Intraday
On small timeframes such as M5 or M15, price moves quickly, and a short-period EMA such as 9 or 21 responds in time. Be careful during quiet periods, such as the early Asian session, when the EMA gives especially frequent false signals.
4. Crossover Signals
EMA crossovers occur sooner than SMA crossovers, but they also occur more often and fail more often. If you use crossovers as your main signal, many traders use an SMA as the slow line and an EMA as the fast line, to get both responsiveness and filtering in one system.
Common Mistakes When Using EMA and SMA
- Filling the chart with lines. EMA 9, 21, 50, 100, 200 plus another set of SMAs, until every point on the chart looks like support or resistance, and in the end you only trust the lines that support your own opinion. Use no more than 2-3 lines, each with a clear role.
- Tuning the period to fit past data perfectly. For example, changing from EMA 20 to EMA 23 because the backtest looks better. This is overfitting, and it tends to break down in live markets. Read more in misconceptions about backtesting.
- Using the same line on every timeframe. An EMA 50 on M5 covers only about 4 hours, but on D1 it covers about two and a half months. The meaning is completely different.
- Treating the line as a wall that price must bounce off. A moving average is a reference zone, not a fixed line. Price poking slightly through and then coming back is normal, so always leave some room in your Stop Loss.
Do Not Choose by Feel: Let the Statistics Decide
The best way to find out whether EMA or SMA suits you is a structured experiment. Keep the entry and exit rules identical, change only the type of line, and collect at least 30-50 trades per set. Then compare these figures.
- Win rate and profit factor: which line gives the better overall result.
- Number of false signals: trades stopped out within a few candles of entry.
- Max drawdown: which line makes the account swing less.
- Average holding time: the EMA tends to get you in and out sooner.
If you connect your MT5 account to Thaifxbook, these figures are collected automatically from the live account. You can run two separate test accounts and compare them directly, without relying on memory or the feeling that "this line looks accurate lately".
Summary
EMA and SMA differ in how they weight price. The SMA weights every candle equally, so it is steady but slow. The EMA emphasises recent prices, so it is quick but more prone to false signals in a sideways market. Use a long-period SMA when you want to filter the major trend, use a short- to medium-period EMA when you want entry timing within a trend, and keep the number of lines on your chart to a minimum. Finally, do not choose a line because someone says it is good; let your own live trading results tell you which one works best with your system and your trading habits.