PROTECTED SOURCE SCRIPT
Aggiornato

RELATIVE VOL

108
This script, titled "Relative Vol," is designed to visualize and analyze volume data on TradingView. It calculates and displays the relative volume based on the average volume over a set lookback period, with volume expressed as a percentage of the average. Key features include:

Volume Percentage Calculation: The script calculates the volume percentage relative to the average volume over a specified lookback period (default of 20). It compares the current volume to the historical average and plots it as a percentage on the chart.
Volume Color Coding: The bars are color-coded based on the relationship between price action and volume:
Bullish volume above average: Green
Bearish volume above average: Red
Bullish volume below average: Light gray
Bearish volume below average: Dark gray

Daily Data Integration: It pulls in daily average volume and daily Average True Range (ATR) data:
Displays the daily average volume and ATR values in a table on the top-right of the chart.
Colors in the table reflect whether the daily average volume is high (greater than 1,000,000) and if the daily ATR is above 2.
Custom Timeframe Calculation: The script adjusts the lookback period and volume calculation based on the timeframe of the chart (1-minute, 5-minute, 15-minute, 30-minute, 60-minute, or daily).

This script provides traders with a visual representation of relative volume, helping them identify whether current trading activity is above or below average and how it correlates with price movement. Additionally, the integration of daily volume and ATR data helps assess overall market volatility and liquidity trends.
Note di rilascio
Added a table cell to identify if volume is above/below relative volume.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.