Skip to content
Jarviix

Trading · 5 min read

Moving Averages Explained: SMA, EMA, and How Pros Use Them

The moving average is the most widely-used indicator in trading. Which type to use, common signal patterns, and the costly mistakes most retail traders make.

By Jarviix Editorial · Apr 19, 2026

Trading chart with moving averages
Photo via Unsplash

The moving average (MA) is the most widely-used technical indicator in the world. It's on virtually every professional trader's chart, baked into thousands of automated strategies, and referenced constantly in financial commentary. It's also one of the most misunderstood — many retail traders use it incorrectly and lose money confidently.

This guide covers what moving averages actually represent, the differences between the major types, and the four most useful applications in trading.

What a moving average is

A moving average is the average of an asset's price over a defined window of time. As each new price comes in, the oldest one drops off, and the average "moves" forward. Plotted as a line on a chart, it smooths out short-term noise to show the underlying trend direction.

The most common length is the 200-day moving average — average closing price over the last 200 trading days. Other popular lengths: 9, 20, 50, 100.

SMA vs EMA vs WMA

Simple Moving Average (SMA)

Equal weight to every data point in the window. Smoothest, but slowest to react.

Formula: sum of last N closes ÷ N.

Exponential Moving Average (EMA)

Weights recent prices more heavily. Reacts faster to new data; therefore noisier.

Most charting platforms use the standard exponential weighting formula.

Weighted Moving Average (WMA)

Linear weighting — most recent gets highest weight, oldest gets lowest. Reaction speed between SMA and EMA.

Practical guidance

Use Case Recommended
Long-term trend (200, 100) SMA
Medium-term trend (50) SMA or EMA
Short-term entries (9, 20) EMA
Algorithmic strategies EMA (recency matters)
Discretionary swing trading SMA (smoother decisions)

The four ways pros use moving averages

1. Trend identification

The single most useful application. Plot a 50 SMA and 200 SMA on the daily chart:

  • Price above both, 50 above 200 → strong uptrend
  • Price above both, 50 below 200 → recovery / early trend change
  • Price below both, 50 below 200 → strong downtrend
  • Price below both, 50 above 200 → weakening / topping

This regime classification alone improves trading discipline. Most trades should align with the higher-timeframe trend.

2. Dynamic support and resistance

In trending markets, MAs act as support during uptrends and resistance during downtrends. Common observation: in strong uptrends, price respects the 20 EMA on pullbacks. In moderate uptrends, the 50 SMA. In weak/long-term uptrends, the 200 SMA.

Trading this:

  • In an uptrend, wait for price to pull back to the relevant MA
  • Look for reversal candle confirmation
  • Enter long with stop below the MA + ATR buffer
  • Target the recent swing high

This is the bread and butter of trend-following swing traders.

3. Crossover signals

When a faster MA crosses above a slower MA, it's a bullish crossover (and vice versa). The most famous:

  • Golden Cross: 50 SMA crosses above 200 SMA — long-term bullish signal
  • Death Cross: 50 SMA crosses below 200 SMA — long-term bearish signal

Crossovers lag substantially. By the time the cross occurs, much of the move has already happened. They're best used as regime filters or position-sizing modifiers, not as primary entry signals.

Faster crossovers (9/21 EMA, 5/13/34 EMA combos) generate more signals but suffer from whipsaws in non-trending markets.

4. Stop placement

Use a slow MA as a trailing stop:

  • Long position: trail stop below the 20 or 50 EMA. As long as price stays above, stay in the trade.
  • This automatically lets winners run and cuts losers.

The trade-off: wide trailing stops give back significant unrealized gains during normal pullbacks. Tight trailing stops get you stopped out by noise. Test stop distances on your specific instrument and timeframe.

The most common mistakes

Trading every cross

Every 9/21 EMA crossover doesn't deserve a trade. In a sideways market, you'll get whipsawed repeatedly — buying high, selling low, repeating.

Filter rules:

  • Trade crossovers only when ADX > 25 (trending environment)
  • Trade crossovers only when aligned with the higher-timeframe trend
  • Skip crossovers within 10 bars of the prior crossover (too choppy)

Using too many MAs

A chart with 6 moving averages is unreadable. 2-3 MAs maximum:

  • Long-term trend filter (200 SMA)
  • Medium-term trend (50 SMA or EMA)
  • Optional short-term entry (20 EMA)

Optimizing the MA period

Backtesting an EMA at lengths 5, 8, 13, 21... and picking the highest-return length is curve-fitting. The "best" length on past data is rarely the best on future data. Stick to standard lengths (9, 20, 50, 100, 200) — they work because everyone watches them.

Ignoring the higher timeframe

Trading 5-minute MA crossovers without checking the daily trend is a recipe for being on the wrong side. Always validate signals against a timeframe at least 4x longer than your trading timeframe.

MAs work in trending markets and fail in choppy/range-bound ones. Ranging assets need different tools (oscillators, support/resistance levels). Trying to apply MA crossovers in sideways markets is the source of most retail trader losses.

Combining with other indicators

Moving averages are most powerful when combined with:

  • Support/resistance: an MA stacked at a horizontal S/R level creates strong confluence
  • RSI: MA pullback + RSI oversold + reversal candle = high-probability entry
  • Volume: MA touches with above-average volume confirm institutional participation
  • ADX: filter to ensure you're trading in trending environments

Moving averages are simple but powerful. Used as a trend filter and as confluence within a larger framework, they can sharpen entries and improve risk management dramatically. Used as a standalone "MA crossover system," they'll mostly produce frustration. Treat them as one tool in a layered approach, not as a strategy by themselves.

Frequently asked questions

Which is better — SMA or EMA?

Neither is universally better. EMA reacts faster to recent price changes (less lag) but produces more false signals in choppy markets. SMA is smoother and lags more, but the lag filters out noise. Most pros use EMAs for short-term entries (9, 20, 50) and SMAs for long-term trend confirmation (100, 200). Test both on your specific instrument and timeframe; differences are usually small.

What does the 200-day moving average actually mean?

It represents the average closing price over the past 200 trading days (~10 months). It's the most-watched long-term trend indicator on the planet. When price is above the 200 SMA, the long-term trend is up; when below, the trend is down. Major institutional algos use it as a regime filter — many funds reduce equity exposure when the S&P 500 closes below its 200 SMA. Self-fulfilling significance.

Are moving average crossovers profitable strategies?

On their own, marginally — and often barely beat buy-and-hold after costs. The classic 50/200 'golden cross' / 'death cross' has historical edge but produces 1-2 signals per year per instrument. Faster crossovers (9/21, 5/20) generate more signals but also more whipsaws and worse risk-adjusted returns. Crossovers are best used as a filter inside a larger system — e.g. only take long trades when 50 EMA > 200 EMA — not as a standalone strategy.

Related Jarviix tools

Read paired with the calculator that does the math.

Read next