OPEN-SOURCE SCRIPT
Volume-Price Divergence Indicator V3

Description:
This indicator helps you identify volume-price divergences and potential trend weakness across any specified timeframe.
Features:
Volume bars with moving average – green for bullish, red for bearish, with orange SMA to detect low-volume situations.
Custom OBV calculation with divergence detection – highlights when price makes new highs/lows but OBV does not.
VWAP deviation alerts – signals when price moves far from VWAP while volume remains low, indicating potential fake breakouts.
Fully configurable – select any reference timeframe, adjust volume MA, OBV period, and VWAP deviation threshold.
Visual markers – easily spot bullish/bearish divergences and volume-price mismatches directly on your chart.
Use case:
Spot early trend exhaustion points.
Identify fake breakouts or weak rallies/drops.
Combine with your existing trading strategy for more informed entries and exits.
This indicator helps you identify volume-price divergences and potential trend weakness across any specified timeframe.
Features:
Volume bars with moving average – green for bullish, red for bearish, with orange SMA to detect low-volume situations.
Custom OBV calculation with divergence detection – highlights when price makes new highs/lows but OBV does not.
VWAP deviation alerts – signals when price moves far from VWAP while volume remains low, indicating potential fake breakouts.
Fully configurable – select any reference timeframe, adjust volume MA, OBV period, and VWAP deviation threshold.
Visual markers – easily spot bullish/bearish divergences and volume-price mismatches directly on your chart.
Use case:
Spot early trend exhaustion points.
Identify fake breakouts or weak rallies/drops.
Combine with your existing trading strategy for more informed entries and exits.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.