← The library

quants.md

Daily SMA Trend

Fragile

“Hold each sector ETF while SMA(50) > SMA(200); daily rebalance”

As tested: Each of the 9 sector ETFs is held while its 50-day average is above its 200-day, 1/N of the active names capped at 25% each (the rest in cash), checked every day.

Holding today: XLK 14% · XLB 14% · XLP 14% · XLF 14% · XLY 14% · XLE 14% · XLV 13%

Edge per month-0.44 pts/mopts per month vs SPY
t-stat-2.2095% range -0.84 to -0.05
Months124Sep 1, 2016 – Dec 3, 2026
CAGR9.0%SPY 14.5%
Max drawdown-33.3%SPY -33.8%
Last 12 months+1.71 pts12 months, summed

Their backtest vs the rerun

WindowCAGRSharpeMax DDWin rateProfit factor
quants.md2000–2026+7.4%0.45-34.7%73%2.48
Rerun2016–2026+9.0%0.50-33.3%——

Their dashboard · Source code · QuantJourney, Apache-2.0. Sharpe is after T-bills in the rerun, after a flat 2% in theirs.

Why fragile

Growth of $1

Daily SMA TrendSPY
20172019202120232025

Log scale. Traded at the next open after each signal, daily rebalance, slippage on every trade.

Year by year

2016
-0.73 pts/mo4
2017
-0.38 pts/mo12
2018
-0.06 pts/mo12
2019
-0.69 pts/mo12
2020
-1.40 pts/mo12
2021
-0.09 pts/mo12
2022
+1.24 pts/mo12
2023
-1.20 pts/mo12
2024
-0.82 pts/mo12
2025
-1.06 pts/mo12
2026
+0.14 pts/mo12