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.
Accumulation / Distribution Line (ADL)Price Volume Trend (PVT)Volume Indicator

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité