PROTECTED SOURCE SCRIPT
Vacs - Trade Support Panel

📈 Multi-Function Trade Support Panel (MACD + CVPE + MTF Bias)
This is a comprehensive Pine Script indicator designed to provide **multi-timeframe (MTF) bias** and **cumulative volume analysis** alongside standard **Moving Average Convergence Divergence (MACD)**, primarily intended as a **support panel** for confirming signals generated by other trading indicators and strategies.
🛠️ Included Modules and Functionality
This panel combines three powerful analysis tools into a single, unified view, all with customizable input controls for visibility and calculation:
1. **MACD (Moving Average Convergence Divergence) Module**
Function: Calculates and plots the standard MACD line, Signal line, and Histogram.
*Key Feature: Supports an **MTF mode**, allowing you to calculate the MACD based on a higher timeframe (e.g., 4H on a 1H chart) to identify broader momentum shifts.
Controls: Separate toggles for the MACD Line, Signal Line, and Histogram plots, along with standard length inputs (Fast EMA, Slow EMA, Signal Length).
2. **CVPE (Cumulative Volume & Position Engine) Module**
Function: Provides deeper insight into market pressure by analyzing the cumulative delta/volume flow.
CVD (Cumulative Volume Delta):** Tracks the running sum of buying or selling pressure, indicating the direction of order flow and potential accumulation/distribution.
Position Bias: Calculates the rate of change (slope) of the CVD, normalized by volatility, to show the immediate strength and conviction of buyers versus sellers.
Purpose: Helps identify divergences and confirm the conviction behind price moves.
Controls: A master toggle to enable/disable the entire CVPE engine and customizable smoothing methods/lengths.
3. **MTF Bias Panel (Dashboard)
Function: Provides a weighted, holistic score for the market bias across **four custom timeframes** (e.g., 1H, 4H, Daily, Weekly).
Calculation: The total bias score is derived by combining the directional signals from the MACD Histogram and the CVD Slope (Position Bias) for each selected timeframe, weighted according to user preference.
Purpose: Offers a quick, top-down view of the market structure and helps traders align their entries/exits with the larger trend direction.
Controls: Master toggle to show/hide the panel, independent weight adjustments for each of the four timeframes, and customizable component weights (MACD vs. CVD) for scoring.
💡 Recommended Use
This panel is designed to serve as a **critical confirmation tool** for any existing strategy:
1. **Trend Confirmation:** Use the **MTF Bias Panel** to confirm that the higher timeframes align with your trade direction before entering a signal generated by your primary indicator.
2. **Momentum Confirmation:** Use the **MACD** and **CVPE** modules to confirm that momentum is strong and order flow supports the anticipated move. Look for rising MACD Histograms and increasing Position Bias (CVD slope) in the direction of your trade.
3. **Divergence Spotting:** CVPE is excellent for identifying cumulative volume divergences against price, signaling potential reversals or exhaustion.
By providing multiple layers of analysis from different perspectives (momentum, order flow, and multi-timeframe), this indicator significantly reduces noise and helps traders take only the highest-conviction setups.
Would you like me to write a short, punchy title or tagline for this description?
This is a comprehensive Pine Script indicator designed to provide **multi-timeframe (MTF) bias** and **cumulative volume analysis** alongside standard **Moving Average Convergence Divergence (MACD)**, primarily intended as a **support panel** for confirming signals generated by other trading indicators and strategies.
🛠️ Included Modules and Functionality
This panel combines three powerful analysis tools into a single, unified view, all with customizable input controls for visibility and calculation:
1. **MACD (Moving Average Convergence Divergence) Module**
Function: Calculates and plots the standard MACD line, Signal line, and Histogram.
*Key Feature: Supports an **MTF mode**, allowing you to calculate the MACD based on a higher timeframe (e.g., 4H on a 1H chart) to identify broader momentum shifts.
Controls: Separate toggles for the MACD Line, Signal Line, and Histogram plots, along with standard length inputs (Fast EMA, Slow EMA, Signal Length).
2. **CVPE (Cumulative Volume & Position Engine) Module**
Function: Provides deeper insight into market pressure by analyzing the cumulative delta/volume flow.
CVD (Cumulative Volume Delta):** Tracks the running sum of buying or selling pressure, indicating the direction of order flow and potential accumulation/distribution.
Position Bias: Calculates the rate of change (slope) of the CVD, normalized by volatility, to show the immediate strength and conviction of buyers versus sellers.
Purpose: Helps identify divergences and confirm the conviction behind price moves.
Controls: A master toggle to enable/disable the entire CVPE engine and customizable smoothing methods/lengths.
3. **MTF Bias Panel (Dashboard)
Function: Provides a weighted, holistic score for the market bias across **four custom timeframes** (e.g., 1H, 4H, Daily, Weekly).
Calculation: The total bias score is derived by combining the directional signals from the MACD Histogram and the CVD Slope (Position Bias) for each selected timeframe, weighted according to user preference.
Purpose: Offers a quick, top-down view of the market structure and helps traders align their entries/exits with the larger trend direction.
Controls: Master toggle to show/hide the panel, independent weight adjustments for each of the four timeframes, and customizable component weights (MACD vs. CVD) for scoring.
💡 Recommended Use
This panel is designed to serve as a **critical confirmation tool** for any existing strategy:
1. **Trend Confirmation:** Use the **MTF Bias Panel** to confirm that the higher timeframes align with your trade direction before entering a signal generated by your primary indicator.
2. **Momentum Confirmation:** Use the **MACD** and **CVPE** modules to confirm that momentum is strong and order flow supports the anticipated move. Look for rising MACD Histograms and increasing Position Bias (CVD slope) in the direction of your trade.
3. **Divergence Spotting:** CVPE is excellent for identifying cumulative volume divergences against price, signaling potential reversals or exhaustion.
By providing multiple layers of analysis from different perspectives (momentum, order flow, and multi-timeframe), this indicator significantly reduces noise and helps traders take only the highest-conviction setups.
Would you like me to write a short, punchy title or tagline for this description?
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน