RSI Divergence Strategy & Backtesting Guide
Learn how to codify and backtest RSI divergences. Stop guessing reversals and validate setups with historical data.
01. Defining RSI Divergence Structures
Relative Strength Index (RSI) measures momentum speed and change. A divergence occurs when the price action is out of sync with momentum. In a bullish divergence, the price makes a lower swing low, but the RSI makes a higher swing low. This indicates that seller momentum is exhausting despite falling prices.
In a bearish divergence, price prints a higher swing high while RSI prints a lower swing high, showing buying momentum is slowing down. Recognizing these areas prevents you from buying breakouts at market exhaustion points.
02. Codifying Divergence Entry Checklists
To backtest divergence objectively, you must remove gut feelings. Write down binary rules:
- 1. RSI must be in oversold (below 30) or overbought (above 70) territory during the first swing peak.
- 2. Price must make a clear second peak/trough outside the previous boundaries.
- 3. RSI second peak must be visually higher (for bullish) or lower (for bearish) than the first.
Place stop losses directly below the second swing trough, targeting a 1:2 risk-to-reward ratio on structural swing lines.
03. Analyzing 5-Year Expectancy Results
Run a simulation across major pairs (such as EURUSD or GBPUSD) over a 5-year period. You will find that simple RSI divergence has a win rate of roughly 48-52% in range-bound markets, but drops below 35% in strong trending regimes.
The optimization: Filter setups by only taking divergence trades that align with higher timeframe market structures (e.g., buying bullish divergence only on Daily support zones). This simple filter pushes the simulated expectancy curve upward.