How to Backtest an RSI Strategy (Without Fooling Yourself)
2026-07-07
RSI (Relative Strength Index) is the first indicator almost every crypto trader learns, and the one most likely to lose them money — not because RSI is bad, but because the textbook way of using it is naive. This guide shows how to backtest an RSI strategy that could actually survive live trading.
What RSI actually measures
RSI is an oscillator from 0 to 100 that compares the size of recent gains to recent losses over a lookback period (14 by default). High RSI means price has risen strongly and steadily; low RSI means it has fallen. The popular reading — "above 70 is overbought, sell; below 30 is oversold, buy" — is where most traders go wrong.
Why the classic 70/30 rule fails in crypto
In a strong trend, RSI can sit above 70 for weeks while price keeps climbing. Shorting every "overbought" reading in a bull market is a fast way to get run over. Crypto trends hard, so a raw mean-reversion RSI often bleeds. The fix is not to abandon RSI — it is to be specific about when you trust it.
Building an RSI backtest, step by step
- Entry: pick a trigger — e.g. RSI(14) crosses above 30 (reversion long), or crosses above 50 (momentum long). On this site you set the period, level and cross condition directly.
- Exit: a fixed take-profit / stop-loss, an ATR-based stop, or exit when RSI crosses back through a level. Test more than one — exits change results as much as entries.
- Filter: add a trend filter (e.g. only long above the 200 EMA) to stop fighting the dominant direction. Then check whether the filter actually improves results, not just the story.
- Costs: keep fees on. RSI strategies often trade frequently, and frequency multiplies fees.
Reading the results honestly
Run it and look at the period table: is the strategy positive across 3y / 2y / 1y, or only in one lucky window? Check the max drawdown — a smooth RSI reversion strategy can hide a brutal drawdown during a crash it kept buying into. Then vary the RSI period by a few points: if 14 works but 12 and 16 collapse, you found a peak, not an edge.