Technical Analysis

MovingAverage

Last Updated
Quick Definition

Moving Average — Moving Average is a continuously recalculated average of a security's price over a defined lookback period, used to smooth noise and identify trend direction.

Track Moving Average with JournalPlus

Moving average is a technical indicator that continuously recalculates the average price of a security over a specified lookback period, plotting a smoothed line on the chart. Traders use it to filter out price noise, identify trend direction, and locate dynamic support and resistance zones where price is likely to react. It appears on virtually every active trader’s chart in some form — from the 9 EMA on a 1-minute ES futures chart to the 200 SMA on a weekly SPY chart.

Key Takeaways

  • The slope and separation between two moving averages (the “ribbon”) is more actionable than waiting for a crossover — a widening 9/21 EMA ribbon confirms momentum, while a flattening ribbon signals chop.
  • All moving averages lag price by definition. On a $50 stock, a 200-day SMA may sit at $44 during a strong uptrend, meaning price can fall 12% before triggering any signal — size stops accordingly.
  • The 50 SMA and 200 SMA on the daily chart are institutional benchmarks. A first pullback to the 50 SMA after a breakout is a commonly watched institutional re-entry trigger.

How Moving Average Works

A moving average recalculates every bar by dropping the oldest period and adding the newest close, keeping the window fixed. The two dominant forms differ in how they weight those closes.

Simple Moving Average (SMA) weights every period equally:

SMA(N) = (Close₁ + Close₂ + ... + CloseN) / N

A 50-day SMA on AAPL simply averages the last 50 closing prices. Every day carries equal weight — a close from 50 sessions ago counts the same as today’s.

Exponential Moving Average (EMA) applies a multiplier that front-weights recent closes:

Multiplier = 2 / (N + 1)
EMA = (Close × Multiplier) + (Previous EMA × (1 − Multiplier))

A 9 EMA uses a multiplier of 2/(9+1) = 0.20, so today’s close contributes roughly 20% to the new EMA value. A 20 EMA applies a multiplier of ~9.5%. This makes EMA faster to respond to price changes than SMA — useful for momentum setups but more vulnerable to whipsaws in choppy conditions.

Standard configurations by use case:

  • Intraday momentum: 9 EMA and 21 EMA on 5-minute charts
  • Swing trading: 8 EMA and 21 EMA ribbon on daily charts
  • Institutional trend filter: 50 SMA and 200 SMA on daily charts

The Golden Cross (50 SMA crossing above 200 SMA) and Death Cross are widely followed macro signals. They are historically meaningful for multi-month trend traders but whipsaw-prone in sideways markets — the 2015–2016 period saw two Death Crosses on SPY with minimal sustained follow-through.

Slope matters as much as position. A rising EMA below price confirms trend continuation. A flat or declining EMA below price — even if price hasn’t crossed it — is a warning sign of a weakening trend or developing chop.

Practical Example

A day trader is watching SPY on a 5-minute chart. The 9 EMA is at $520.40 and the 21 EMA is at $519.80 — both rising and widening apart, a bullish ribbon configuration. Price had run from $519 to $522, then pulled back to test the 9 EMA at $520.40 with a hammer candle and above-average volume.

The trader enters long at $520.50. The stop goes at $519.60 — just below the 21 EMA — because a close below that level would break the ribbon structure. The target is $522.00, the prior high.

  • Risk: $520.50 − $519.60 = $0.90 per share
  • Reward: $522.00 − $520.50 = $1.50 per share
  • Reward-to-risk: 1.67R

This is the EMA ribbon pullback setup. The entry signal isn’t a crossover — it’s the bounce off a rising 9 EMA while the ribbon is widening. The SMA at $520.10 adds confluence as additional dynamic support directly below the entry.

The setup fails if the 9 EMA is flat or declining, or if the ribbon is compressed. Those conditions signal indecision, not momentum.


Moving average is a technical indicator that recalculates the average closing price over a fixed number of periods to smooth noise. Traders use it to identify trends, gauge momentum through ribbon slope, and find dynamic support where price is likely to hold.


Common Mistakes

  1. Using moving averages as standalone signals. A price crossing above a 50 SMA is not a trade — it’s one data point. Research by Barber and Odean shows retail traders relying on lagging indicators in isolation consistently underperform. MAs work best as confluence filters alongside volume, price action, and broader market context.
  2. Ignoring slope and treating position as binary. “Price is above the 200 SMA” means nothing if the 200 SMA has been declining for six months. A downward-sloping 200 SMA with price just above it is a bearish structure, not a bullish one.
  3. Placing stops at the MA itself. Because institutional desks watch the 50 SMA and 200 SMA, these levels attract stop-hunt moves. Stops placed exactly at the MA get swept routinely. Place stops beyond the MA — below it for longs — with a buffer of at least 0.3–0.5%.
  4. Applying the same settings across timeframes. A 9 EMA on a 1-minute chart has a lookback of 9 minutes. The same setting on a daily chart covers nine trading days. Always verify that the lookback period matches the trade’s intended holding time.

How JournalPlus Tracks Moving Average

JournalPlus automatically tags trades where entry or exit occurred near a moving average level, letting traders filter their journal by MA-based setups over time. Traders can review win rate and average R-multiple specifically on ribbon pullback entries versus crossover entries, turning anecdotal pattern recognition into measurable edge data.

Common Questions

What is a moving average in trading?

A moving average is a line plotted on a price chart that continuously recalculates the average closing price over a defined number of periods. It smooths out short-term noise and helps traders identify trend direction, momentum, and dynamic support or resistance levels.

What is the difference between SMA and EMA?

A Simple Moving Average (SMA) weights all periods equally, making it slower to respond to price changes. An Exponential Moving Average (EMA) applies heavier weighting to recent closes — a 9 EMA weights today's close at roughly 20% — making it faster to react but more prone to whipsaws.

What are the best moving average settings for day trading?

Most momentum day traders use the 9 EMA and 21 EMA on 5-minute or 1-minute charts as a ribbon to gauge short-term trend direction. The slope and separation between these two EMAs is often more actionable than a single crossover signal.

What is a Golden Cross in moving averages?

A Golden Cross occurs when the 50-day SMA crosses above the 200-day SMA, signaling a potential long-term bullish trend shift. The SPY Golden Cross on April 28, 2020, preceded a rally from roughly $286 to above $480 by late 2021.

Are moving averages lagging indicators?

Yes, all moving averages are lagging by construction because they are based on historical prices. A 200-day SMA averages the last 200 closes and will always trail current price — on volatile stocks like TSLA, this lag can exceed $10–$20 per share during strong trends.

Share this article

Track Moving Average Automatically

JournalPlus calculates your moving average and other key metrics from your trade data. Import trades and get instant insights.

SSL Secure
One-Time Payment
7-Day Money-Back
4.9/5 (1,287 reviews)
Track Moving Average automatically 7-Day Money-Back
Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime