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 open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.