SMA vs EMA
Moving averages sit at the heart of technical analysis. They help traders filter out short-term price noise to identify potential trends. Like all technical indicators, however, moving averages can give false signals and do not predict future prices. The exponential moving average and its simpler counterpart, the simple moving average, represent two of the most widely used tools in this category. Understanding how each works, and where they differ, gives you a clearer foundation for interpreting price charts.
This guide explains both indicators in plain terms. We cover the calculations, advantages, limitations and practical contexts where each type may prove useful. No jargon without explanation, no promises of trading success.
What are moving averages?
A moving average is a calculation that takes the average price of an asset over a specific number of periods. As each new period completes, the oldest data point drops off and the newest one enters the calculation. The result is a smoothed line that follows price action with a degree of lag.
Think of it like tracking your weekly spending. If you calculated your average daily spend over the past seven days, then updated that figure each morning by dropping the oldest day and adding yesterday, you would have a seven-day moving average of your expenses. The figure smooths out any single-day spikes.
Traders apply this same logic to price data. Rather than reacting to every tick, a moving average provides a filtered view of where prices have been trending.
The role of moving averages in technical analysis
Moving averages serve several functions in chart analysis. They can help identify the direction of a trend, act as dynamic support or resistance levels and form the basis of crossover signals when different period averages intersect.
A moving average model can be as straightforward as watching whether price sits above or below a particular average. It can also involve multiple averages of varying lengths to gauge short-term momentum against longer-term direction.
These indicators do not predict future prices. They describe what has already happened, with varying degrees of smoothing. Any signals they produce require interpretation and come with no guarantee of accuracy.
Simple moving average (SMA) explained
The simple moving average is the most straightforward version of this indicator. It gives equal weight to every data point in the chosen period.
How to calculate an SMA
The calculation is exactly what the name suggests. Add up the closing prices for your chosen number of periods, then divide by that number.
For a 10-day SMA:
SMA = (Day 1 Close + Day 2 Close + ... + Day 10 Close) ÷ 10
Each day, you drop the oldest closing price and add the newest. The result is a single value that represents the average closing price over the past 10 days.
Example calculation:
5-day SMA = (100 + 102 + 101 + 104 + 103) ÷ 5 = 102
On day six, you would drop day one and add day six to recalculate.
Advantages and limitations of SMA
Advantages:
Simple to calculate and understand
Provides a stable, smooth line that filters out minor fluctuations
Equal weighting means no single data point dominates
Useful for identifying longer-term trend direction
Limitations:
Reacts slowly to recent price changes
Equal weighting may be a drawback when recent prices carry more relevance
Lag can result in delayed signals during fast-moving markets
A significant old price dropping off can cause abrupt shifts unrelated to current conditions
The SMA treats a price from 20 days ago with the same importance as yesterday’s price. In stable, trending markets, this steadiness can be beneficial. In volatile conditions, the lag may prove problematic.
Exponential moving average (EMA) explained
The exponential moving average addresses one key limitation of the SMA by giving greater weight to recent prices. This makes it more responsive to new information.
How to calculate an EMA
The EMA calculation involves a weighting multiplier that determines how much emphasis the most recent price receives. The formula builds on the previous EMA value, creating a recursive calculation.
Step 1: Calculate the multiplier
Multiplier = 2 ÷ (Number of periods + 1)
For a 10-day EMA: Multiplier = 2 ÷ 11 = 0.1818 (approximately 18.18%)
Step 2: Calculate the EMA
EMA = (Current Close - Previous EMA) × Multiplier + Previous EMA
The first EMA value typically uses the SMA as its starting point. From there, each subsequent calculation incorporates the new closing price with enhanced weighting.
Example with a 10-day EMA:
Previous EMA: 100
Current Close: 105
Multiplier: 0.1818
EMA = (105 - 100) × 0.1818 + 100 = 0.909 + 100 = 100.91
The new close of 105 pulled the EMA upwards, but not by the full amount of the price change. The weighting system ensures recent data influences the average more than older data, while still preserving some smoothing.
Advantages and limitations of EMA
Advantages:
Responds faster to recent price movements
Reduces lag compared to SMA of the same period
May identify trend changes earlier
Weighting system reflects that recent prices often carry more relevance
Limitations:
More sensitive to price whipsaws and false signals
More complex calculation
Can produce choppy readings in sideways markets
Greater responsiveness is not inherently better; it depends on context
The exponential moving average suits traders who prioritise recent price action. However, faster response comes with increased sensitivity to noise. Neither advantage nor limitation is absolute; both depend on market conditions and individual application.
Key differences between SMA and EMA
Understanding the core distinctions helps you determine which might suit your analytical approach.
Sensitivity to price changes
When a significant price movement occurs, the EMA adjusts more quickly. The weighting multiplier ensures today’s close has greater influence than yesterday’s, which has greater influence than the day before, and so on.
The SMA treats each day equally. A sharp move today has the same mathematical impact as a similar move 19 days ago in a 20-period average. This means the SMA moves gradually, smoothing out spikes but also delaying reaction to genuine shifts.
Lag and responsiveness
All moving averages lag behind price. This is inherent to any indicator that averages historical data. The question is how much lag you accept.
The EMA reduces lag by front-loading recent prices. A 20-day EMA will turn sooner than a 20-day SMA when direction changes. This earlier signal may prove valuable, or it may prove premature. There is no way to know in advance which outcome will occur.
Some traders use shorter-period SMAs rather than longer-period EMAs to achieve similar responsiveness. A 10-day SMA and a 20-day EMA may produce roughly comparable behaviour in certain conditions, though they are not mathematically equivalent.
When traders may use SMA vs EMA
Neither indicator is objectively superior. The choice depends on what you are trying to observe and your tolerance for signal frequency.
Scenarios where traders may prefer SMA:
Analysing longer-term trends where stability matters more than speed
Reducing false signals in choppy or range-bound markets
Identifying broader support and resistance zones
When simplicity and transparency in calculation hold value
Scenarios where traders may prefer EMA:
Short-term analysis where recent price action is paramount
Fast-moving markets where lag could mean missing significant moves
Strategies that rely on quick crossover signals
When combining with other momentum indicators that also emphasise recent data
Many traders use both. A long-term SMA might define the broader trend direction, while a shorter-term EMA may be used as one input when considering entries or exits (alongside other analysis and risk management). This approach accepts that each has strengths the other lacks.
Moving averages simplified do not guarantee outcomes. They provide a framework for observation. How you interpret that framework, and whether your interpretation proves accurate, remains uncertain.
Other types of moving averages
The SMA and EMA are not the only options. Several variations exist, each with a different weighting scheme.
Weighted moving average overview
The weighted moving average (WMA) assigns a specific weight to each data point, typically increasing linearly towards the most recent price. Unlike the EMA’s exponential decay, the WMA uses a straightforward arithmetic progression.
For a 5-day weighted moving average:
Day 5 (most recent) receives weight of 5
Day 4 receives weight of 4
Day 3 receives weight of 3
Day 2 receives weight of 2
Day 1 (oldest) receives weight of 1
Total weight: 15
WMA = (Day5 × 5 + Day4 × 4 + Day3 × 3 + Day2 × 2 + Day1 × 1) ÷ 15
The weighted moving average falls between the SMA and EMA in terms of responsiveness. It emphasises recent data more than the SMA but uses a different weighting structure than the exponential model.
Other variations include the Hull moving average, the triangular moving average and the volume-weighted moving average. Each attempts to balance smoothing against responsiveness in slightly different ways. None has proven universally superior across all market conditions.
Important considerations and risks
Moving averages are descriptive tools, not predictive ones. They tell you what prices have done, not what they will do. Any signals they appear to generate are interpretations of past data, not forecasts of future movement.
Key risks and limitations to consider:
Trading involves risk of loss. The use of technical indicators, including moving averages, does not reduce this risk. Many traders lose money, particularly when using leveraged products such as contracts for difference (CFDs) or spread bets. CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 80% of retail investor accounts lose money when trading CFDs, according to Financial Conduct Authority data. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
Past performance is not indicative of future results. A moving average crossover that coincided with profitable opportunities in historical data may not behave similarly going forwards. Markets change, and patterns that appeared reliable can stop working without warning.
No indicator works in isolation. Moving averages provide one lens for viewing price data. They do not account for fundamental factors, news events, liquidity conditions or countless other influences on price.
False signals occur regularly. Both SMA and EMA can produce crossovers or apparent trend changes that quickly reverse. There is no reliable method to distinguish true signals from false ones in real time.
These tools require judgment. Selecting the appropriate period length, choosing between SMA and EMA, and interpreting signals all involve decisions that can significantly affect outcomes. There are no universally correct answers.
Summary
The simple moving average and exponential moving average offer two approaches to smoothing price data. The SMA treats all periods equally, producing a stable but slower-moving line. The EMA weights recent prices more heavily, creating a more responsive but potentially choppier indicator.
Key points to remember:
The SMA is the sum of closing prices divided by number of periods.
The EMA applies a multiplier that gives recent prices greater weight.
EMA responds faster to price changes; SMA provides more stability.
Neither is objectively better; suitability depends on context and preference.
The weighted moving average offers an alternative weighting structure.
All moving averages lag behind price to some degree.
These indicators describe historical data; they do not predict future prices.
Understanding moving averages gives you a foundation for interpreting technical charts. Whether you choose SMA, EMA or another variation, the tool itself does not generate profits. It provides information that requires your interpretation. That interpretation, combined with risk management and realistic expectations, forms the basis of any analytical approach to trading.
Trading carries risk. Technical analysis does not eliminate uncertainty. Use these tools as part of a broader framework, not as standalone decision-makers.
The Simple Moving Average (SMA) gives equal weight to all prices in the calculation period, while the Exponential Moving Average (EMA) gives greater weight to recent prices. This makes the EMA more responsive to recent price changes, whereas the SMA provides a smoother, more stable line with greater lag.
Add up the closing prices for your chosen number of periods, then divide by that number. For example, a 10-day SMA equals the sum of the last 10 closing prices divided by 10. Each new day, drop the oldest price and add the newest to recalculate.
The EMA uses a weighting multiplier that gives recent prices greater influence in the calculation. Today's price affects the EMA more than yesterday's, which affects it more than the day before. This exponential decay of older data reduces lag compared to the SMA's equal weighting.
Traders may prefer SMA when analysing longer-term trends, when stability matters more than speed, or when trying to reduce false signals in choppy markets. The SMA's equal weighting and smoother line can help identify broader trend direction without reacting to every short-term fluctuation.
Disclaimer: CMC Markets is an execution-only service provider. The material (whether or not it states any opinions) is for general information purposes only, and does not take into account your personal circumstances or objectives. Nothing in this material is (or should be considered to be) financial, investment or other advice on which reliance should be placed. No opinion given in the material constitutes a recommendation by CMC Markets or the author that any particular investment, security, transaction or investment strategy is suitable for any specific person. The material has not been prepared in accordance with legal requirements designed to promote the independence of investment research. Although we are not specifically prevented from dealing before providing this material, we do not seek to take advantage of the material prior to its dissemination.

