OPEN-SOURCE SCRIPT
All Divergences (MACD, RSIOI, CVD)

Multi-Divergence Suite (MACD Area, RSIOI, CVD)
Description:
This indicator is a comprehensive suite designed to identify multiple types of market divergences on your chart. Instead of using several different indicators, you can use this single script to find potential turning points and trend continuations based on momentum and volume analysis.
Key Features:
1. MACD Area Divergence:
Unlike standard MACD divergence that only compares the peaks of the histogram, this module calculates the entire area (volume) of each MACD cycle. It then compares this momentum "volume" to price action to detect both Regular Divergences (signaling potential trend reversals) and Hidden Divergences (signaling potential trend continuations).
2. RSIOI (RSI Overbought/Oversold) Divergence:
This module identifies classic RSI divergences with a specific filter: it only looks for price pivots that occur while the RSI is in overbought (e.g., >70) or oversold (e.g., <30) territory. This helps to focus on signals that appear at potential market extremes.
3. CVD (Cumulative Volume Delta) Divergence:
This powerful module shows the divergence between price and Cumulative Volume Delta, giving you a clearer view of the underlying buying and selling pressure. It features a unique "Ultra Data" mode that can aggregate volume from dozens of different brokers for a more accurate picture of the market, which is especially useful for Forex and Crypto pairs.
Customization:
Each of the three divergence modules can be enabled or disabled independently.
Filter signals to show "Longs Only," "Shorts Only," or both to match your trading bias.
Description:
This indicator is a comprehensive suite designed to identify multiple types of market divergences on your chart. Instead of using several different indicators, you can use this single script to find potential turning points and trend continuations based on momentum and volume analysis.
Key Features:
1. MACD Area Divergence:
Unlike standard MACD divergence that only compares the peaks of the histogram, this module calculates the entire area (volume) of each MACD cycle. It then compares this momentum "volume" to price action to detect both Regular Divergences (signaling potential trend reversals) and Hidden Divergences (signaling potential trend continuations).
2. RSIOI (RSI Overbought/Oversold) Divergence:
This module identifies classic RSI divergences with a specific filter: it only looks for price pivots that occur while the RSI is in overbought (e.g., >70) or oversold (e.g., <30) territory. This helps to focus on signals that appear at potential market extremes.
3. CVD (Cumulative Volume Delta) Divergence:
This powerful module shows the divergence between price and Cumulative Volume Delta, giving you a clearer view of the underlying buying and selling pressure. It features a unique "Ultra Data" mode that can aggregate volume from dozens of different brokers for a more accurate picture of the market, which is especially useful for Forex and Crypto pairs.
Customization:
Each of the three divergence modules can be enabled or disabled independently.
Filter signals to show "Longs Only," "Shorts Only," or both to match your trading bias.
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.