VPH - Volume Profile Heatmap (Visible Prices) [Da_Prof]The Volume Profile Heatmap (VPH) indicator is a dynamic volume visualization tool. Unlike traditional Volume Profiles that aggregate all historical data within a range, VPH focuses on recent price action. Specifically, it only considers the volume of the most recent time price touched a level. Additionally, it displays the volume as a heatmap where color intensity directly translates to volume density at specific price levels (as a percentage of the volume range).
What makes the VPH different than other volume profile indicators is its exclusion logic. If a high-volume node was created in the past, but the price has since crossed back through that level, the indicator disregards the previous volume. Therefore, it prioritizes the most recent market participants at any given price level. This is particularly useful for identifying:
1) Fresh Support/Resistance: Levels where volume has accumulated recently without being invalidated by a price cross-through.
2) Real-time Liquidity: Seeing exactly where the supply and demand reside in the current market structure in terms of volume transacted for the particular asset.
Main Features:
1) Dynamic Heatmap: Uses a multi-stage blue color gradient to represent volume intensity. Brighter, more vibrant cyan indicates high-volume nodes, while deep blues represent lower-activity zones. These default colors are best viewed on a black background. The colors can be customized through the settings.
2) Visible Range Scaling: The indicator automatically calculates the High and Low of your current screen view and adjusts the heatmap rows to fit perfectly within your visible window. Note: Ensure the indicator is pinned to the appropriate scale (likely the right scale). If the profile appears to not move when moving the chart, right click on the indicator and select the "pin to scale" to pin it to the appropriate scale.
3) Adjustable Resolution: Use the Number of Profile Bars input to increase the "granularity" of the heatmap (up to 400 rows).
4) Volume Thresholding: The Minimum Volume to Plot setting allows you to filter out "noise," showing only the price levels where significant market commitment occurred. The default is set at 50% of the range maximum.
How to use:
1) Identify high volume nodes: Look for the brightest cyan boxes. These represent price levels where the most recent heavy trading occurred. These areas are more likely to create a price reaction.
2) Spot thinly traded areas: Darker or empty areas indicate "low volume Nodes," where price moved quickly through. These often act as "vacuum" zones where price might travel through rapidly in the future.
3) Scroll & zoom to get the exact window of price action: The indicator is fully reactive. As you move your chart, it recalculates the heatmap based on the visible bars to provide a localized view of the current auction. This allows back testing of the indicator without using the "Replay" feature. Just put the historical price action you are interested in on your screen and the indicator will calculate the volume profile.
Pine Script®指标






















