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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.