Back to Library

RSI Divergence Scanner

Momentum

Automatically detects bullish and bearish divergences between price and RSI, plotting arrows at divergence points.

How It Works

The indicator calculates RSI and identifies swing pivots in both price and RSI. A bullish divergence occurs when price makes a lower low but RSI makes a higher low. A bearish divergence occurs when price makes a higher high but RSI makes a lower high. Pivot lookback is configurable so you can tune sensitivity.