
A comprehensive trading script that identifies multiple types of divergences across different indicators, providing real-time and historical divergence analysis with extensive customization options.
Explore complementary indicator rolesHow it works
This script analyzes divergences between price action and an oscillating indicator by identifying four distinct divergence types: bull, hidden bull, bear, and hidden bear divergences. It employs multiple detection methods, including real-time and historical divergence tracking with flexible configuration options.
The system allows traders to customize divergence detection through various settings, such as slope angle exclusion, intersection allowance, and specific pivot point criteria. Users can fine-tune the analysis to match their specific trading strategy and indicator preferences.
Why it may be useful
Divergence analysis provides critical insights into potential trend reversals and momentum shifts in financial markets. By comparing price movements with oscillator behavior, traders can identify potential weakness in existing trends and anticipate possible trend changes before they occur.
The script's comprehensive approach offers traders a sophisticated tool for understanding market dynamics, enabling more nuanced decision-making and potentially improving trade entry and exit timing across different market conditions and trading styles.
When to explore it
This divergence detection script is most effective in markets with clear oscillating indicators and distinct trend patterns. It works best when traders want to identify potential trend reversals, momentum shifts, and hidden trading opportunities across various timeframes and asset classes.
Traders should utilize this tool in conjunction with other technical analysis methods, using it as a confirmation signal rather than a standalone trading strategy. It is particularly useful for identifying potential trend exhaustion and early signs of market sentiment changes.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.

![Divergence Indicator Multi [TradingFinder] MACD AO RSI DIV Chart chart preview](https://s3.tradingview.com/z/zZKNJgVm.png?v=1728571633)




![Market Structure [ActiveQuants] chart preview](https://s3.tradingview.com/d/dSsZn4Rs.png?v=1740109696)