OPEN-SOURCE SCRIPT
GCM Price Volume Trend [Dual Signal Ribbon]

1. Title
GCM Price Volume Trend [Dual Signal Ribbon]
2. Description (Copy & Paste)
Overview
The GCM Price Volume Trend (PVT) is an advanced enhancement of the classic Price Volume Trend indicator. While standard PVT indicators typically use a single signal line, this version introduces a Dual Signal Ribbon System. This allows traders to visualize trend strength, filter out market noise, and identify momentum shifts more accurately.
This script is built upon the foundational logic of the Price Volume Trend indicator by everget, upgraded here to Pine Script v6 with significant functional additions.
How It Works
The Price Volume Trend (PVT) is similar to On Balance Volume (OBV), but with a key difference: while OBV adds all volume on an up day, PVT adds only a portion of the volume proportional to the percentage price change. This makes PVT a more accurate representation of money flow relative to price movement.
Key Features in This Version
1. Dual Signal Ribbon: Unlike the original single-line version, this indicator plots two signal lines. The area between them acts as a "Cloud" or "Ribbon."
o Green Ribbon: Indicates strong bullish momentum.
o Red Ribbon: Indicates bearish momentum.
o Narrow/Twisting Ribbon: Indicates consolidation or indecision.
2. 7 Smoothing Algorithms: You are no longer limited to just SMA or EMA. You can independently set both signal lines to use:
o SMA (Simple)
o EMA (Exponential)
o WMA (Weighted)
o RMA (Rolling/Wilder's)
o HMA (Hull - Great for reducing lag)
o VWMA (Volume Weighted)
o LSMA (Least Squares / Linear Regression)
3. Visual Customization: Fully standardized coloring system with adjustable opacity for the ribbons to keep your chart clean.
How to Use
• Trend Following: When the main PVT line is above both signal lines and the ribbon is Green, the trend is Bullish.
• Crossovers: A crossover of the PVT line above the Primary Signal (Signal 1) is an early entry warning. A crossover above the Secondary Signal (Signal 2) confirms the trend.
• Divergence: If Price makes a Higher High but the PVT line makes a Lower High (and fails to break above the ribbon), look for a potential reversal.
Settings
• Signal 1 & 2 Type/Length: Customize the sensitivity of the ribbon.
• Style & Colors: Adjust Bull/Bear colors and transparency levels to fit your dark or light theme.
Credits
• Original PVT script logic inspired by @everget.
• Modifications, Dual-Signal logic, and v6 upgrade by @uniGram.
GCM Price Volume Trend [Dual Signal Ribbon]
2. Description (Copy & Paste)
Overview
The GCM Price Volume Trend (PVT) is an advanced enhancement of the classic Price Volume Trend indicator. While standard PVT indicators typically use a single signal line, this version introduces a Dual Signal Ribbon System. This allows traders to visualize trend strength, filter out market noise, and identify momentum shifts more accurately.
This script is built upon the foundational logic of the Price Volume Trend indicator by everget, upgraded here to Pine Script v6 with significant functional additions.
How It Works
The Price Volume Trend (PVT) is similar to On Balance Volume (OBV), but with a key difference: while OBV adds all volume on an up day, PVT adds only a portion of the volume proportional to the percentage price change. This makes PVT a more accurate representation of money flow relative to price movement.
Key Features in This Version
1. Dual Signal Ribbon: Unlike the original single-line version, this indicator plots two signal lines. The area between them acts as a "Cloud" or "Ribbon."
o Green Ribbon: Indicates strong bullish momentum.
o Red Ribbon: Indicates bearish momentum.
o Narrow/Twisting Ribbon: Indicates consolidation or indecision.
2. 7 Smoothing Algorithms: You are no longer limited to just SMA or EMA. You can independently set both signal lines to use:
o SMA (Simple)
o EMA (Exponential)
o WMA (Weighted)
o RMA (Rolling/Wilder's)
o HMA (Hull - Great for reducing lag)
o VWMA (Volume Weighted)
o LSMA (Least Squares / Linear Regression)
3. Visual Customization: Fully standardized coloring system with adjustable opacity for the ribbons to keep your chart clean.
How to Use
• Trend Following: When the main PVT line is above both signal lines and the ribbon is Green, the trend is Bullish.
• Crossovers: A crossover of the PVT line above the Primary Signal (Signal 1) is an early entry warning. A crossover above the Secondary Signal (Signal 2) confirms the trend.
• Divergence: If Price makes a Higher High but the PVT line makes a Lower High (and fails to break above the ribbon), look for a potential reversal.
Settings
• Signal 1 & 2 Type/Length: Customize the sensitivity of the ribbon.
• Style & Colors: Adjust Bull/Bear colors and transparency levels to fit your dark or light theme.
Credits
• Original PVT script logic inspired by @everget.
• Modifications, Dual-Signal logic, and v6 upgrade by @uniGram.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.