Moving Averages Explained: SMA vs EMA, Crossovers
Last updated June 7, 2026

A moving average is the average price of an asset over a set number of periods, recalculated as each new price arrives. It smooths out short-term noise to reveal the underlying trend. The two main types are the simple moving average (SMA), which weights all prices equally, and the exponential moving average (EMA), which weights recent prices more.
Key takeaway
What is a moving average?
A moving average is a trend-following overlay that averages price over a rolling window of periods. It is one of the foundational technical indicators and underpins many others, including the MACD, which is built entirely from moving averages.
The indicator answers a simple question: which way is price trending once the day-to-day noise is filtered out? By averaging the last N closing prices and updating that average each period, a moving average produces a smooth line that lags raw price but makes the direction far easier to see. A rising line points to an uptrend, a falling line to a downtrend, and a flat line to a range. Moving averages also frequently act as dynamic support and resistance, with price often reacting around widely watched averages.
How are moving averages calculated? (SMA and EMA formulas)
Moving averages come in two main forms, and the difference is how they weight the prices in the lookback window. The simple moving average treats every period equally; the exponential moving average front-loads the most recent prices.
SMA = (Sum of closing prices over N periods) / N
EMA(today) = (Price today x Multiplier) + EMA(yesterday) x (1 - Multiplier)
Multiplier = 2 / (N + 1)
The SMA adds up the closing prices over the chosen period and divides by the number of periods. A 10-day SMA of closes that sum to $500 is simply 500 / 10 = $50, recalculated each day as the window rolls forward. The EMA applies a weighting multiplier so recent prices count more; for a 10-period EMA the multiplier is 2 / (10 + 1), or about 0.18. Because it leans on recent data, the EMA turns faster than the SMA and carries less lag, at the cost of reacting to short-lived moves.
SMA vs EMA: which is better?
Neither the SMA nor the EMA is universally better; they trade responsiveness against smoothness. The EMA reacts faster to recent prices, which suits shorter timeframes, while the SMA is smoother and less prone to whipsaws, which suits longer-term trend reading.
| Feature | SMA | EMA |
|---|---|---|
| Weighting | Equal across all periods | More weight on recent prices |
| Reaction speed | Slower, more lag | Faster, less lag |
| Smoothness | Smoother, fewer whipsaws | More reactive, more false signals |
| Often used for | Long-term trend, key levels | Short-term and intraday trading |
Faster reaction is a double-edged trait: the EMA catches new trends sooner but also reacts to noise that the SMA would filter out. Many traders use the SMA for the big-picture trend, such as the 200-day, and an EMA for shorter signals. The right choice depends on your timeframe and tolerance for false signals, and any setting should be reviewed against the specific asset.
What is a golden cross and a death cross?
A golden cross and a death cross are moving-average crossover signals built from a shorter and a longer average, most often the 50-period and 200-period. They are among the most widely watched signals in technical analysis.
- Golden cross: the shorter average (e.g. the 50-day) crosses above the longer average (e.g. the 200-day). It is read as a sign that a longer-term uptrend may be developing.
- Death cross: the shorter average crosses below the longer one. It is read as a sign that a longer-term downtrend may be developing.
The important caveat is that both are lagging signals. Because they rely on long averages of past prices, the crossover often appears well after the trend has already turned, so it confirms a change rather than predicting it. Both also whipsaw in sideways markets, where the two averages cross back and forth without a real trend. Traders typically treat them as context within the broader picture rather than as standalone instructions.
Which moving average periods should you use?
The most widely watched periods are 20, 50, 100, and 200, and each suits a different horizon. There is no single correct number; the best period depends on your timeframe and how much smoothing you want.
The 200-period average is the classic long-term trend gauge, the 50-period is a common medium-term trend and the partner to the 200 in the golden and death cross, and shorter averages like 20 or 9 react quickly for swing and intraday work. Longer periods produce smoother lines with fewer but more reliable signals, while shorter periods react faster at the cost of more noise. Some traders stack several averages to read short, medium, and long-term trend at once. As with any setting, shorter means more signals and more false ones, and longer means fewer, steadier signals.
Common moving average mistakes and limitations
Moving averages are simple but easy to misuse, and most errors come from forgetting that they lag price by design. They describe the trend that has already formed, not the one about to begin.
- Expecting them to lead. Moving averages are lagging indicators; crossovers and turns appear after price has already moved.
- Trading every crossover. In ranging markets, short and long averages cross repeatedly, producing whipsaws and false signals.
- Ignoring the market environment. Moving-average trend signals work best in trending markets and poorly in sideways ones.
- Using one average in isolation. A single line says little on its own; combining it with momentum, volume, and price structure is far more robust.
- Over-optimizing the period. Tuning a length to fit past data often produces a setting that fails going forward.
Putting moving averages in context
Think of a moving average as a trend filter, not a forecast. It smooths the noise so you can see direction, and its crossovers can flag when that direction shifts, but because it averages past prices it always reacts after the fact. The strongest reads come from combining moving averages with momentum, key price levels, and volume, and from matching the period to your timeframe. Used that way, moving averages become a disciplined way to define the trend rather than a shortcut to predicting it.
Frequently asked questions
- What is a moving average in trading?
- A moving average is the average price of an asset over a set number of periods, recalculated as new prices arrive. It smooths out short-term noise to make the underlying trend direction easier to read.
- What is the difference between SMA and EMA?
- An SMA gives equal weight to every price in the lookback window. An EMA weights recent prices more heavily, so it reacts faster to new moves but can also produce more false signals.
- What is a golden cross?
- A golden cross is when a shorter moving average, often the 50-day, crosses above a longer one, often the 200-day. It is widely watched as a sign that a longer-term uptrend may be developing.
- What is a death cross?
- A death cross is when a shorter moving average crosses below a longer one, such as the 50-day moving below the 200-day. It is read as a sign that a longer-term downtrend may be developing.
- Which moving average periods are most common?
- The 20, 50, 100, and 200 periods are the most widely watched. The 50 and 200 are common for long-term trend and for the golden and death cross, while shorter periods suit faster timeframes.
Put this into practice. Upload a chart screenshot and Lynx AI reads the structure, levels, and a long or short bias, with what would invalidate it.
Try Bullynx freeKeep reading
Educational only. Not financial advice. NFA. Bullynx is not a registered investment adviser or broker-dealer. Trading and investing involve significant risk of loss. Read the full risk disclosure.