← The library

quants.md

Trailing Stop RSI

Fragile

“Oversold RSI entry, 5% trailing stop for risk”

As tested: Buy 15% of the account while RSI is under 38; a 5% trailing stop, or a sale once RSI is over 65.

Holding today: SPY 15% · IWM 15%

Edge per month-1.07 pts/mopts per month vs SPY
t-stat-3.3295% range -1.70 to -0.44
Months201Sep 1, 2016 – Dec 3, 2026
Win rate40%closed green
CAGR1.7%SPY 14.5%
Max drawdown-15.5%SPY -33.8%
Last 12 months-7.28 pts12 months, summed

Their backtest vs the rerun

WindowCAGRSharpeMax DDWin rateProfit factor
quants.md2001–2026-0.5%-0.41-39.0%40%0.91
Rerun2016–2026+1.7%-0.12-15.5%40%0.94

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

Trailing Stop RSISPY
20172019202120232025

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

Year by year

2016
-0.39 pts/mo4
2017
-1.41 pts/mo12
2018
-0.01 pts/mo12
2019
-1.74 pts/mo12
2020
-2.33 pts/mo12
2021
-1.89 pts/mo12
2022
+0.88 pts/mo12
2023
-1.35 pts/mo12
2024
-0.96 pts/mo12
2025
-1.51 pts/mo12
2026
-0.61 pts/mo12