Draft — These backtests have not yet been independently verified. Do not trade based on this data.
Home
Study — Daily 21 EMA Deviation

How far can SPY stretch
from the 21 EMA —
and when does it snap back?

The daily 21 EMA is the pivot of the Saty system — the core trend reference. Over 25 years, SPY has closed as far as +7.2% above and −18.5% below it. When price stretches beyond +4%, the reversion is predictable. The question is which signal tells you it's starting.

Data notes: Daily close = 4:00pm ET (RTH close, not the 4:30 closing auction or ETH close).
Daily EMA21, daily PO, and deviation — computed on RTH bars (9:30am–4pm ET).
4-hour PO — computed on ETH bars (includes pre/post-market: 4am–8pm ET). Extended-hours data inflates the 4h ATR denominator, which compresses PO readings vs what you’d see on an RTH-only chart.

Across 6,583 daily bars from January 2000 to April 2026, SPY's closing price deviates from the daily 21 EMA in a heavily asymmetric way. The upside ceiling is about +7% — the downside floor is nearly three times deeper.

Maximum Above
Close vs Daily 21 EMA
+7.21%
March 23, 2009 — Post-GFC bounce
Close $82.27 vs EMA $76.73
Intraday max+8.14%
DateMar 24, 2000
Maximum Below
Close vs Daily 21 EMA
−18.5%
October 9, 2008 — GFC crash
Close $91.75 vs EMA $112.62
Intraday max−24.4%
DateOct 10, 2008

The asymmetry is structural. Crashes compress weeks of buying into days of selling. SPY can stretch 2.5× further below the 21 EMA than above it.

SPY spends most of its time in a narrow band above the 21 EMA. The median deviation is +0.68% — price naturally rests slightly above its trend. The distribution has a fat left tail from crash episodes.

Close vs Daily 21 EMA — Distribution
6,583 daily bars · Jan 2000 – Apr 2026
< −10%
0.5%
32
−10% to −5%
2.1%
138
−5% to −3%
5.0%
331
−3% to −1%
14.5%
955
−1% to 0%
14.1%
930
0% to +1%
22.0%
1,445
+1% to +2%
25.5%
1,680
+2% to +3%
11.5%
758
+3% to +5%
4.2%
274
> +5%
0.6%
40
+0.68%
Median deviation
SPY's natural resting state
83.7%
Days closing within
−2% to +2% of EMA21
1.6%
Days closing
> +4% above

Forward returns after extreme deviations confirm that the 21 EMA acts as a gravitational center. Oversold extremes (< −5%) produce the strongest bounce — +3.3% over 20 days. Overbought extremes (> +5%) revert too, but more gently.

Forward Returns by EMA21 Deviation Bucket
Mean return from entry · 6,583 daily bars
Deviationn1-Day5-Day10-Day20-Day
Dev > +5%40−0.73%−0.88%−0.58%+0.43%
Dev +3% to +5%274−0.12%−0.11%−0.08%+0.29%
Dev +1% to +3%2,438+0.03%+0.13%+0.29%+0.54%
Dev −1% to +1%2,375+0.02%+0.07%+0.18%+0.38%
Dev −3% to −1%955−0.01%+0.15%+0.40%+0.73%
Dev < −5%170+0.24%+0.78%+0.97%+3.31%
Dev < −7%77+0.50%+1.75%+2.64%+5.36%

Below −7% from the 21 EMA has been the strongest systematic buy signal in 25 years of SPY data. 20-day forward return: +5.36%. It only happens 77 times — roughly 3 days per year — all during crashes.

Only 106 days across 50 episodes in 25 years close more than 4% above the daily 21 EMA. These episodes are rare, brief, and carry a reliable bearish edge over the next 1–3 days.

50
Distinct episodes
in 25 years
2.1 d
Mean episode
length
8 d
Median days to
touch EMA21
100%
Reverted to EMA21
within 28 days
Forward Returns from First Close >4% Above EMA21
n = 50 episodes · Jan 2000 – Apr 2026
HorizonMean ReturnMedianGreen %
1-day−0.30%−0.16%44%
2-day−0.51%−0.24%40%
3-day−0.43%−0.38%38%
5-day−0.42%−0.30%44%
10-day−0.37%+0.49%58%

The first 3 days carry the strongest edge — only 38% green at day 3. By day 10, the mean is still negative but the median flips positive as some episodes rip higher first.

Peak Day of Each Episode — The Actual Top
Day of maximum deviation in each of the 50 episodes
HorizonMean ReturnGreen %
1-day−0.83%26%
2-day−0.98%26%
3-day−1.02%30%

The peak day of each episode is devastating for bulls: only 26% green the next day, with a −0.83% average. The challenge is identifying the peak day in real time — which is where the Phase Oscillator comes in.

The daily Phase Oscillator only updates at close, so it confirms the turn after the fact. The 4-hour PO reacts within the same day. We tested both as reversion filters when price is >4% above the daily 21 EMA.

ETH vs RTH: The daily EMA21 and daily PO are computed on RTH-only bars (9:30–4pm). The 4-hour PO is computed on ETH bars (4am–8pm), which includes pre- and post-market. Extended-hours volatility inflates the ATR denominator in the PO formula, compressing 4h PO readings relative to an RTH-only chart. Zone labels (distribution, neutral up, etc.) may differ from what you see on TradingView with RTH-only settings.

Signal Frequency: How Often Does Each Fire?
Out of 106 days with close >4% above daily 21 EMA
4h PO peaked
60%
64 d
4h PO declining
46%
49 d
Dev shrinking
29%
31 d
4h LD fired
14%
15 d
Red candle
14%
15 d
Daily PO declining
12%
13 d
Daily LD fired
0%
0 d

The daily leaving_distribution signal fires zero times while >4% above EMA21. The daily PO declining fires only 12% of the time. The 4h PO declining fires 4× more often — giving you a signal you can actually trade.

The direct comparison, showing all three short-term horizons. Each signal is tested on days where the close was >4% above the daily 21 EMA.

Single Signals — 1d / 2d / 3d Forward Returns
Green % = % of instances where forward return was positive
Signaln1-Day2-Day3-Day1d Green
All days >4% (baseline)106−0.43%−0.63%−0.62%40%
4h PO big drop (Δ < −10)7−1.64%−1.29%−1.05%14%
Daily PO dec + red candle8−1.44%−1.11%−0.91%25%
4h PO declining + red candle12−1.22%−0.80%−0.78%33%
4h leaving extreme up5−0.51%−1.59%−1.04%0%
Daily PO declining13−0.89%−0.98%−0.39%31%
4h LD fired + dev shrinking10−0.66%−1.19%−0.62%40%
4h declining, daily still rising38−0.42%−0.81%−0.85%39%
4h PO declining49−0.50%−0.74%−0.71%39%
4h PO peaked intraday64−0.51%−0.77%−0.54%38%

Day 2 is often worse than day 1. The 4h leaving-extreme-up signal shows −0.51% on day 1, but −1.59% by day 2. The selling accelerates into the second day of reversion.

Stacking conditions improves the signal. Here are the best combos for 1–3 day horizons.

Combo Signals — 1d / 2d / 3d Forward Returns
All conditioned on close >4% above daily 21 EMA
Signal Stackn1-Day2-Day3-Day1d Green
4h PO in distrib + declining15−0.51%−0.67%−0.17%27%
4h PO declining + dev shrinking21−0.65%−0.57%−0.35%33%
Both daily & 4h PO declining11−0.79%−0.48%−0.25%36%
4h declining + red candle12−1.22%−0.80%−0.78%33%
4h peaked + dev shrinking27−0.49%−0.70%−0.19%37%
4h distrib + declining + dev shrink6−0.24%−0.29%−0.37%33%

Not all >4% days are equal. The 4-hour Phase Oscillator zone at close tells you whether the stretched state is still accelerating or rolling over.

4h PO in Distribution
n = 45 days · PO between 61.8 and 100
−1.38%
10-day forward return — reversion is underway
1-day−0.40%
3-day−0.59%
1d green38%
4h PO in Neutral Up
n = 47 days · PO between 23.6 and 61.8
+0.36%
10-day forward return — trend still has legs
1-day−0.25%
3-day−0.44%
1d green40%

The 10-day forward return swings nearly 1.7 percentage points depending on the 4h PO zone. Distribution = reversion happening. Neutral Up = the trend absorbed the stretch and can continue.

The single most useful signal for trading the reversion is when the 4h PO is declining but the daily PO hasn't turned yet. It fires often enough to be practical (n=38), and it carries consistent negative returns across all horizons.

The "4h Leads Daily" Signal
4h PO declining + Daily PO still rising · while >4% above EMA21
−0.42%
1-Day Fwd
39% green
−0.81%
2-Day Fwd
34% green
−0.85%
3-Day Fwd
37% green
4h Leads DailyBaseline (all >4%)Edge
1-Day−0.42%−0.43%0
2-Day−0.81%−0.63%−0.18%
3-Day−0.85%−0.62%−0.23%
n38106

The edge grows from day 1 to day 3. At 2 days, only 34% green. At 3 days, still only 37% green. The 4h PO tells you the turn is starting before the daily PO confirms it — that's where the edge lives.

Every >+5% close above the daily 21 EMA in 25 years of SPY. These happen in sharp rallies off major bottoms — post-GFC, COVID recovery, and the dot-com peak.

Top 20 Closes Above Daily 21 EMA
Close-based deviation · 2000–2026
DateDev %CloseEMA21PO Zone
Mar 23, 2009+7.21%$82.27$76.73neutral up
Jun 8, 2020+7.03%$323.25$302.03extended up
Mar 23, 2000+6.65%$152.62$143.11distribution
Mar 26, 2009+6.64%$83.17$77.99neutral up
May 6, 2009+6.55%$92.14$86.48distribution
Apr 14, 2020+6.46%$283.87$266.63neutral up
Jun 5, 2020+6.46%$319.27$299.90distribution
Apr 19, 2001+6.27%$125.72$118.30neutral up
Apr 9, 2009+6.19%$85.82$80.82neutral up
Apr 17, 2020+6.06%$286.73$270.34neutral up
Oct 27, 2011+5.99%$128.60$121.33distribution
Apr 3, 2009+5.85%$84.25$79.59neutral up
Apr 29, 2020+5.65%$293.19$277.52neutral up
Oct 21, 2002+5.63%$90.28$85.47neutral up
May 12, 2025+5.13%$573.16$545.19neutral up

The daily Phase Oscillator and the EMA21 deviation share a 0.85 Pearson correlation — not surprising since the PO formula is literally (close − EMA21) / (3 × ATR). The PO normalizes by volatility (ATR), which is why the same 4% deviation can correspond to different PO readings depending on market regime.

Daily PO Zone vs EMA21 Deviation
Pearson r = 0.851
PO ZonenMean DevMedian DevRange
Extended Up67+2.75%+2.70%+1.4% to +7.0%
Distribution824+2.26%+2.07%+0.7% to +6.7%
Neutral Up2,175+1.60%+1.41%−1.3% to +7.2%
Neutral2,110+0.03%+0.07%−6.8% to +5.2%
Neutral Down1,036−2.13%−1.84%−12.4% to +0.4%
Accumulation336−4.60%−4.14%−17.2% to −1.5%
Extended Down35−9.85%−9.06%−18.5% to −3.5%