Skip to main content
All posts

What is the Gap Between the 200-Day and 50-Day Moving Average? Definition, Formula, and Example

The gap between the 200-day and 50-day moving average is the percentage difference between those two trend lines, used to measure how far price has extended from its long-term trend.

What is the gap between the 200-day and 50-day moving average?

The gap between the 200-day and 50-day moving average measures the percentage distance between the short-term trend line and the long-term trend line. Traders use it to quantify whether price is overextended above its long-term average or has collapsed toward it. A wide positive gap suggests momentum has carried price far above the 200-day mean, while a negative gap indicates price trades below the long-term trend. This metric converts two moving averages into a single extensibility number that helps traders decide whether to chase a trend or wait for mean reversion.

How it is calculated

First, calculate the simple moving average for each window. The 50-day SMA sums the last 50 closing prices and divides by 50. The 200-day SMA does the same for the last 200 closes. The gap is the percentage difference between the two averages, expressed relative to the 200-day SMA:

Gap % = ((50-day SMA − 200-day SMA) ÷ 200-day SMA) × 100

If the 50-day SMA equals $150 and the 200-day SMA equals $140, the gap is (10 ÷ 140) × 100 = 7.14%. A positive result means the short-term average sits above the long-term average, indicating bullish extension. A negative result means the short-term average trades below the long-term average, indicating bearish extension. Traders often plot this gap as an oscillator to identify extremes where price has deviated too far from the long-term trend.

Worked example

Consider NVDA during a strong uptrend. Suppose its 50-day SMA is $120.00 and its 200-day SMA is $90.00. The gap is ((120 − 90) ÷ 90) × 100 = 33.33%. That means the short-term trend sits 33.33% above the long-term trend. If NVDA then rallies to $150 while the 200-day SMA only creeps up to $92.00, the 50-day SMA might reach $135.00, pushing the gap to ((135 − 92) ÷ 92) × 100 = 46.74%. At that level, many mean-reversion traders view the stock as overextended and reduce new long exposure, expecting price to pull back toward the 200-day average or for the 200-day average to catch up.

When traders use it

Traders monitor this gap to avoid buying at extended levels. When the gap exceeds historical norms for a given asset, new long entries carry higher risk of a pullback. When the gap narrows toward zero or turns negative, it can signal trend exhaustion or a potential trend change. Swing traders use the gap as a filter: they only take breakout longs when the gap is moderate, not extreme. Investors use it to time dollar-cost averaging into long-term positions when price has reverted close to the 200-day SMA. You can track this relationship on the live scanner by filtering for stocks where the 50-day SMA deviates from the 200-day SMA by a set percentage.

Limitations and common misconceptions

The gap does not predict direction by itself. A wide gap can persist for months during a strong trend, so extension alone is not a sell signal. The 200-day SMA is lagging by construction, so the gap reacts slowly to abrupt trend changes. Traders sometimes mistake a narrowing gap for a reversal when it may simply reflect a pause before the trend resumes. This metric works best when combined with volume, price action, and other oscillators rather than used as a standalone trigger.

Moving average, 200-day moving average, 50-day moving average, Mean reversion, Simple moving average