What is a moving average?
A moving average is a line that plots the average price of an asset over a set number of past periods, recalculated at the close of each new period. A 50-day moving average, for example, is simply the average of the last 50 closing prices, updated every day.
It is called moving because each new period drops the oldest data point and adds the newest one. The window slides forward through time, so the average is always anchored to the most recent stretch of price action.
The purpose is to smooth out day-to-day noise so the underlying trend becomes visible. A rising moving average signals an uptrend; a falling one signals a downtrend; a flat one signals a range or consolidation. The slope of the line tells you the direction of the market at a glance.
Key point
A moving average is a lagging indicator. It is built from past prices, so it confirms trends rather than predicting them. That lag is the trade-off you accept in exchange for a clean, noise-free read on direction.
SMA vs EMA
There are two moving averages you will encounter constantly. They answer the same question — what is the average price? — but they weight the data differently.
Simple Moving Average
The plain average of closing prices over N periods, with every period weighted equally. This makes the SMA smoother and slower to react — it is the steadier, big-picture line.
Exponential Moving Average
Weights recent prices more heavily, so it reacts faster to new price action. The EMA is more responsive and catches turns sooner — but it also produces more false signals.
| SMA | EMA | |
|---|---|---|
| Weighting | Equal | Recent prices weighted more |
| Reaction speed | Slower | Faster |
| Noise / false signals | Fewer | More |
| Best for | Long-term trend (200-day) | Short-term trading (9, 12, 21-day) |
Rule of thumb
Traders use EMAs for fast signals and SMAs for the big-picture trend.
The key periods traders watch
A handful of moving average lengths are watched by virtually everyone. These are the ones that matter.
9 & 21 EMA
Short-term momentum gauges used by active and swing traders. They hug price closely and react quickly, making them ideal for timing fast-moving setups.
50-day SMA
The medium-term trend gauge. When price holds above the 50-day, the trend is considered healthy; when price loses it, traders turn cautious.
100-day SMA
The intermediate trend line. It sits between the short-term 50-day and the long-term 200-day, smoothing out medium-horizon swings.
200-day SMA
THE long-term trend line — the single most-watched level in the market. Above the 200-day is bull market structure; below it is bear market structure. Institutions actively defend it.
How to use moving averages
There are three main ways traders put moving averages to work. Most use all three together.
Trend identification
Price above a rising moving average signals an uptrend — look for buys. Price below a falling moving average signals a downtrend — look for sells or stand aside. The slope and the side price is on tell you the regime.
Dynamic support & resistance
In an uptrend, price often pulls back to the 50-day moving average and bounces. In a downtrend, price rallies up to the moving average and gets rejected. The line acts like support and resistance that moves with the trend.
Crossovers
When a faster moving average crosses a slower one, it signals a potential trend change. This is the basis of the golden cross, the death cross, and short-term crossover systems covered below.
The golden cross & death cross
The two most famous moving average signals both involve the 50-day and 200-day averages — the medium-term and long-term trend lines. When one crosses the other, the market takes notice.
Golden cross
The 50-day moving average crosses above the 200-day moving average. It is widely seen as a bullish signal that a new uptrend is establishing, and historically it has preceded extended rallies.
Death cross
The 50-day moving average crosses below the 200-day moving average. It is widely seen as a bearish signal warning that a downtrend may be taking hold.
Caveat
Both are lagging signals. By the time the cross actually happens, a big part of the move may already have occurred. They work best as trend confirmation, not precise timing.
Moving average crossovers for entries
The same crossover logic works on shorter timeframes for actual entry and exit signals — most commonly with the 9 and 21 EMAs.
The basic system
When the 9 EMA crosses above the 21 EMA, that is a bullish momentum entry. When the 9 EMA crosses below the 21 EMA, that is your exit or short signal.
Read the gap between the lines
The wider the gap between the two moving averages, the stronger the trend. A widening gap means momentum is accelerating in your favor.
Beware the tangle
When the moving averages converge and tangle — flattening and crossing repeatedly — the market is ranging. Crossover signals become unreliable here and produce whipsaws that chop up your account.
Trade with the higher timeframe
Only take crossover signals in the direction of the higher-timeframe trend. A bullish 9/21 cross is far more reliable when the daily 200-day is also pointing up.
Limitations of moving averages
Moving averages are powerful, but they are not magic. Understanding their weaknesses is what keeps you out of trouble.
They lag
Because they are built from past data, moving averages tell you what has already happened — not what will happen next. You are always reacting a step behind price.
They whipsaw in choppy markets
In sideways or choppy conditions, price crosses back and forth over the average repeatedly, producing a stream of false crossover signals that bleed your account.
There is no single best period
A length that works beautifully in one market regime fails in another. The 50 and 200 are popular conventions, not optimal settings for every instrument.
They need a trend
Moving averages work best in clearly trending markets and poorly in ranges. Knowing which environment you are in is half the battle.
Never use them alone
Always combine moving averages with other tools — support and resistance, volume, and price structure. Never trade a moving average in isolation.
Watch moving averages on live charts
Apply what you learned — track the 50-day and 200-day on real price data and spot the crosses as they form.
The bottom line
Moving averages are the simplest, most widely used tool in technical analysis — and their power comes precisely from that popularity. Because millions of traders watch the 50-day and 200-day, those levels become self-fulfilling. Use moving averages to identify the trend and define dynamic support, but never forget they lag. They are a compass, not a crystal ball. In a strong trend they keep you on the right side; in a choppy range they will whipsaw you. Know which environment you're in.
Frequently asked questions
What is the difference between SMA and EMA?+
A Simple Moving Average (SMA) weights all periods equally, making it smoother and slower to react. An Exponential Moving Average (EMA) gives more weight to recent prices, so it responds faster to new price action. Traders generally use EMAs for short-term signals and SMAs — especially the 200-day — for the long-term trend.
What does the 200-day moving average mean?+
The 200-day moving average is the most-watched long-term trend indicator in the market. When price trades above a rising 200-day SMA, the market is generally considered to be in a healthy uptrend or bull structure. When price falls below it, many traders and institutions turn cautious or defensive.
What is a golden cross?+
A golden cross occurs when the 50-day moving average crosses above the 200-day moving average. It is widely interpreted as a bullish signal indicating a new uptrend may be establishing. Because it is a lagging signal, it confirms a trend that is already underway rather than predicting a new one.
What is a death cross?+
A death cross is the opposite of a golden cross — it occurs when the 50-day moving average crosses below the 200-day moving average. It is viewed as a bearish warning that a downtrend may be developing. Like the golden cross, it is a lagging signal best used for trend confirmation, not precise timing.
Why do moving averages give false signals?+
Moving averages lag price because they are calculated from past data. In sideways or choppy markets, price repeatedly crosses back and forth over the average, generating false crossover signals known as whipsaws. Moving averages perform best in clearly trending markets and should always be combined with other tools like support, resistance, and volume.