OPEN-SOURCE SCRIPT

Volume Divergence 11192

110
It calculates a custom volume-weighted moving average using the pine_wma() function which takes into account whether each candle is bullish or bearish
It processes volume data through multiple layers of this custom moving average
It detects four types of divergences:

Regular Bullish Divergence: When price makes a lower low but volume makes a higher low (potential bullish reversal)
Hidden Bullish Divergence: When price makes a higher low but volume makes a lower low (potential bullish continuation)
Regular Bearish Divergence: When price makes a higher high but volume makes a lower high (potential bearish reversal)
Hidden Bearish Divergence: When price makes a lower high but volume makes a higher high (potential bearish continuation)


It visualizes these divergences on the chart with colored markers and labels

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.