AI trading offer: 20% off all challenges · Limited time only

Moving Averages: SMA vs EMA and How to Trade Them

Moving average guide: SMA vs EMA, the 9, 20, 50 and 200 lengths, reading trend slope, pullback entries, crossovers, ribbons, lag and whipsaws.

Vittorio De Angelis•Oct 9, 2026•14 min read
Share article
Moving Averages: SMA vs EMA and How to Trade Them

One account, every market we offer

Explore

A moving average is a trend indicator that plots the average closing price over a set number of recent bars, updated on every new bar, so noisy price action becomes one smooth line. Traders use moving averages to read trend direction, find dynamic support and resistance, and filter trades so they buy in uptrends and sell in downtrends. The two main types are the simple moving average (SMA) and the exponential moving average (EMA).

Moving averages are the most widely used of all technical indicators, and tools such as MACD and Bollinger Bands are built on them.

Quick answer: A moving average is a trend-following indicator that averages the last N closing prices to smooth price action. A rising moving average with price above it is bullish; a falling moving average with price below it is bearish. Moving average signals are confirmed by the slope of the average, closes on the right side of it, and a matching higher-timeframe trend.

Highlights of this article

  • The simple moving average (SMA) weights every bar equally; the exponential moving average (EMA) weights recent bars more
  • The EMA turns sooner after a high or low; the SMA is smoother but lags more
  • Common lengths: 9 and 20 for the short-term trend, 50 for the intermediate trend, 100 and 200 for the long-term trend
  • In a trend, pullbacks to a sloping average are a classic entry area, with the stop beyond the recent swing
  • Moving averages lag and whipsaw in sideways markets, so they work best as filters, not standalone triggers

Ready to get funded?

Trade up to $200,000 in firm capital with static drawdown, no consistency rule, and payouts within 24 hours. Pass the challenge and keep up to 90% of your profits.

Start your challenge →

Moving average key facts

Item Detail
Indicator type Trend (lagging, trend-following)
Default settings 20 period for the short-term trend; 50 and 200 period for the longer-term trend; calculated on closing prices
What it measures The average price over the last N bars, showing trend direction and slope
Main signals Slope, price above or below the average, pullbacks to the average, fast and slow crossovers
Best market conditions Trending markets with higher highs and higher lows (or lower highs and lower lows)
Pairs well with MACD, Bollinger Bands, support and resistance, volume
Main limitation Lag: the average reacts after price moves, and it whipsaws in sideways ranges

What is a moving average?

A moving average is the average price of an asset over a fixed number of recent periods, recalculated each time a new bar closes. On a daily chart, a 20-period moving average is the average close of the last 20 days. When a new day closes, the oldest day drops out and the newest is added, which is why the line moves along the chart.

A moving average strips out noise; it does not predict, it summarises where price has been.

What is the difference between an SMA and an EMA?

The difference between an SMA and an EMA is weighting: the simple moving average gives every bar in the window the same weight, while the exponential moving average gives more weight to the most recent bars. As a result, the EMA reacts faster and the SMA is smoother and slower.

  • Simple moving average (SMA): add the last N closes and divide by N.
  • Exponential moving average (EMA): move the previous EMA toward the latest close by a smoothing factor of 2 / (N + 1). For a 20 EMA the factor is about 0.095, so each close pulls the line roughly 9.5% of the way toward it. Older prices never fully drop out; their influence fades.
  • Weighted moving average (WMA): a linear weighting where the latest bar gets weight N, the one before N minus 1, and so on. The WMA sits between the SMA and EMA in speed and is less common.
SMA vs EMAA 20-period simple moving average and a 20-period exponential moving average on the same chart; the EMA weights recent prices more, so it turns sooner after the low.100.00102.50105.00107.50110.00SMA 20EMA 20
SMA vs EMA. The EMA reacts faster and the SMA is smoother. Neither predicts; both summarise where price has been. Illustrative prices.

The chart shows a 20 SMA and a 20 EMA on the same prices. Both fall during the decline, but after the low the EMA flattens and turns up sooner, while the SMA keeps drifting lower before it follows. That is the trade-off in one picture: the EMA gives you the turn earlier, the SMA gives you fewer false turns.

Simple moving average (SMA) Exponential moving average (EMA)
Weighting Equal weight to every bar More weight to recent bars
Speed Slower to react Faster to react
Smoothness Smoother, fewer false turns Noisier, more false turns in ranges
Typical use Long-term trend (50 and 200 day), widely watched levels Short-term trend, pullback entries, day trading
Built into Bollinger Bands middle band (20 SMA) MACD (12 and 26 EMA)

EMA vs SMA: which is better?

Neither the EMA nor the SMA is better in general; each fits a different job. Day and swing traders who want quick feedback often prefer the EMA. Position traders often use the SMA for the 50 and 200 periods because those are the versions most participants watch, and a widely watched level tends to matter more. Pick one, test it on your market and timeframe, and stay consistent.

What are the best moving average lengths?

The best moving average length depends on the trend you want to follow; there is no single best setting. Shorter averages hug price, longer averages show the bigger trend.

Length What traders use it for
9 EMA Very short-term momentum; a tight reference in strong intraday moves
20 EMA or SMA Short-term trend and pullback entries for swing and day traders
50 SMA or EMA Intermediate trend; a common pullback level on daily charts
100 SMA Medium to long-term trend; less watched than the 50 and 200
200 SMA Long-term trend; price above the 200 day is often read as a bull market, below it as a bear market

What is the 20, 50, 200 moving average strategy?

The 20, 50, 200 moving average strategy uses three averages to grade the trend: the 200 sets the long-term bias, the 50 confirms the intermediate trend, and the 20 times entries. A strong uptrend has price above the 20, the 20 above the 50, and the 50 above the 200, all rising. Traders then buy pullbacks to the 20 or 50 and avoid shorts while that stack holds. The reverse order describes a strong downtrend.

What is the best moving average for day trading?

The best moving average for day trading is usually a short EMA, such as the 9 or 20 EMA on a 5-minute or 15-minute chart, because a short EMA responds quickly to intraday swings. Many day traders also mark the daily 200 SMA for the bigger bias, or pair the EMA with the VWAP indicator, which anchors to the session instead of a fixed number of bars.

Payout proof

Fast, real payouts. Traceable on Arbitrum.

  • Paid within 24 hours of approval
  • Settled on Arbitrum in USDC or USDT
  • Look up any transaction on Arbiscan
Velotrade payout certificate: $1,684 paid on a $100,000 account
Velotrade payout certificate: $1,452 paid on a $25,000 account

How do you read the trend with a moving average?

You read the trend with a moving average by checking the slope of the average and where price sits relative to it.

  1. Slope. A rising average means an uptrend, a falling average a downtrend, a flat average no trend.
  2. Price position. Closes above a rising average show a healthy uptrend; closes below a falling average show a healthy downtrend.
  3. Conflict. Price above a falling average, or below a rising one, signals transition. Treat conflict as a reason to wait.
  4. Higher timeframe. A rising 20 EMA on the 15-minute chart means more when the daily chart is also above a rising 50 or 200.

How do moving averages act as support and resistance?

Moving averages act as dynamic support and resistance because in a trending market price often pulls back toward the average, meets buyers or sellers there, and resumes the trend. Unlike a horizontal support and resistance level, the average moves with price, which is why traders call it dynamic.

Pullbacks to a moving average in a trendIn an uptrend, price pulls back toward a rising 20-period EMA and resumes higher, so the average acts as dynamic support.100.00105.00110.00115.00EMA 20PullbackPullback
Pullbacks to a moving average in a trend. A rising average shows the trend; pullbacks toward it are where trend traders look for entries, with a stop beyond the recent swing. Illustrative prices.

The chart shows an uptrend with a rising 20 EMA. Twice, at the marked pullbacks, price dips back toward the average, holds near it, and continues higher. The slope of the 20 EMA defines the trend; the pullbacks are where trend traders look for long entries.

How do you trade a pullback to a moving average?

You trade a pullback to a moving average by waiting for price to return to a sloping average in an established trend, then entering only when price shows it is resuming that trend.

  1. Confirm the trend. The average slopes clearly and price is making higher highs and higher lows (for longs).
  2. Wait for the pullback. Let price come back to the average instead of chasing it.
  3. Look for a reaction. A bullish candle, a close back above the average, or a break of the pullback high shows buyers stepping in.
  4. Enter with a plan. A limit or stop order placed in advance is usually cleaner than chasing with a market order; see market orders vs limit orders.
  5. Place the stop beyond the recent swing low, not just under the average, because price often pokes through the line before turning.
  6. Set a target at the prior swing high or a fixed multiple of risk, and check the risk-reward ratio first.

How do moving average crossovers work?

A moving average crossover occurs when a faster average crosses a slower one: a cross up suggests the trend has turned bullish, a cross down that it has turned bearish. Popular pairs are the 9 and 21 EMA for short-term trading and the 50 and 200 SMA for the long-term trend.

Golden crossA faster moving average crosses above a slower one after a decline, signalling that the recent trend has turned up; the classic version uses the 50-day and 200-day averages.100.00105.00110.00Slow averageFast averageGolden cross
Golden cross. Shown with shorter averages so the whole move fits on one chart; the classic golden cross uses the 50-day and 200-day. The cross lags price: the low came well before it. Illustrative prices.

The chart shows a faster average rising up through a slower one. When the 50 day crosses above the 200 day, the event is called a golden cross; the opposite is a death cross. The full setup is in our golden cross guide.

Crossovers are late by design, and in choppy markets the averages cross back and forth, each cross a losing signal. Many traders treat a crossover as a change of bias, not an entry. The MACD indicator is a crossover in another form: the MACD line is the 12 EMA minus the 26 EMA, so MACD crossing zero is the same event as those two EMAs crossing.

What is a moving average ribbon?

A moving average ribbon is a set of several moving averages of increasing length plotted together, often six to eight EMAs between about 10 and 60 periods. When the lines fan out in order and slope the same way, the trend is strong; when they compress and twist, the trend is weakening or the market is ranging. The Ichimoku Cloud takes a similar idea further, combining several averages of highs and lows into one trend system.

What are the limitations of moving averages?

The main limitations of moving averages are lag and whipsaws. Every moving average is built from past prices, so the average turns after price turns, and the longer the average, the larger the lag.

  • Whipsaws in ranges. In a sideways market price crosses the average repeatedly and most crosses fail. A flat average is the clearest sign a trend strategy is in the wrong market.
  • No volatility information. Pair the average with the ATR indicator for stop distance, or with Bollinger Bands, whose middle band is a 20 SMA.
  • Curve fitting. Testing dozens of lengths until one looks perfect on past data usually produces a setting that fails going forward.

Should you use moving averages as filters or triggers?

You should use moving averages mainly as filters, not triggers. A filter decides which trades you may take; a trigger decides exactly when to enter. A cross of price and average happens late and often, so it makes a weak trigger.

A simple filter: only take longs when price is above a rising 50 or 200 period average, and only shorts below a falling one. The entry then comes from something more precise, such as a break of a pullback high, a support level, or a momentum reading from the RSI indicator. Charts reflect participants' behaviour, but macro data and flows move prices too, as covered in fundamental vs technical analysis.

Can AI improve moving average signals?

AI can help by scanning many markets for moving average conditions, such as a pullback to a rising 50 day or a fresh crossover, and by testing how different lengths behaved in past data. AI trading signals and scanners find candidates faster than a human can.

AI does not remove the core problems. Moving average signals still lag and whipsaw, a model tuned on past data can be overfit, and scanners flag many false positives. Check any AI-assisted rule with proper backtesting and human judgement before risking money on it.

How do you use moving averages in a prop firm challenge?

You use moving averages in a prop firm challenge as in any account, but with the risk rules in mind. At Velotrade, a multi-asset prop trading firm offering simulated evaluations across crypto, forex, stocks, index ETFs and commodities, the maximum drawdown is static, fixed from your starting balance. A daily loss limit also applies, reset at 00:30 UTC and set from the higher of balance or equity.

  • Size from the stop, not the average. Put the stop beyond the swing, then size so a stop-out costs a small, fixed share of the account; the position size calculator does the maths.
  • Avoid whipsaw clusters. Repeated crossover losses in a range add up within one day. If the average is flat, step aside.
  • Respect the drawdown. A static maximum drawdown does not rise with profits, so keep the same risk after a good run.

Velotrade is an educational, simulated evaluation and nothing here is investment advice. Compare plans on the challenges page.

A trader pointing at a candlestick chart on a monitor

Frequently Asked Questions

About the author

Vittorio De Angelis

Vittorio De Angelis

Executive Chairman

Former equity-derivatives trader at JP Morgan, Dresdner Kleinwort and Bank of America in London. Later Head of Brokerage at a global broker in Hong Kong.

View author page

Ready to trade with
$200,000 capital?

Up to 90% profit split

Keep most of what you earn

No consistency rule

News trading allowed

Payouts within 24 hours

Of your request