OPEN-SOURCE SCRIPT

High-Probability MACD Hist Divergence (with Lines)

625
High-Probability MACD Histogram Divergence (with Lines)
This indicator identifies High-Probability MACD Histogram Divergences TradingView. It automatically tracks visual pivot points, draws technical confirmation lines, and applies a dynamic filter to remove market noise TradingView.
Key Features
Dynamic Divergence Detection: Automatically scans and plots standard Bullish (BU) and Bearish (BR) divergences between price action and MACD momentum TradingView.
Automatic Anchor Lines: Draws clean, visual trendlines connecting historical divergence structural peaks directly on your sub-chart.
Noise Filtering (Momentum Peak Filter): Features a dynamic threshold filter (%) based on historical volatility. It ensures only significant momentum waves are considered, weeding out minor histogram fluctuations TradingView.
Optimized Pivot Engine: Pre-calculates market pivot structural points globally across the historical data array to prevent missing hidden or complex signals.

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.