OPEN-SOURCE SCRIPT
已更新

CandelaCharts - Distributed Volume Matrix

3 068
📝 Overview

The Distributed Volume Matrix is an advanced volume profiling tool designed to provide a highly visual and granular breakdown of price-volume dynamics over a specified lookback window. Unlike traditional volume profiles, this indicator renders a "heatmap matrix" alongside the chart, allowing traders to instantly identify critical liquidity zones, high-volume nodes, and the Point of Control (POC) with exceptional clarity.

📦 Features

  • Bipolar Diverging Heatmap: Bins above the Point of Control are colored with a distinct warm palette, while bins below are colored with a cool palette. This immediately contextualizes price action relative to the highest volume node.
  • Heatmap Stepping: Toggle between a smooth color gradient or a quantized "stepped" heatmap. Stepping breaks volume intensity into distinct thresholds (Low, Medium, High, Extreme), providing a bolder, cleaner visual structure.
  • Value Area Calculation: Automatically calculates and displays the Value Area High (VAH) and Value Area Low (VAL) based on user-defined volume percentages (default 70%).
  • Dynamic Lookback Bounds: Clearly visualizes the exact high and low price bounds of the lookback period using beautifully styled dashed lines and semi-transparent bubbles.
  • Optimized Performance: Built using Pine Script's advanced array and user-defined type (UDT) capabilities to ensure lightning-fast rendering without graphical lag, automatically dynamically capping memory use to available chart history.
  • Big Order Bubbles: Dynamically highlights extraordinary trading volume directly on the price action. Bubbles are constrained precisely to the active matrix lookback window, scaling in size based on a customizable volume multiplier.


⚙️ Settings

  • Length: The number of historical bars to include in the volume distribution calculation.
  • Number of Bins: The vertical resolution of the matrix. Higher values provide finer granularity.
  • Source: The price source used to determine the volume distribution across bins.
  • Value Area (%): The percentage of total volume to encompass within the Value Area (VAH to VAL).
  • Colors: Fully customizable color settings for the Value Area lines, Histogram (Above/Below POC), Point of Control (POC), and Gap Color (bins with 0 volume).
  • Use Heatmap Stepping: Enable this to quantize the heatmap into solid opacity steps rather than a continuous gradient.
  • Show Volume: Toggle the display of the formatted volume number on the left side of each histogram bin.
  • Show Volume Columns: Displays traditional vertical volume columns per bar under the horizontal matrix profile.
  • Bubbles (Big Order Bubbles): Toggle the display of volume bubbles on the chart and adjust the threshold multiplier. A higher multiplier requires significantly more volume (relative to the moving average) for a bubble to appear.


⚡️ Showcase

Heatmap
快照

Heatmap Stepping
快照

Volume
快照

Gaps
快照

Big Order Bubbles
快照

💡 Usage

Here are a few ways to utilize the Distributed Volume Matrix in your trading strategy:
  • Value Area Range Trading: Identify mean-reverting setups by fading moves that reject off the Value Area High (VAH) or Value Area Low (VAL), targeting the Point of Control (POC) or opposing side of the range.
    快照
  • Trend Reversal at Extreme Liquidity Nodes: Spot sharp price reversals when the market interacts with a high-volume node identified by the brightest heatmap bins at the edge of the Value Area.
    快照
  • Big Order Tracking: Align Big Order Bubbles with significant Value Area (VAH/VAL) rejections or POC interactions. An extreme volume bubble appearing right as price leaves the Value Area heavily reinforces the move's momentum.
    快照


🚨 Alerts

This indicator is purely visual and does not feature built-in alert conditions.

⚠️ Disclaimer

Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
版本注释
CandelaCharts - Distributed Volume Matrix 1.0.1
  • Set better defaults

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。