EMA vs SMA — which moving average is better for a trader?

Risk warning · YMYL This article is for educational purposes only and is not investment advice. Trading on the Forex market involves a high risk of capital loss — ESMA reports 74–89% of retail accounts lose money.

Mark has been swing trading EUR/USD on the four-hour chart for three months and one evening he sends me a question I have heard a thousand times: "Jarek, should I swap my SMA50 for an EMA50?" The forums, the half-hour YouTube videos and the trader at the next desk all give him different answers — some swear by the exponential average, others defend the classical arithmetic version. The difference looks cosmetic until you tally up its effect in dollars and cents. This article walks through how the two formulas actually differ, when each one genuinely wins, and how to combine them into a system that does not collapse under the weight of false signals.

Two formulas, two personalities

The simple moving average, abbreviated SMA, is calculated the same way an elementary-school average is calculated. Take the last twenty closes, sum them, divide by twenty. Every candle — the one printed a minute ago and the one printed nineteen days ago — contributes exactly the same share to the result: five percent. The SMA only moves when a new candle pushes the oldest one out of the window, and it is this mechanical rotation, more than the value of any single bar, that drives the line.

The exponential moving average, the EMA, rests on a different philosophy: recent data matters more than old data. The formula is recursive — today's EMA equals today's close multiplied by a smoothing factor plus yesterday's EMA multiplied by one minus that same factor. The smoothing factor itself is simply two divided by the period plus one. For an EMA20 this works out to roughly 0.0952, meaning today's close contributes just under 9.5 percent to the line. Yesterday's contributes 8.6 percent, ten days ago drops to 3.2 percent, and twenty days ago shrinks to just 0.9 percent. The weights never quite reach zero — they fade exponentially, like an echo in an empty hall.

SMA5 and EMA5 on the same five EUR/USD closes
Closes (oldest first)1.0800 · 1.0820 · 1.0840 · 1.0850 · 1.0900
SMA5(1.0800 + 1.0820 + 1.0840 + 1.0850 + 1.0900) / 5 = 1.0842
EMA5 (multiplier 0.33)≈ 1.0863 — closer to the most recent close at 1.0900
Difference21 pips
TakeawayThe EMA always sits closer to current price than the SMA of the same length

Twenty-one pips is not a cosmetic distance — across a few dozen trades a year it decides whether a stop loss gets hit or a limit order fires cleanly. The mathematical consequence is unambiguous: the EMA always signals a directional change earlier than the SMA of the same period. The price of that speed, however, is real and measured in false signals.

Four practical differences you will feel on your account

The difference between the two formulas translates into four concrete, measurable behaviours on the chart. Each one feeds directly into how a trading system reacts to a live market.

Reaction speed. The EMA50 picks up on a change in the dominant direction within five to ten bars, while the SMA50 needs fifteen to twenty. For a day trader who closes positions before the session ends, the SMA's lag is simply too heavy a handicap. For a position investor holding for three months, that same lag is almost irrelevant — what matters is the regime change, not any single candle.

Smoothness of the line. The SMA filters noise better, because a single outlier candle is spread evenly across the whole window. The EMA reacts more sharply — when a surprise US non-farm payrolls release sends EUR/USD sixty pips lower on a Friday afternoon, the EMA jumps visibly while the SMA barely twitches. Choosing smoothness is, in effect, choosing what to ignore: do we want to see every move, or only the moves that matter?

The volume of false signals. An EMA generates roughly thirty to fifty percent more false crossovers with price than an SMA of the same length. In practice this means that a strategy based purely on "buy when price crosses the EMA50 from below, sell when it crosses from above" — without any trend filter — produces a win rate barely better than a coin toss. That is why experienced traders never use an EMA alone, always pairing it with a second confirmation: price action, an oscillator, a longer average or a support level.

Long-term trend identification. Here the SMA wins decisively, and the debate ends. The SMA200 on the daily chart is the industry standard watched by every professional. Trying to swap it for an EMA200 would turn every one percent dollar rally into a "trend change" — which serves no one. The SMA200's slowness is a feature, not a bug.

The standard periods and what each one is for

The numbers 20, 50 and 200 show up in nearly every technical-analysis textbook not because of any mathematical magic but because they have been used for decades — and through that repetition they have become anchor points the market itself reacts to. Twenty candles on the daily roughly equals a trading month, fifty equals a quarter, and two hundred equals a trading year. Each of these numbers describes the cycle that a particular group of participants thinks in: the short-term speculator, the medium-term swing trader and the long-term investor.

Standard moving-average periods and their natural use cases
SMA200 on D1Long-term trend filter used across every type of market participant
SMA100 on D1Medium-term trend, roughly one trading quarter
EMA50 on D1 or H4Dynamic support and resistance inside a swing trend
EMA21 on H4Shorter swing — the "21 EMA strategy" popularised on educational channels
EMA20 on H1Day trading, trend filter within a single session
EMA9 on M15Scalping and very fast day trading — high noise

The rule of thumb sounds simple enough: the shorter the period and the shorter the time frame, the more the EMA makes sense. The longer the period and the higher the time frame, the better the SMA performs. Combining the two — SMA200 for the macro picture and EMA20 for the entry decision — gives you a system that is internally consistent and complete.

Golden Cross and Death Cross — what they really mean

The most quoted signal built on moving averages is the Golden Cross — the upward crossover of a fifty-period moving average (either an EMA50 or an SMA50) through the SMA200. Its mirror image, the Death Cross, is the downward crossover of the same shorter average through the SMA200. The first heralds a new long-term uptrend, the second a bear market. The headline is straightforward, but the interpretation calls for nuance.

Anatomy of a classical Golden Cross on EUR/USD
Starting pointPrice has been trading below the SMA200 in a downtrend for several months
The real changePrice breaks the last lower high and starts trading above the SMA200
The signalA few weeks later, the EMA50 finally crosses above the SMA200
ImplicationA long-term regime change — the bull market is confirmed
Practical actionHunt for long entries on pullbacks to the EMA50, not on the cross itself
The trapThe signal is late — by the time it prints, price has already moved 50–100 pips

The key to understanding the Golden Cross and the Death Cross is to accept their lag. These are not entry signals for a day trader — they are confirmations of a regime change, used by funds and institutional allocators to decide on quarterly, not hourly, positioning. For a retail trader they provide one piece of information, but a valuable one: the direction in which to hunt for setups. After a Golden Cross, avoid short positions and stalk long pullbacks. After a Death Cross, do the opposite.

"Moving averages are the most popular and versatile of all the indicators used by technical analysts. But they should be viewed as a trend-following device, not a trend-forecasting one." — John J. Murphy, Technical Analysis of the Financial Markets, New York Institute of Finance, 1999.

A setup that combines the best of both averages

The most durable setup I have seen across two decades of working with both retail and institutional traders uses three moving averages at once, each on a different horizon. The philosophy is simple: let the longest average decide whether we trade at all, the medium one identify the zone of interest, and the shortest deliver the actual entry signal.

  1. SMA200 on the daily — the mandatory trend filter. If price is above the line, we only consider longs. If price is below it, we only consider shorts. Trading against this rule is the fastest way to bleed capital on a retail account.
  2. EMA50 on the daily — the zone of interest. Pullbacks toward the EMA50 in an uptrend are where we wait for a buy signal. In a downtrend the same EMA50 acts as dynamic resistance where we wait for a sell signal.
  3. EMA20 on the four-hour — entry precision. The actual trigger to open a position is a candlestick reaction off the EMA20 inside the EMA50 zone on the daily — a hammer, a pin bar, or a bullish engulfing pattern in an uptrend.

The stop loss goes below the most recent local low (for a long) or above the local high (for a short), the first take profit at the previous swing high or low, the second at the next significant structural level. A reward-to-risk ratio of 1:2 is realistic, 1:3 is achievable with disciplined setup selection.

Five mistakes that quietly drain beginner accounts

Moving averages are so simple to apply that they invite misuse. The five most common mistakes consistently erode the accounts of new traders — and what makes them harder to avoid is that each one is repeated by popular educational material, so they look like good practice rather than bad habit.

  • Trading every crossover. The "buy when price crosses above the EMA50, sell when it crosses below" strategy without a trend filter delivers a win rate of around forty percent — and bleeds money during every long-running consolidation. The crossover signal needs filtering by a longer average and confirming through price action.
  • An SMA200 on the five-minute chart. Two hundred candles on the M5 cover slightly more than sixteen hours of trading — a single day minus weekends. A line with that horizon defines no meaningful trend; at best it represents the average price of the latest session.
  • Treating the EMA20 as a trend filter. The EMA20 is a short-term indicator describing the state of the last few weeks, not the market regime. Confusing the two leads traders to open longs in a long-term bear market simply because price has crossed the short average.
  • Optimising periods through backtesting. Trying to find the "perfect" pair of moving averages by testing every combination between 5 and 100 almost always produces overfitting — the result looks brilliant on historical data and falls apart on live markets. The standard periods of 20, 50 and 200 are standard for a reason.
  • Trading far from the average. The pullback to the average is a fundamental ingredient of every setup. Opening a position when price is two hundred pips away from the EMA50 means jumping into the middle of the impulse, exactly where the statistical chance of continuation without a correction is lowest.

The practical decision in five sentences

After two decades of working with moving averages I have boiled the EMA-versus-SMA question down to five simple rules. If you invest long-term and hold positions for weeks or months, use the SMA200 and SMA100 — they give clean signals and fewer false direction changes. If you swing trade on the daily and hold for days or up to a week, combine the SMA200 as a filter with the EMA50 as the entry zone. If you trade intraday inside a single session, use the EMA50 as the trend filter and the EMA20 as the actual entry signal. If you scalp on the fifteen-minute chart, lean on the EMA20–EMA9 pair, but accept that you will be wading through a great deal of noise. Whichever style you choose, never trade a moving-average crossover by itself without a second confirmation from price action or an oscillator.

Conclusions

The choice between a simple and an exponential moving average is not a duel between two competing philosophies — it is a question of fitting the tool to the time horizon. The SMA delivers stability, a clean trend picture and a self-fulfilling reaction around the SMA200; the EMA delivers the responsiveness required for short-horizon decisions. Trying to use a single solution across every context ends in one of two failures: missing the entry (too slow an SMA intraday) or trading the noise (too fast an EMA on a multi-year position).

The heuristic I recommend to every new trader has three layers. The longest average — the SMA200 on the daily — answers the question "in which direction am I even allowed to trade today". The medium-term average — the EMA50 — marks the zone where I look for entries in the direction of the trend. The shortest — the EMA20 or EMA9 depending on the time frame — delivers the precise signal. This structure has worked for decades, is used by hedge funds and investment banks alike, and the fact that it is not novel is its greatest virtue — it consists of lines that everyone watches, lines around which the market actually reacts.

Treat the Golden Cross and Death Cross as a compass for the market regime, not as a trigger for individual trades. The signal lags, so the cross itself is not the entry — but its appearance is a cue to spend the following weeks or months looking for setups in only one direction. That is valuable macro information no single candle can provide.

Moving averages are a map of the terrain, not a compass leading you by the hand. They show where the trend lies, where statistical support and resistance tend to wait, where the logical places to enter sit — but the actual decision has to come from the trader, based on price action, fundamental context and a written risk-management plan. The best moving-average system in the world will not save a trader without discipline in position selection and management.

Related reading: moving averages — the mathematical comparison is the earlier, shorter version of this topic with more emphasis on the formulas; MACD — how to read the momentum indicator is built directly on the difference between two exponential averages; multi-timeframe analysis shows how to combine averages from different time frames into a single coherent system.

Jarosław Wasiński
About the author

Jarosław Wasiński

Editor-in-chief at MyBank.pl · Financial and market analyst

Independent analyst and practitioner with 20+ years in finance. Founder and editor-in-chief of MyBank.pl, running since 2004. Fundamental analysis of FX and macro markets since 2007.

Sources & bibliography

  1. John J. Murphy / Penguin Random House Technical Analysis of the Financial Markets (1999), rozdział o średnich kroczących · New York Institute of Finance, 1999 — rozdział o średnich kroczących www.penguinrandomhouse.com ↗
  2. Investopedia EMA vs SMA · porównanie formuł z przykładami liczbowymi www.investopedia.com ↗
  3. StockCharts ChartSchool Moving Averages — Simple and Exponential · wzory matematyczne i praktyczne zastosowania chartschool.stockcharts.com ↗
  4. Federal Reserve Bank of St. Louis (FRED) EUR/USD historical exchange rate · dane historyczne do weryfikacji crossoverów fred.stlouisfed.org ↗

Frequently asked

How does EMA mathematically differ from SMA?

An SMA of length N is a pure arithmetic mean: the sum of the last N closes divided by N. Every candle carries the same weight of 1/N. For SMA20 that means 5 percent each, on every one of the twenty candles. The EMA uses a recursive formula: today's EMA = (close × multiplier) + (yesterday's EMA × (1 − multiplier)), where the multiplier equals 2 / (N + 1). For EMA20 the multiplier is roughly 0.0952, so today's close has just under 9.5 percent influence, yesterday's 8.6 percent, ten days ago about 3.2 percent, and twenty days ago only 0.9 percent. The weights decay exponentially and never quite reach zero — formally, every historical candle still leaves a faint trace in the current EMA value. The practical consequence is that the EMA always sits closer to the current price than the SMA of the same length and reacts to a change in direction five to ten bars sooner.

When should I use SMA and when EMA?

SMA is the right tool whenever you need a clean, low-noise picture of the long-term trend. The textbook example is the SMA200 on the daily chart — virtually every large market participant has it on screen, which is why it tends to act as a "self-fulfilling" support and resistance line. EMA is the natural choice for shorter-horizon decisions — day trading, scalping or quick swing setups — where a few candles of lag mean a missed move. The most common combination is SMA200 as a trend filter ("only take longs when price is above the SMA200") and EMA50 as a dynamic support line on which to hunt for entries. The pairing combines the stability of the long-term average with the responsiveness of the exponential one in a single system.

What are Golden Cross and Death Cross — are they worth trading?

A Golden Cross is the upward crossover of a shorter moving average (typically EMA50 or SMA50) through a longer one (SMA200) and is read as a long-term bull-market signal. A Death Cross is the mirror image — the shorter average crosses below the longer one, signalling the start of a long-term downtrend. These are classical signals used by hedge funds and financial media, working best on the daily and weekly time frames. The catch is that both are heavily lagging — by the time the cross prints, the market has typically already moved fifty to a hundred pips in the new direction, so they are not entry signals for a retail trader. Treat them as a regime confirmation: after a Golden Cross, look for long entries on pullbacks; after a Death Cross, look for shorts on bounces back to the average. The signal carries more weight when it lines up with another piece of confirmation — a broken resistance, a candlestick pattern, or an RSI divergence.

Why is the 200-period average so important?

The number 200 has no special mathematical meaning — it was chosen historically because it covers roughly one trading year (about 252 US sessions minus weekends and holidays leaves around 200 truly active days) and proved a convenient point of reference. Over time it became an industry standard and almost everyone watches it — from the retail trader opening MetaTrader 5 to the algorithms running billions inside a macro fund. The result is a self-fulfilling prophecy: when price approaches the SMA200 on the daily, large clusters of buy, sell, stop loss and take profit orders sit around the line, and the market genuinely reacts there. For a retail trader this implies two things. First, the SMA200 itself is strong support or resistance. Second, every retest of the line in the direction of the existing trend is a high-probability swing setup. For the same reason, the long-term trend is most often defined by the simple statement: "price above the SMA200 on the daily is a bull market".

Go deeper · the complete guide