Strategy Lab

S&P 500 above its 200-day average: backtest

Hold SPY only while it closes above its 200-day moving average; otherwise sit in cash.

A classic trend filter: it gives up some return in rising markets to sidestep part of the big declines.

Result (2018 to 2026: 8.5% a year vs 13.7% for the S&P 500, worst drop -20.9%).

Test your own idea

Hypothetical results from a simulation on historical data: they include estimated trading costs but not taxes, and past performance does not predict future returns. Research tool, not investment advice.