OPEN-SOURCE SCRIPT
Volume Pro - RVOL States + MA

Volume Pro is an enhanced volume indicator designed to provide greater visual control and make abnormal trading activity easier to identify than with the standard TradingView Volume indicator.
The indicator displays trading volume for each chart bar while comparing current volume against a configurable historical average. Volume bars are automatically classified into different relative-volume states, allowing unusually high participation to stand out immediately.
Key Features:
Displays volume synchronized with each price candle.
Adjustable volume-bar width for improved spacing and chart readability.
Configurable colors for normal up-volume and normal down-volume bars.
Identifies High Relative Volume when volume exceeds a configurable multiple of average volume, such as 2×.
Identifies Extreme Relative Volume when volume exceeds a higher configurable threshold, such as 3× or 5×.
Relative Volume (RVOL) is calculated by dividing the current bar's volume by the average volume over the selected lookback period.
Configurable RVOL lookback period, with 20 bars as the default.
Configurable High and Extreme RVOL thresholds.
Displays a configurable moving-average line across volume bars to provide a visual baseline for current versus typical volume.
Supports SMA, EMA, WMA, and RMA volume moving averages.
Adjustable moving-average length, color, and line width.
Adjustable volume-bar colors and transparency.
Default Volume Classification:
Normal Up Volume: Volume below 2× average with positive price direction.
Normal Down Volume: Volume below 2× average with negative price direction.
High Relative Volume: Volume at or above 2× average but below 3× average.
Extreme Relative Volume: Volume at or above 3× average.
For example, if average volume is 500,000 shares, a 1,250,000-share bar represents 2.5× relative volume and is classified as High Relative Volume. A 2,000,000-share bar represents 4× relative volume and is classified as Extreme Relative Volume.
The indicator is intended to make changes in market participation easier to recognize visually, including volume expansion associated with momentum, breakouts, reversals, increased selling pressure, and other significant price movements.
All major settings are configurable so the indicator can be adapted to different securities, chart timeframes, trading styles, and market conditions.
Note: Relative-volume measurements in this indicator compare each bar's volume with a moving average of recent chart-bar volume. This is different from time-of-day normalized RVOL, which compares a bar with corresponding time periods from previous trading sessions. Volume and RVOL should be evaluated together with price action and other market information rather than used as standalone buy or sell signals.
The indicator displays trading volume for each chart bar while comparing current volume against a configurable historical average. Volume bars are automatically classified into different relative-volume states, allowing unusually high participation to stand out immediately.
Key Features:
Displays volume synchronized with each price candle.
Adjustable volume-bar width for improved spacing and chart readability.
Configurable colors for normal up-volume and normal down-volume bars.
Identifies High Relative Volume when volume exceeds a configurable multiple of average volume, such as 2×.
Identifies Extreme Relative Volume when volume exceeds a higher configurable threshold, such as 3× or 5×.
Relative Volume (RVOL) is calculated by dividing the current bar's volume by the average volume over the selected lookback period.
Configurable RVOL lookback period, with 20 bars as the default.
Configurable High and Extreme RVOL thresholds.
Displays a configurable moving-average line across volume bars to provide a visual baseline for current versus typical volume.
Supports SMA, EMA, WMA, and RMA volume moving averages.
Adjustable moving-average length, color, and line width.
Adjustable volume-bar colors and transparency.
Default Volume Classification:
Normal Up Volume: Volume below 2× average with positive price direction.
Normal Down Volume: Volume below 2× average with negative price direction.
High Relative Volume: Volume at or above 2× average but below 3× average.
Extreme Relative Volume: Volume at or above 3× average.
For example, if average volume is 500,000 shares, a 1,250,000-share bar represents 2.5× relative volume and is classified as High Relative Volume. A 2,000,000-share bar represents 4× relative volume and is classified as Extreme Relative Volume.
The indicator is intended to make changes in market participation easier to recognize visually, including volume expansion associated with momentum, breakouts, reversals, increased selling pressure, and other significant price movements.
All major settings are configurable so the indicator can be adapted to different securities, chart timeframes, trading styles, and market conditions.
Note: Relative-volume measurements in this indicator compare each bar's volume with a moving average of recent chart-bar volume. This is different from time-of-day normalized RVOL, which compares a bar with corresponding time periods from previous trading sessions. Volume and RVOL should be evaluated together with price action and other market information rather than used as standalone buy or sell signals.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.