OPEN-SOURCE SCRIPT
Mapa de Calor de Volume - Customizacao de Opacidade

Dynamic Volume Heatmap (Custom Opacity & Color)
Overview
The Dynamic Volume Heatmap is a professional visual analysis tool based on the principles of Volume Spread Analysis (VSA). It identifies institutional conviction by dynamically modulating the transparency and color of candlesticks based on relative volume compared to a customizable Simple Moving Average (SMA).
Instead of cluttering the chart with external oscillators, this script integrates volume intelligence directly into the price action, allowing traders to filter out market noise and focus exclusively on high-effort moves.
Key Features
Tiered Visual Hierarchy: Automatically categorizes bars into three distinct volume tiers: Baseline (Normal), Level 3 (High), and Level 4 (Extreme/Climax).
Full Opacity Control: Users can manually set the exact percentage of opacity (0-100%) for each tier to create a "ghosting" effect for low-volume bars and a "solid" effect for institutional spikes.
Custom Color Mapping: Supports full RGB/Hex color customization for both Bullish and Bearish candles, ensuring compatibility with any dark or light chart theme.
Seamless Integration: The script redraws bodies, wicks, and borders to maintain visual consistency across all transparency levels.
How it Works
The indicator compares the current bar's volume against a user-defined lookback period (default is 20 bars).
Standard Volume (<2x Avg): Displays with a low opacity (default 25%) to minimize visual distraction.
Level 3 (2x - 3x Avg): Increases opacity (default 50%) to signal emerging institutional interest.
Level 4 (>3x Avg): Displays as a 100% solid color, marking market climaxes, major breakouts, or potential exhaustion points.
Settings
Volume Settings: Adjust the SMA period used to calculate the relative volume.
Opacity Settings: Three independent sliders to define how "vibrant" each volume level appears.
Color Pickers: Dedicated inputs for Buy and Sell candle colors.
Overview
The Dynamic Volume Heatmap is a professional visual analysis tool based on the principles of Volume Spread Analysis (VSA). It identifies institutional conviction by dynamically modulating the transparency and color of candlesticks based on relative volume compared to a customizable Simple Moving Average (SMA).
Instead of cluttering the chart with external oscillators, this script integrates volume intelligence directly into the price action, allowing traders to filter out market noise and focus exclusively on high-effort moves.
Key Features
Tiered Visual Hierarchy: Automatically categorizes bars into three distinct volume tiers: Baseline (Normal), Level 3 (High), and Level 4 (Extreme/Climax).
Full Opacity Control: Users can manually set the exact percentage of opacity (0-100%) for each tier to create a "ghosting" effect for low-volume bars and a "solid" effect for institutional spikes.
Custom Color Mapping: Supports full RGB/Hex color customization for both Bullish and Bearish candles, ensuring compatibility with any dark or light chart theme.
Seamless Integration: The script redraws bodies, wicks, and borders to maintain visual consistency across all transparency levels.
How it Works
The indicator compares the current bar's volume against a user-defined lookback period (default is 20 bars).
Standard Volume (<2x Avg): Displays with a low opacity (default 25%) to minimize visual distraction.
Level 3 (2x - 3x Avg): Increases opacity (default 50%) to signal emerging institutional interest.
Level 4 (>3x Avg): Displays as a 100% solid color, marking market climaxes, major breakouts, or potential exhaustion points.
Settings
Volume Settings: Adjust the SMA period used to calculate the relative volume.
Opacity Settings: Three independent sliders to define how "vibrant" each volume level appears.
Color Pickers: Dedicated inputs for Buy and Sell candle colors.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.