Beating the Market with RSI and SPY Rotation

u/Expert_CBCD · Reddit — r/algotrading · July 22, 2026 at 13:05 · ⬆ 15 pts · 💬 24 comments  | View on Reddit ↗
AI Summary

Summary

  • The author presents a systematic rotation strategy using RSI calculated on EMA20 (RSI-EMA) applied to the top 20 S&P 500 stocks; when a stock’s RSI-EMA crosses above 30, it is bought, and capital otherwise stays in SPY, with exits after a fixed holding period (optimized to 15 trading days).
  • Backtest from 2010–2026 shows the 15‑day hold variant achieves a 23.1% CAGR vs. SPY’s 15.13%, but with significantly higher volatility (std dev ~22%) and large drawdowns in certain years (e.g., -31% in 2022).
  • The author claims the RSI-EMA modification produces smoother, more consistent signals, but the strategy’s real‑world robustness is unproven due to limited out‑of‑sample testing and potential overfitting of the holding period.
Score 15
Comments 24
Upvote % 83%
Full Post Text
Ideas
u/Expert_CBCD Reddit r/algotrading
The strategy’s default position (no crossover) is long SPY, and the backtest shows SPY buy‑and‑hold returns average 15.13% annually with a 1.20 Sharpe. Although the full rotation system outperforms, its intermittent SPY exposure acts as a safe haven during low‑signal periods, implying a tactical long bias in SPY when the system is not triggered. Long SPY is the core “cash” position of the strategy; it benefits from broad market growth when no individual stock entry signal appears, making it a low‑conviction but reasonable trade for investors who adopt the framework. The strategy can remain in SPY for extended periods (e.g., 2013—only 0.65% return); a pure SPY long ignores the rotation’s alpha from stock selection. No other actionable trade ideas (the post describes a system, not current ticker‑specific entry/exit signals).
More from Reddit — r/algotrading

This Reddit post, published July 22, 2026, features u/Expert_CBCD discussing SPY. 1 trade idea extracted by AI with direction and confidence scoring.

Speakers: u/Expert_CBCD  · Tickers: SPY