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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.