OPEN-SOURCE SCRIPT

DIVER V1

83
**Regular Divergence Alert Indicator (RSI-based)**
This indicator detects **Regular Bullish and Regular Bearish divergence** between price and RSI to signal potential trend reversals.
It uses **pivot structure**, **minimum bar gap**, and optional **noise filters** (EMA trend context, ADX strength filter, volume weakening, and candle body filter) to reduce false signals.
Designed to be **simple, clean, and non-repainting**, it provides **clear alerts** and optional visual lines/labels for practical trading use.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.