OPEN-SOURCE SCRIPT
X.Y Format Candle Volume & Compression

The Volume & Compression Indicator is designed to help traders identify significant market moves by displaying two key metrics above each candle. The top number represents the Volume Ratio, which compares the current candle's volume to the average volume of recent candles. For example, a reading of 2.5 means the current volume is 2.5 times higher than average. When volume exceeds 9.9 times the average, the indicator displays an up or down arrow instead of a number, indicating extremely high volume in that direction.
The bottom number shows the Compression Ratio, which measures the relationship between volume and price movement. This helps identify when large amounts of volume are moving price significantly (low compression) versus when high volume isn't resulting in much price movement (high compression). High compression often indicates accumulation or distribution phases, while low compression with high volume typically suggests strong directional moves.
The indicator includes visual cues to help spot patterns. Dots appear above candles when both high volume and high compression persist over several candles, potentially indicating accumulation phases. Arrows mark possible pivot points after these accumulation periods. Additionally, the candles themselves can display a gradient color that intensifies with increased compression, making it easier to spot areas of interest.
For trading purposes, watch for volume spikes (top number above 2.0) as they can signal potential reversal points or confirm breakouts. High compression readings might precede breakouts, while low compression with high volume often confirms strong trend moves. The most significant signals often come when both metrics show high readings over multiple candles, suggesting sustained institutional interest.
The bottom number shows the Compression Ratio, which measures the relationship between volume and price movement. This helps identify when large amounts of volume are moving price significantly (low compression) versus when high volume isn't resulting in much price movement (high compression). High compression often indicates accumulation or distribution phases, while low compression with high volume typically suggests strong directional moves.
The indicator includes visual cues to help spot patterns. Dots appear above candles when both high volume and high compression persist over several candles, potentially indicating accumulation phases. Arrows mark possible pivot points after these accumulation periods. Additionally, the candles themselves can display a gradient color that intensifies with increased compression, making it easier to spot areas of interest.
For trading purposes, watch for volume spikes (top number above 2.0) as they can signal potential reversal points or confirm breakouts. High compression readings might precede breakouts, while low compression with high volume often confirms strong trend moves. The most significant signals often come when both metrics show high readings over multiple candles, suggesting sustained institutional interest.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.