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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.