Indicators
Moving Averages: SMA vs EMA and How to Use Them
A 200-day average settles direction in about a second, and trading only that direction throws out a pile of bad trades. As an entry trigger it is much weaker.
A moving average is the average closing price over the last N periods, recalculated every time a new bar closes, and that is the whole of the arithmetic behind the most familiar line on any chart. Simplest indicator in common use. Treated correctly, it’s also the most useful one you have.
It exists to answer a single question quickly and objectively, which is which way this thing is going, and everything else people try to make it do works less well.
SMA and EMA
A simple moving average adds the last N closes and divides by N, so every period in the window counts equally, which means the price dropping out of the window moves the line by as much as the price coming in does.
An exponential moving average weights recent prices more heavily. Older prices decay away, so the line turns sooner.
| SMA | EMA | |
|---|---|---|
| Weighting | Equal across the window | Recent prices weighted more |
| Reaction | Slower | Faster |
| Whipsaws | Fewer | More |
| Common use | Longer-term structure (50, 200) | Shorter-term timing (9, 21) |
Neither’s superior. What the EMA buys you is earlier signals, and what it costs you is more false ones, which is the same trade-off governing every smoothing decision in technical analysis.
The periods that matter, and why
The 20, 50 and 200 are the most watched averages in the market, and their popularity is a good part of why they work at all.
Enough institutions and traders reference the 200-day that real orders cluster around it, so when a widely followed stock approaches its 200-day average, buyers genuinely turn up there. That’s self-reinforcing. It’s also a legitimate mechanism, and worth respecting for what it is.
Pick an unusual period, a 37-day average because it backtested well, and you hand back that effect entirely while taking on a serious risk of curve-fitting.
Golden cross and death cross
The golden cross is the 50-day crossing above the 200-day, the death cross is that event in reverse, and both of them get a great deal of financial media coverage.
Both are also heavily lagging, by construction. Price has to rise enough, for long enough, to drag a 50-day average above a 200-day one, so by the time the cross prints it is confirming a trend that has been running for months and paying people who were already in it.
One real use survives. As a regime marker it tells you this market has been rising long enough to move the long averages, and that information is genuine, while as a timing signal it’s close to worthless and the popular presentation of it as a buy signal is the misleading part.
How moving averages fail
First, in ranges, and ranges are common. Price crosses the average constantly in a sideways market, throwing out contradictory signals one after another, and crossover systems bleed money in exactly those conditions.
Second, in sharp reversals. An average that lags by design sits well above price after a crash, and it can’t help you with a fast reversal, because smoothing is the whole mechanism.
Third, in gaps. An overnight gap straight through the average happens in an instant, the line offers no protection whatsoever, and no amount of respect for the level changes that. It’s a drawing on a chart.
Three practical uses
- Trend filter. Above the 200-day, consider longs only. Below, shorts or cash. One rule, applied consistently.
- Pullback entries. In an established uptrend, a retracement to a rising 20 or 50 EMA that’s already been respected twice is a workable entry zone, and two prior touches is the filter that makes it meaningful.
- Trailing stops. Exiting when price closes below a rising average keeps you in a trend without needing to predict where it ends.
Notice that none of those is a crossover signal. Read MACD next, since it’s built entirely from moving averages, and pair any setup with proper position sizing.
Frequently asked questions
What is a moving average?
The average closing price over a set number of periods, recalculated as each new bar closes. A 50-day moving average is the average of the last 50 closes. Plotted as a line, it smooths out the day-to-day noise so you can see the underlying direction.
What is the difference between SMA and EMA?
A simple moving average weights every period in the window equally. An exponential moving average weights recent periods more heavily, so it reacts faster to new prices. EMAs turn sooner, which buys you earlier signals and more false ones. Neither is better. You're trading responsiveness against stability.
What is a golden cross?
When the 50-day moving average crosses above the 200-day. It gets reported as bullish, but it's lagging confirmation. By the time it happens, price has already risen enough to drag a 50-day average above a 200-day one. The death cross is the mirror image, with the 50 crossing below the 200.
Which moving average periods should I use?
The 20, 50 and 200 are the most watched, and that's much of why they work. Enough people place orders around them to create real flow. The 9 and 21 EMAs are common for shorter-term trading. Inventing an unusual period gives up the self-reinforcing effect and gains you nothing.
Do moving averages work?
As trend filters, yes. Asking whether price is above or below its 200-day average is a fast, objective way to settle direction, and only trading that direction removes a lot of bad trades. As entry signals they're poor, because crossovers arrive late and whipsaw badly in ranges.