Skip to content
All library documents

RSI Overbought and Oversold Reversal Strategy

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses the Relative Strength Index to take positions when momentum reaches extreme readings. RSI compares average gains with average losses over a chosen lookback and ranges from zero to one hundred. The described rules treat readings below 30 as oversold and above 70 as overbought; the example uses a 12-period RSI and carries the resulting long or short state until the opposite threshold is reached. A reverse option swaps the direction of those signals.

The document explains the intuition behind buying oversold conditions and selling overbought ones, and suggests filters, stop losses, regime-aware thresholds, waiting periods, and position sizing as potential improvements. BTC/USDT futures and a one-month backtest window are specified, but no performance results are reported. RSI extremes can occur during continuing trends, and divergence or short-lived pullbacks can mislead a reversal approach. The source code changes position state at threshold crossings, but does not define explicit stop-loss or profit-taking rules. The strategy therefore needs testing with realistic costs and risk controls before its behavior can be assessed.

Key ideas

  • RSI measures recent gains relative to losses and is bounded between zero and one hundred.
  • The example switches to a long state below the oversold threshold and a short state above the overbought threshold.
  • A reverse setting can invert the signals.
  • RSI extremes can persist during trends and produce false reversal signals.
  • The published backtest settings include no performance figures or explicit stop-loss rules.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.