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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน