OPEN-SOURCE SCRIPT
RSI Divergence bsTzd

This indicator automatically detects bullish and bearish RSI divergences by comparing swing highs and lows in price against momentum shifts on the Relative Strength Index. It identifies both regular divergences, which signal potential trend reversals, and hidden divergences, which often confirm trend continuation.
All divergences are plotted directly on the chart using clean, non-repainting swing-point logic so signals only appear after pivots are confirmed.
The goal of the tool is to help traders quickly spot early momentum shifts that are otherwise difficult to see in real-time—especially during fast intraday moves. By combining price structure with RSI behavior, the indicator offers high-quality signals designed to improve entry timing, stop placement, and overall trend analysis.
Key Features
Automatic bullish & bearish regular divergences
Automatic bullish & bearish hidden divergences
Uses confirmed swing pivots to avoid repainting
Works on all assets and all timeframes
Clean visual markers for fast decision-making
Helps identify momentum exhaustion, trend continuation, and potential reversals
Useful for scalping, day trading, and swing trading setups
All divergences are plotted directly on the chart using clean, non-repainting swing-point logic so signals only appear after pivots are confirmed.
The goal of the tool is to help traders quickly spot early momentum shifts that are otherwise difficult to see in real-time—especially during fast intraday moves. By combining price structure with RSI behavior, the indicator offers high-quality signals designed to improve entry timing, stop placement, and overall trend analysis.
Key Features
Automatic bullish & bearish regular divergences
Automatic bullish & bearish hidden divergences
Uses confirmed swing pivots to avoid repainting
Works on all assets and all timeframes
Clean visual markers for fast decision-making
Helps identify momentum exhaustion, trend continuation, and potential reversals
Useful for scalping, day trading, and swing trading setups
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 la 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 o de otro tipo proporcionadas o respaldadas por TradingView. 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 la 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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.