SMA/EMA Cross
Moving Average Crossover
Moving average crossovers are one of the oldest and most popular trend-following strategies. When a shorter-period MA crosses a longer-period MA, it signals a potential trend change.
How It Works
A Simple Moving Average (SMA) averages prices equally. An Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive. When the short MA crosses above the long MA, it signals a potential uptrend.
Formula
SMA(n) = (Sum of last n closes) / n
EMA(n) = Price × k + EMA(prev) × (1 - k)
where k = 2 / (n + 1)
Golden Cross: EMA(50) crosses above EMA(200) — major bullish signal
Death Cross: EMA(50) crosses below EMA(200) — major bearish signalSignal Interpretation
Short-term MA crosses above long-term MA — major bullish signal used by institutions.
Short-term MA crosses below long-term MA — major bearish signal.
Price above moving average = bullish trend. Price below = bearish trend.
Use Cases
- ▸Identifying long-term trend changes
- ▸Filtering stocks for uptrend vs downtrend
- ▸Setting trailing stop levels using the MA
Limitations
- ⚠Heavily lagging — crossovers often occur after most of the move
- ⚠Many false signals in sideways markets
- ⚠Longer periods reduce false signals but increase lag
The EMA(20)/EMA(50) crossover is excellent for swing trading. The EMA(50)/EMA(200) golden cross is a long-term buy signal with a very strong historical record.