Articles

What Is a Moving Average? Reading Price Trends

A moving average smooths out price noise by averaging recent data points over a rolling window. How simple and exponential moving averages work.

Kurumi Kurumi · · 4 min read
Close-up of a candlestick price chart

A moving average is a calculation that smooths out a data series — most commonly a security’s price — by averaging a fixed number of recent data points and recalculating that average as each new point arrives. The “moving” part is the key idea: the window of data being averaged slides forward with time, so the average continuously updates rather than being a single fixed number.

Why smoothing matters

Daily price data is noisy — a stock can swing several percent in a single session for reasons that have nothing to do with its underlying trend. Looking at raw daily closes makes it hard to tell a genuine trend change from ordinary day-to-day noise. A moving average filters that noise out by design: because it’s an average of many recent points, no single day’s move can swing it much, which makes the underlying direction easier to read at a glance.

This is the same underlying principle behind smoothing any noisy time-ordered data, not just prices — it’s a form of the same rolling-window averaging used when smoothing sensor readings or metrics dashboards, just applied to a specific financial series.

Simple moving average (SMA)

The simple moving average is the average of the last N closing prices, recalculated as a new day’s data replaces the oldest day in the window.

SMA(5) on day t = (price[t] + price[t-1] + price[t-2] + price[t-3] + price[t-4]) / 5

A “50-day moving average” and “200-day moving average” are the two most commonly referenced windows — a shorter window that tracks price more closely and reacts faster to changes, and a longer one that reflects the broader trend and moves more slowly. Every price point in the window contributes equally to an SMA, regardless of how recent it is.

Exponential moving average (EMA)

The exponential moving average instead weights recent data more heavily, using an exponentially decreasing weight for older points rather than treating every point in the window equally:

EMA[t] = price[t] × k + EMA[t-1] × (1 − k)

where k is a smoothing factor derived from the chosen window length. Because recent prices carry more weight, an EMA reacts to new price changes faster than an SMA of the same length — it’s less “laggy,” at the cost of being somewhat more sensitive to short-term noise than an SMA would be.

SMA vs EMA

Simple moving averageExponential moving average
WeightingEqual across the windowHeavier weight on recent prices
ResponsivenessSlower to reflect new movesFaster to reflect new moves
Noise sensitivityLowerSlightly higher
Common useLong-term trend reference (50/200-day)Faster-reacting trend or momentum signals

Neither is strictly “better” — they answer slightly different questions. An SMA is a steadier reference line for the broader trend; an EMA is a quicker-to-react line often used specifically because its faster response makes crossovers and trend changes visible sooner.

Common patterns built from moving averages

Golden cross / death cross. When a shorter-window moving average (commonly the 50-day) crosses above a longer-window one (commonly the 200-day), that’s referred to as a golden cross, often read as a signal of strengthening upward momentum. The reverse — the shorter average crossing below the longer one — is a death cross, read as the opposite. These crossovers are lagging by construction, since moving averages are themselves already a lagged smoothing of price, so they confirm a trend that’s already underway rather than predicting one before it starts.

Support and resistance. Traders sometimes observe a security’s price repeatedly bouncing off a particular moving average line during a trend, treating it informally as a dynamic support (in an uptrend) or resistance (in a downtrend) level — though this is an empirical pattern people watch for rather than a mechanical rule the market is obligated to follow.

What a moving average doesn’t tell you

A moving average describes where price has been, smoothed — it says nothing directly about a company’s fundamentals, valuation, or future prospects. It’s a tool of technical analysis, the practice of studying price and volume patterns, as distinct from fundamental analysis, which studies a company’s financials, competitive position, and the kind of durable advantages discussed in our piece on economic moats. Many investors use both lenses together rather than picking one exclusively — fundamentals to decide what to own, technicals like moving averages to think about timing or trend context.

It’s also worth being clear about what a moving average is not: it isn’t a valuation metric like a P/E ratio, and it isn’t the same exercise as dollar-cost averaging, which is an investing strategy about when you buy, not a chart calculation about where price has been. A market maker quoting bid and ask prices, and the choice between a limit order and a market order when you actually execute a trade, are separate mechanical concerns from any trend analysis you might do beforehand.

The takeaway

A moving average smooths a price series by averaging a rolling window of recent data points, making the underlying trend easier to read than raw daily prices allow. A simple moving average weights every point in the window equally; an exponential moving average weights recent points more heavily and reacts faster. Both are lagging indicators by nature — they describe a trend already in motion rather than predicting the next one — which makes them a tool for context and confirmation, not a substitute for understanding what you actually own.

Kurumi Kurumi · · 4 min read

What Is a Credit Rating? How Bond Ratings Work

A credit rating is a letter-grade opinion on how likely a borrower is to repay debt, set by agencies like S&P, Moody's, and Fitch.

#Finance #Markets #Investing
Kurumi Kurumi · · 4 min read

What Is Arbitrage? Risk-Free Profit, Explained

Arbitrage is profiting from a price gap for the same asset in different markets, buying low and selling high nearly simultaneously with minimal risk.

#Finance #Markets #Investing
Kurumi Kurumi · · 4 min read

What Is a DRIP? Dividend Reinvestment Plans

A DRIP automatically reinvests cash dividends into more shares, often commission-free, compounding returns without a manual trade each time.

#Finance #Markets #Investing