What Are Moving Averages (SMA/EMA)? What's the Difference?
Moving averages are one of the most fundamental and widely used tools in technical analysis. By smoothing out intraday noise, they make the underlying trend easier to see. There are two main types: SMA (Simple Moving Average) and EMA (Exponential Moving Average).
How Is SMA Calculated?
SMA is the arithmetic mean of closing prices over a set number of periods:
SMA = (P1 + P2 + ... + Pn) / n
Example: Suppose the last 5 days' closing prices are 100, 102, 101, 104, and 103 TL.
SMA(5) = (100 + 102 + 101 + 104 + 103) / 5 = 102
Each time a new day is added, the oldest day drops off the calculation — which is why it's called a "moving" average.
How Is EMA Calculated?
EMA is also an average, but unlike SMA it doesn't weight all periods equally — it weights recent prices more heavily:
EMA(today) = Price(today) × k + EMA(yesterday) × (1 - k)
k = 2 / (n + 1)
Here n is the period count. For a 20-period EMA, for example, k = 2 / 21 ≈ 0.095 — meaning today's price makes up about 9.5% of the average, with the rest coming from the prior EMA value.
The practical result: EMA reacts to price changes faster than SMA. When a stock suddenly changes direction, EMA reflects it sooner.
Why the Difference Between SMA and EMA Matters
| Feature | SMA | EMA |
|---|---|---|
| Weighting | All periods equal | Recent prices weighted more |
| Response speed | Slow | Fast |
| Whipsaw risk | Lower | Relatively higher |
| Typical use case | Confirming long-term trend | Short-term timing, basis for indicators like MACD |
MACD itself is built on the difference between two EMAs (typically 12 and 26 periods) — so understanding EMA is foundational to understanding MACD too.
Golden Cross and Death Cross
One of the best-known moving average strategies is watching for one period's average to cross another:
- Golden cross: A shorter-period average (e.g. 50-day) crosses above a longer-period one (e.g. 200-day). Widely regarded as a classic signal that an uptrend is starting.
- Death cross: The opposite — the shorter-period average crosses below the longer one, watched as a downtrend signal.
These signals can produce frequent false (whipsaw) signals, especially in sideways/trendless markets — so it's best to confirm them with volume or momentum indicators rather than trading them in isolation.
Price's Relationship to the Moving Average
Beyond crossovers, price's position relative to a moving average is itself treated as a signal:
- Price > average: The overall bias is up; the average often acts as dynamic support.
- Price < average: The overall bias is down; the average can act as dynamic resistance.
- Price oscillating near the average: The market hasn't found a clear direction and may be in a sideways, indecisive phase.
Common Mistakes
- Using a very short-period average (e.g. 5-10) on its own as a trend indicator — it hugs price closely and is hard to distinguish from noise.
- Applying crossover signals mechanically, without context.
- Forgetting that moving averages are lagging indicators and trying to use them to catch exact tops or bottoms.
Conclusion
SMA and EMA are simple on their own but powerful trend tools when used correctly. SMA offers a steadier overall picture, EMA offers faster response — tracking both together is often the healthiest approach. On Lumina BIST you can track SMA and EMA alongside 13 other indicators on a single screen, and get instant Telegram alerts whenever a crossover or threshold condition you define is met.
Frequently Asked Questions
Is SMA or EMA better?
Neither is definitively 'better.' SMA is slower and more resistant to noise, making it suitable for confirming long-term trends. EMA weights recent prices more heavily, so it reacts faster and is often preferred for shorter-term signals and timing entries/exits. Many traders track both together.
Which periods are most commonly used?
20, 50, 100, and 200 are the most common. 20 and 50 represent the short-to-medium-term trend, while 200 represents the long-term 'primary trend.' Whether price is above or below the 200-day average is a simple market-regime filter many investors use.
What is a golden cross?
A golden cross happens when a shorter-period moving average (typically 50) crosses above a longer-period one (typically 200), and is widely read as a sign an uptrend is beginning. The opposite — the 50 crossing below the 200 — is called a death cross and is watched as a downtrend signal.
Why are moving averages called 'lagging' indicators?
Because they average past price data, they reflect sharp reversals with a delay rather than instantly. That makes them reliable for confirming an established trend, but weak tools for catching the exact high or low of a move.
Ready to put this into practice? Track 13 indicators and AI commentary live on Lumina BIST.
Related Posts
What Is the Stochastic Oscillator? How to Read %K and %D
The Stochastic oscillator formula, the 80/20 overbought-oversold levels, %K-%D crossovers, and how it differs from RSI, explained with BIST examples.
What Are Fibonacci Retracement Levels? How Do You Draw Them?
What Fibonacci retracement levels are, where the 23.6%/38.2%/61.8% ratios come from, and how to draw and interpret them on a BIST chart.
AI-Powered BIST Stock Analysis: How Multi-Model AI Commentary and Telegram Alarms Work
How AI-assisted technical analysis actually works, why comparing multiple AI models matters, and how to set up price/indicator alarms and portfolio risk commentary.