What is a moving average?
VembitSeptember 2, 2026
A moving average is a line on a chart that shows the average price of an asset over a set number of periods, updated as each new candle closes. It smooths out short-term noise so you can see the underlying trend more clearly. Moving averages are among the most widely used indicators in trading and form the basis of many other tools, including MACD.
Simple vs Exponential Moving Averages
- Simple moving average (SMA) - Adds up closing prices over a period and divides by the number of periods, giving each price equal weight
- Exponential moving average (EMA) - Gives more weight to recent prices, so it reacts faster to new moves
- Trade-off - EMAs respond quicker but give more false signals; SMAs are smoother but lag more
Popular Settings
- 20-period - Tracks short-term trend; popular with swing and day traders
- 50-period - A common medium-term trend gauge
- 200-period - Widely watched long-term trend line, especially on the daily chart
- 9 and 21 EMA - Fast pairs used by short-term traders for momentum
There is no perfect setting. What matters is using it consistently and knowing what it is meant to show.
How Traders Use Moving Averages
- Trend direction - Price above a rising average suggests an uptrend; below a falling one, a downtrend
- Dynamic support and resistance - In trends, price often pulls back to an average before continuing
- Crossovers - When a faster average crosses a slower one, it can signal a change in momentum
- Filters - Some traders only take long trades when price is above the 200-period average
The crossover of the 50 and 200-day averages is often called a golden cross (bullish) or death cross (bearish).
Limitations
Moving averages are lagging indicators: they are based on past prices, so they confirm trends rather than predict them. In sideways markets, price will cross back and forth over the average, producing repeated false signals. That is why many traders combine averages with support and resistance or a momentum tool like RSI.
A Simple Example
Imagine EUR/USD is trading above its rising 50-period EMA on the 4-hour chart. A trend-following trader might wait for a pullback to the average, look for a bullish candle there, and enter with a stop below the recent swing low. If price instead closes well below the average and the line flattens, they step aside. Read Moving Averages: A Practical Guide for more setups.
Risk note: no indicator guarantees a result. Always use a stop loss and sensible position sizing.
Choosing the Right Moving Average for You
- Short-term traders - Fast EMAs such as the 9 or 20 react quickly to intraday moves
- Swing traders - The 20 and 50-period averages on 4-hour or daily charts are common
- Long-term view - The 200-day average helps define the broader trend
- Keep it simple - One or two averages are usually enough; more lines rarely add information
Test any setting on past charts and in a small live account before relying on it.
Ready to put this into practice? Open Vembit to add moving averages to live charts and test which settings suit your style.