OPEN-SOURCE SCRIPT
RSI Divergence Pine Screener [XoRonX]

RSI Divergence Pine Screener is designed to help scan watchlists using TradingView’s Pine Screener. The script detects RSI-based regular and hidden divergences by comparing price pivots with RSI pivots, then outputs clean numeric plots that can be used as screener columns or filters.
The indicator also displays the RSI line on the chart with overbought, oversold, and midline levels for visual confirmation.
Signal Code:
Main Features:
Suggested Pine Screener Filters:
This tool is intended for technical analysis and screening support only. It does not provide financial advice. Always confirm signals with your own analysis and risk management.
The indicator also displays the RSI line on the chart with overbought, oversold, and midline levels for visual confirmation.
Signal Code:
- 2= Regular Bullish Divergence
- 1 = Hidden Bullish Divergence
- -1 = Hidden Bearish Divergence
- -2 = Regular Bearish Divergence
- 0 = No active signal
Main Features:
- Pine Screener-compatible outputs
- Regular bullish and bearish divergence detection
- Hidden bullish and bearish divergence detection
- Optional RSI overbought/oversold signal filter
- Signal hold period for easier screening
- RSI chart display for manual confirmation
- Alert conditions for active bullish, bearish, and specific divergence events
Suggested Pine Screener Filters:
- to find all active signals
Pine Script® - to find bullish setups
Pine Script® - to find bearish setups
Pine Script® - for bullish signals
Pine Script® - for bearish signals
Pine Script®
This tool is intended for technical analysis and screening support only. It does not provide financial advice. Always confirm signals with your own analysis and risk management.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.