What Is a Moving Average?
A moving average is a calculation that smooths a series of prices by averaging them over a fixed window of time. Each new period, the oldest price drops out of the window and the newest one is added, so the average moves along with the market. Plotted on a price chart, it forms a single line that follows the general direction of a security's price while filtering out day-to-day fluctuations.
Moving averages are one of the most widely used tools in technical analysis. They are applied to stocks, exchange-traded funds, currencies, and indexes, and they are often drawn directly over the price chart.
How It Is Calculated
The most common version is the simple moving average (SMA), which is the arithmetic mean of closing prices over a chosen number of periods:
SMA = (P1 + P2 + ... + Pn) / n
Here, P1 through Pn are the closing prices for the most recent n periods, and n is the window length. A 10-day moving average, for example, adds the last ten closing prices and divides by ten. The calculation is repeated each day with the newest data.
The exponential moving average (EMA) is a variation that gives greater weight to recent prices, so it reacts more quickly to changes. The window length is usually chosen based on the time horizon being studied: shorter windows track price closely, while longer windows show broader movement. Frequently watched lengths include 50 and 200 periods, though no length is universally correct.
Uses and Limitations
Investors commonly use moving averages to judge the direction of a trend. When price sits above its moving average, the trend is often described as upward; when it sits below, as downward. A crossover, where a shorter moving average crosses a longer one, is sometimes read as a sign that momentum is changing. Moving averages can also act as informal support and resistance levels.
The main limitation is that a moving average is a lagging indicator. Because it is built from past prices, it confirms trends after they have started rather than predicting them. In sideways markets, it can produce frequent false signals. Its usefulness also depends on the chosen window length, which is a judgment call. Moving averages describe past price behavior and do not guarantee future results.
Updated October 15, 2026. For general education only; not financial, tax or legal advice.