Skip to content
Learn
Sign up

Technical AnalysisTechnical Indicators

Moving Averages

11 min read

Smoothing the Noise

A moving average (MA) is one of the oldest and most widely used indicators in trading. It smooths out price action by averaging closing prices over a set number of periods, making it easier to identify the overall trend direction and potential dynamic support/resistance levels. Moving averages form the backbone of countless trading strategies, from simple trend-following to complex quantitative systems.

The genius of the moving average is its simplicity. It answers one question: where has the average price been over the last N periods? When price is above the average, conditions are generally bullish. When below, bearish. This simple framework sits at the core of many trend-following approaches.

EUR/USD· Illustrative · EMA 50 vs EMA 200 · golden cross
Illustrative, not actual prices
EMA 50 (now above) · 1.096EMA 200 · 1.092golden cross level · 1.088
Synthetic price path for illustration — not real EUR/USD data. When the 50 crosses above the 200, momentum aligns with trend. The cross itself isn't an entry — it's confirmation that the longer-term tape has flipped.

Simple Moving Average (SMA)

Term

The arithmetic mean of closing prices over a given period. A 20-period SMA adds the last 20 closes and divides by 20. Each period has equal weight. Easy to understand but slower to react to price changes. The SMA gives equal importance to the oldest data point and the most recent, which means it lags more during fast moves.

Exponential Moving Average (EMA)

Term

Like an SMA, but recent prices are weighted more heavily using an exponential decay formula. This makes the EMA faster to respond to price changes. Traders who want a more responsive indicator prefer EMAs. The 9, 21, 50, and 200 EMA are among the most watched. The EMA reacts more quickly to recent price changes but is also more prone to whipsaws.

Weighted Moving Average (WMA)

Term

A less common variant that assigns a linearly declining weight to each period — the most recent period gets the highest weight, the second most recent slightly less, and so on. It reacts faster than an SMA of the same length; for the same period it even lags slightly less, on average, than a standard EMA (about (N−1)/3 periods versus (N−1)/2). Some traders prefer it for that responsiveness.

A

Simple Moving Average (SMA)

  • Equal weight to all periods
  • Smoother and less reactive to noise
  • Better for identifying major trends
  • Preferred on daily and weekly charts
  • Less prone to false crossover signals
  • The 200-day SMA is one of the most widely followed MAs
  • Ideal for position traders and long-term analysis

B

Exponential Moving Average (EMA)

  • More weight on recent prices
  • Faster to react to new information
  • Better for shorter timeframes and scalping
  • Preferred on M15, H1, and H4 charts
  • More false signals in choppy markets
  • The 9 and 21 EMA are popular for entries
  • Ideal for day traders and swing traders

Key Moving Average Periods

PeriodTypePrimary UseTimeframe Relevance
9 EMAFastShort-term trend, intraday signals, scalping entriesM15, H1
21 EMAFast-MediumPullback entries in established trends, swing tradingH1, H4
50 SMA/EMAMediumMedium-term trend, widely watched reference levelH4, Daily
100 SMAMedium-SlowBroader trend context, less commonly usedDaily
200 SMA/EMASlowLong-term trend definition — one of the most widely followed MAsDaily, Weekly
Tip

The 200 SMA on the daily chart

The 200-day SMA is one of the most widely followed indicators in trading — financial media routinely report whether a market is above or below it. Many traders treat price above it as a bullish regime and below it as bearish, which makes it a useful filter rather than a signal on its own. Because so many participants watch it, price often reacts as it approaches the line — but it also cuts straight through regularly.


Moving Average Crossover Strategies

Golden Cross

Term

When a shorter-period moving average (e.g., 50 SMA) crosses above a longer-period moving average (e.g., 200 SMA). Widely interpreted as a major bullish signal, and some trend-following strategies use it as a trigger. The golden cross gets extensive media coverage, which some argue can make it partly self-fulfilling.

Death Cross

Term

When the 50 SMA crosses below the 200 SMA. The bearish counterpart to the golden cross. Signals a potential long-term bearish trend shift. Often covered heavily in financial media and can become a self-fulfilling prophecy. However, by the time the death cross occurs, a significant portion of the decline may have already happened.

Crossover StrategyFast MASlow MABest ForTypical Behavior
Golden/Death Cross50 SMA200 SMALong-term trend shiftsLags the most; fewer signals and fewer whipsaws
EMA Ribbon Entry9 EMA21 EMASwing trade entriesMore signals, more whipsaws in ranges
Fast Scalping Cross5 EMA13 EMAIntraday momentumVery fast, many false signals — needs filters
Intermediate Swing20 EMA50 EMAMedium-term positioningBetween the two in speed and noise
Heads up

Lagging indicator alert

Moving averages are lagging indicators — they're based on past prices. The golden/death cross often signals a trend change AFTER much of the move has already happened. Use them for trend confirmation and dynamic support/resistance, not as standalone entry triggers. A common use of moving averages is as a filter: only take long trades when price is above the 200 SMA, and only take short trades when below.

Example

Real-world example: S&P 500 golden cross, February 2023

On 2 February 2023, about four months after the October 2022 low, the S&P 500's 50-day SMA crossed back above its 200-day SMA — a golden cross that many read as a sign the bear market was over. It was no all-clear: the index fell about 8% into mid-March 2023 before the advance resumed, reaching its first record close in two years on 19 January 2024. The cross lagged the actual bottom by months; its value was as confirmation that the longer-term trend had shifted, not as a timing tool. Source: S&P 500 daily closes (S&P Dow Jones Indices).

50periods
5periods200periods

A 50-period MA is a medium-term trend indicator. The 50 SMA/EMA is one of the most widely watched. Price above it generally means bullish bias; below means bearish bias. A bounce from the 50 MA on the daily chart is a classic trend-continuation entry.


Dynamic Support and Resistance

One of the most practical uses of moving averages is as dynamic support and resistance. In an uptrend, price often pulls back to a key moving average and bounces — the MA acts as a moving floor under price. In a downtrend, the MA acts as a moving ceiling. The 21 EMA, 50 SMA, and 200 SMA are the most commonly used for dynamic S/R trades.

LONG EUR/USDexample signal

Entry

1.0865

Stop

1.0820

Target

1.0965

R:R 1:2.2

EUR/USD pulled back to the 50 EMA on the daily chart at 1.0860. A bullish hammer formed at this dynamic support. Entry above the hammer at 1.0865, stop below the MA and the hammer's low at 1.0820, target at the previous swing high at 1.0965. The 50 EMA acting as dynamic support adds a second reason for the trade. R:R approximately 1:2.2.

Knowledge check

EUR/USD is trading above its 200 SMA on the daily chart, and the 50 SMA has just crossed above the 200 SMA. What do these signals suggest?

Knowledge check

In a strong uptrend on the H4 chart, price consistently bounces off the 21 EMA on pullbacks. What role is the 21 EMA playing?