Sitemap

Member-only story

Mean Reversion vs. Trend Following: What 26 Years of SPY Data Actually Says

What actually happens when you backtest the classic mean reversion vs. trend following claims.

10 min readJul 24, 2026

--

Press enter or click to view image in full size

Every trading YouTube channel eventually does the “mean reversion vs. trend following” video. The pitch is always the same: mean reversion wins often but gets its face ripped off occasionally; trend following loses constantly but cashes in big when a trend finally runs. Two different P&L distributions, same theoretical expectancy, pick your poison based on personality.

It’s a clean story. It’s also mostly untested — delivered as a hand-drawn curve with “not to scale, no numbers on here” written right into the narration.

So I backtested it. RSI(2) mean reversion against a 50/200 SMA crossover, both long-only, both on SPY, both from January 2000 through July 2026. Here’s where the narrative holds up, and where it doesn’t.

The Setup

"""
Mean Reversion vs Trend Following — Backtest with vectorbt
-----------------------------------------------------------
Two strategies run on the same instrument/period for apples-to-apples
comparison of win rate, payoff ratio, and tail risk.

MEAN REVERSION : RSI(2) oversold/overbought (Connors-style)…

--

--

Kryptera
Kryptera

Written by Kryptera

Quant Research Systems Builder Pine Script → Python/vectorbt Backtesting • Optimization • Research Dashboards