Moving Averages Explained: SMA, EMA and Crossovers

Bullynx Editorial Team·June 7, 2026·9 min read

Last updated September 4, 2026

A moving average is the mean closing price over a set number of periods, recalculated as each new bar arrives. The simple moving average sums N closes and divides by N. The exponential moving average weights recent prices using a 2/(N+1) multiplier, so it turns faster. Both smooth noise to expose the trend.

Key takeaway

Moving averages smooth price into a trend line. The SMA treats all periods equally while the EMA reacts faster to recent prices. Crossovers like the golden and death cross flag trend shifts, but they lag and are not automatic triggers.

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. This page is the overview: for a side-by-side comparison see SMA vs EMA, and for the crossover signals, including the golden and death cross, see the moving average crossover strategy.

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.

Illustrative price with an SMA and a faster EMA. The EMA hugs price more closely and turns sooner because it weights recent closes more heavily than the SMA.

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.

FeatureSMAEMA
WeightingEqual across all periodsMore weight on recent prices
Reaction speedSlower, more lagFaster, less lag
SmoothnessSmoother, fewer whipsawsMore reactive, more false signals
Often used forLong-term trend, key levelsShort-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.

The classic moving average false signal

The failure that costs traders most is not subtle, and it follows directly from how the indicator is built. A moving average is an average of closes that have already happened, so its turns arrive after price turns. In a trend that lag is tolerable, because the direction persists long enough for a late signal to still be useful. In a range it is fatal: price oscillates around the average, the line crosses back and forth through it, and a crossover system fires repeatedly on moves that go nowhere. This is the whipsaw, and shortening the period makes it more frequent rather than less.

The second, quieter false signal is the crossover that arrives after the move is over. Because a 50 and 200 period pair averages a great deal of history, the cross often prints only once a large part of the trend has already happened, which is why a golden cross can appear near a local high and a death cross near a local low. Neither of these is a defect to be tuned away. The standard responses are structural: require the market to be trending before acting on a crossover at all, use the average as a trend filter for a separate entry signal rather than as the signal itself, and check the higher timeframe with multiple timeframe analysis before treating a cross as meaningful.

What can an AI chart reader see in a moving average?

Moving averages are among the easier things to read from a screenshot, with one important catch. If the averages are plotted on the chart, an AI chart reader like Bullynx can see where price sits relative to each line, whether the lines are rising, falling or flat, whether a short line has crossed a long one and roughly when, whether the lines are stacked in trend order, and whether price has been reacting around a particular average as support or resistance.

The catch is that it cannot tell which averages they are unless the chart says so. A screenshot with two coloured lines does not reveal whether they are the 20 and 50, the 50 and 200, or an EMA pair, and the answer changes what the picture means: a cross of the 9 and 21 is a routine intraday event, while a cross of the 50 and 200 is the one everyone is talking about. It also cannot recompute an average from the candles, since that needs exact closes rather than pixel positions, and it cannot see how long the current stack has persisted if that history lies beyond the left edge of the crop. Include the indicator legend in the screenshot, and the reading gets considerably more specific.

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.

  1. Expecting them to lead. Moving averages are lagging indicators; crossovers and turns appear after price has already moved.
  2. Trading every crossover. In ranging markets, short and long averages cross repeatedly, producing whipsaws and false signals.
  3. Ignoring the market environment. Moving-average trend signals work best in trending markets and poorly in sideways ones.
  4. 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.
  5. Over-optimizing the period. Tuning a length to fit past data often produces a setting that fails going forward.
Moving averages define trend, but they do not size a trade. When you turn a crossover into a potential scenario, set your exit levels first with our Risk/Reward calculator. Lynx AI can also read a chart screenshot and explain what a moving-average crossover implies in context.

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.

This article is educational and is not financial advice. Indicators describe past and present price behavior, and past or typical indicator behavior does not guarantee future results.

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.
What is the moving average formula?
An SMA is the sum of the closing prices over N periods divided by N. An EMA uses EMA today = price today x multiplier + EMA yesterday x (1 - multiplier), where the multiplier is 2 / (N + 1). For a 10-period EMA the multiplier is about 0.18.
Why is the 200-day moving average important?
Mostly because so many people watch it. As a roughly one-year average of closes it separates a long uptrend from a long downtrend at a glance, and it is the standard trend filter in published strategies. Its significance comes from shared attention as much as from the maths.
Does a moving average predict price?
No. A moving average is an average of prices that have already printed, so it describes the trend that has formed rather than the one about to form. Every turn in the line happens after the turn in price, and that lag grows with the period.
How many moving averages should be on a chart?
Most traders use one to three. A single long average as a trend filter, or a short and long pair for crossovers, covers the common uses. Stacking many averages rarely adds information, because they are all built from the same closes and mostly repeat each other.

About this byline

Bullynx Editorial Team

Markets & product research

The Bullynx editorial team researches and reviews the trading concepts, indicators, and tools we write about. Our articles are educational and are reviewed for accuracy before publishing. They are not financial advice.

Not sure what your indicators are telling you? Upload your chart and Lynx AI reads the signals in context: trend, levels, and whether the indicator agrees with price.

Upload my chartPrepare the screenshot first; analysis runs after account setup and subscription.

Keep reading

All Technical Indicators guides →

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 or how this article was researched and reviewed.