Master Moving Averages: A Guide to Smarter Stock Investments
By Forex & Brokers DeskUpdated Nov 10, 2026

Key takeaways
- A market trading above its 200-day moving average is commonly treated as bullish, and one below it as bearish.
- An EMA uses the multiplier 2 ÷ (periods + 1), so it turns faster than an SMA but gives more false signals.
- A golden cross is the 50-day SMA crossing above the 200-day SMA, and a death cross is the reverse.
- Crossover systems often whipsaw in flat markets, so traders risk only 1% to 2% of capital per trade.
A moving average helps you invest more deliberately by turning a noisy price series into one line that shows the direction and strength of the trend. It does three practical jobs: it tells you whether a stock is trending or drifting sideways, it marks levels where pullbacks often pause, and it produces entry and exit signals when price, or a faster average, crosses it. A widely used rule of thumb treats a market trading above its 200-day moving average as being in a bull phase and one trading below it as being in a bear phase. The indicator does not make money by itself. Profits from moving average strategies come from applying the signals in trending conditions and controlling losses when they fail.
What a moving average measures
A moving average is the average price over a fixed number of periods, recalculated each period as new data arrives. It is “moving” because the oldest value drops out of the window when the newest one is added. Most moving averages use closing prices, so a daily chart needs only one data point per day. The same logic applies to any time frame: a 20-period average on an hourly chart averages the last 20 hourly closes.
Simple moving average (SMA)
The SMA adds the last n closes and divides by n. Every close in the window carries equal weight.
Hypothetical example: the last 10 daily closes of a stock add up to $500, so the 10-day SMA is $50.00. The next day the stock closes at $55, and the oldest close in the window, $48, drops out. The new sum is $507, and the SMA moves to $50.70.
Because the SMA weights old and new prices equally, it reacts slowly to change. That makes it a steady trend gauge but a late signal generator.
Exponential moving average (EMA)
The EMA gives more weight to recent prices, so it turns faster than an SMA of the same length. It is calculated in three steps:
- Calculate an SMA for the chosen period and use it as the first EMA value.
- Calculate the weighting multiplier: 2 ÷ (number of periods + 1). For a 10-day EMA, that is 2 ÷ 11 = 0.1818, or 18.18%.
- Each new period: EMA = (Close − previous EMA) × multiplier + previous EMA.
Hypothetical example: yesterday’s 10-day EMA was $50.00 and today’s close is $52.00. The new EMA is (52 − 50) × 0.1818 + 50 = $50.36.
The faster response helps the EMA catch momentum shifts sooner. The cost is more false signals when the market is choppy.
Weighted moving average (WMA)
The WMA also favors recent data, but the weights fall in a straight line rather than exponentially. In a 3-period WMA, the latest close gets a weight of 3, the prior close 2 and the oldest 1, and the total is divided by 6.
Hypothetical example: closes of $10, $11 and $12 (latest) give a WMA of (12 × 3 + 11 × 2 + 10 × 1) ÷ 6 = $11.33, compared with an SMA of $11.00. The WMA behaves much like the EMA in practice; the difference is in the calculation, and it is somewhat less responsive.
Smoothed moving average (SMMA)
The SMMA is a variation on the SMA and EMA that carries more past data into each calculation. It filters out more noise than the other three types and reacts more slowly than any of them, which suits traders who accept late signals for a calm trend line.
Choosing a period: 20, 50 and 200
The period sets the trade-off between responsiveness and reliability. A shorter average follows price closely and signals early but whipsaws more. A longer average ignores minor swings but confirms turns late.
The most common reference points on daily stock charts are:
- 20-day: tracks the short-term trend. Swing traders often use it to time entries after pullbacks, and a pullback that holds it suggests strong momentum.
- 50-day: reflects the intermediate trend. A pullback that reaches it is a deeper correction within the trend.
- 200-day: represents the long-term trend and anchors the bull/bear rule of thumb.
Traders also use other lengths, such as the 100-day or 150-day, or short EMAs like the 9 and 21 for faster setups. No single period is best for stocks. The choice depends on how long you hold a position and how volatile the stock is. A long-term investor can use the 200-day as a filter for adding or reducing exposure, while an active trader may rely on a 20-period line on an intraday chart.
Reading the trend
- Rising average, price above it: an uptrend. Momentum favors buyers as long as price stays above the line.
- Falling average, price below it: a downtrend. Sellers have control.
- Flat average, price crossing back and forth: consolidation. Trend-following strategies tend to perform poorly here because signals reverse before they can pay off.
Slope matters as much as position. Price that briefly pops above a falling 200-day average is not the same as price riding a rising one. When the market is below its EMA and that EMA is pointing down, the bias is bearish until both conditions change.
Stacking several averages adds detail. When the 20-day is above the 50-day, which is above the 200-day, and all three are rising, short, intermediate and long-term trends agree. When the lines tangle together, the trend is unclear.
Moving averages as support and resistance
In trending markets, moving averages act as dynamic support and resistance levels that move with price. In an uptrend, price often pulls back to a major average and bounces. In a downtrend, rallies often stall at the average.
Part of the reason this works is that traders expect it to: orders cluster at a widely watched line, which makes a reaction more likely. The same self-fulfilling quality means reactions are not guaranteed. If conviction fades, the level breaks.
Price tends to behave differently around different averages. At the 20-day, a strong trend may find support or resistance and reverse quickly back in the trend’s direction. At the 50-day or 200-day, price is more likely to move sideways for a while before the longer-term trend resumes.
Moving average trading strategies
Price crossovers
A price crossover occurs when price closes through a moving average.
- Bullish crossover: price moves above the average, pointing to possible upside momentum.
- Bearish crossover: price drops below the average, pointing to a possible downtrend.
A typical setup: a stock is in an uptrend, pulls back below its 20-day EMA, then closes back above it. That return above the line is a bullish signal that the trend may resume. Placing a stop-loss just below the 20-day EMA defines the risk: if price falls back through the average, the setup has failed.
Using price as a filter
Many traders use the moving average to decide which direction to trade rather than when to trade. If a stock is rising above a steadily rising 20-day SMA, shorting it goes against the trend; if it is falling below a declining average, buying it goes against the trend. Filtering trades this way removes setups that fight the dominant direction.
Dual moving average crossovers
The dual moving average strategy uses two lines: a shorter, faster average and a longer, slower one. A crossover between them is read as the start or end of a trend.
- Golden cross: the 50-day SMA crosses above the 200-day SMA, signaling a possible uptrend.
- Death cross: the 50-day SMA crosses below the 200-day SMA, signaling a possible downtrend.
The rule is the same for any pair. When a 9 EMA crosses above a 13 EMA, that is bullish. When it crosses below, that is bearish, meaning recent prices are weakening relative to the longer average. A 9 EMA crossing a 200 EMA compares a very short-term trend with the long-term trend, so it signals often and can flip back quickly.
Traders apply dual crossovers across stocks, forex, futures and crypto, adjusting the periods to the market and holding time. The method captures large trends but whipsaws when price moves sideways.
Why position sizing decides the outcome
Because crossover systems are wrong often in ranging conditions, profitability depends on keeping losses small and letting winners run so the gains outweigh the frequent small losses. A common guideline is risking 1% to 2% of capital per trade and setting a minimum reward-to-risk ratio before entering.
Hypothetical example: with a $20,000 account and a 1% risk limit, the most you can lose on one trade is $200. You buy at $50.00 after a bullish crossover and place the stop at $47.50, just below the 20-day EMA. Risk per share is $2.50, so the position is $200 ÷ $2.50 = 80 shares. This assumes the stop fills at its trigger price and ignores commissions. A gap below the stop can fill at a worse price, so the actual loss can exceed $200.
Confirming signals with other indicators
- Volume: a crossover on high volume shows participation behind the move. A breakout on low volume is more likely to fail.
- MACD: built from the difference between two EMAs, it helps confirm momentum shifts suggested by a crossover.
- RSI: divergence between RSI and price can warn that a trend is losing strength before the moving averages turn.
- Bollinger Bands: these bands, plotted around a moving average, help validate breakouts and avoid weak signals in sideways markets.
- Average True Range (ATR): measures volatility and can guide period choice, with shorter averages in quiet markets and longer ones in volatile conditions. ATR also helps set stops beyond normal daily swings.
Candlestick patterns at a moving average add timing detail: a bullish reversal candle at the 50-day says more than the touch alone.
Putting it into a plan
A moving average strategy becomes usable once each decision is written down in advance:
- Pick the holding period and match the averages to it, such as 20 and 50 for swing trades or 50 and 200 for longer-term positions.
- Choose SMA for steadier lines or EMA for faster response.
- Check the slope of the longer average to confirm a trend exists, and stand aside when it is flat.
- Define the entry: a price crossover, a bounce from the average or a dual crossover.
- Require at least one confirmation, such as rising volume or supportive momentum.
- Set the stop beyond the average and size the position so the loss stays within 1% to 2% of capital.
- Define the exit, such as a close back through the average or the opposite crossover.
Test these rules with no money at risk, for example in a stock market simulator, to see how often they whipsaw on the stocks you follow before committing capital.
The Bottom Line
Moving averages suit stock and forex traders who want a clear read on trend direction and rules for entries and exits. The signals pay off in trending markets and fail often when the average is flat. A workable plan matches the averages to the holding period, requires a confirming signal, sets stops beyond the line, sizes positions to cap losses, and tests the rules with no money at risk before using real capital.











