Skip to content
All library documents

RSI Threshold Reversals with Candle-Based Exit Rules

Article Strategy library · Author: ChaoZhang

Summary

This reversal strategy tracks RSI after it leaves an extreme zone. A long signal occurs when RSI was above its upper threshold on the prior bar, falls back below that threshold, and the current candle is bearish while no position is open. A short signal mirrors this logic after RSI exits its lower extreme on a bullish candle. The code also defines continuation entries while a position is open, and closes positions when a candle moves in the position's direction with a body larger than half the 10-period average body.

The parameters include a 14-period RSI and a limit of 25, with optional long or short trading and martingale sizing. A short BTC/USDT futures backtest window is listed, but no results are given. The document notes that signals can be false, entries can follow a substantial price move, and the candle exit may cut a reversal short. It suggests signal filters, smaller tracked entries, and revised stop or exit rules, without establishing that these changes improve performance.

Key ideas

  • The strategy signals reversals when RSI exits an overbought or oversold zone.
  • A bearish candle is required for the initial long signal, and a bullish candle for the initial short signal.
  • Exit logic uses candle direction and body size relative to its 10-period average.
  • Optional martingale sizing doubles the multiplier after a losing exit and resets after a profitable one.
  • The listed backtest configuration has no accompanying performance results.

Tags

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