OPEN-SOURCE SCRIPT
Order Flow Heatmap

The Order Flow Heatmap indicator simulates the visualization of professional order flow analysis tools like Bookmap directly within TradingView. It transforms historical price and volume data into an intuitive heatmap display that reveals liquidity zones, volume concentrations, and buying/selling pressure at a glance.
At the core of the indicator is the Volume Profile, which is automatically calculated and shows at which price levels the most trading volume has occurred. The intensity is visualized through a selectable color scheme – from dark tones at low volume to bright colors at high liquidity. Five color schemes are available: Bookmap Blue, Fire, Green Matrix, Purple, and Thermal.
The indicator automatically identifies the Point of Control (POC) – the price level with the highest traded volume – as well as the Value Area, where typically 70% of the volume is concentrated. These zones serve as important support and resistance areas. Additionally, High Volume Nodes (HVN) are marked as potential reaction zones, and Low Volume Nodes (LVN) as areas where price might move through quickly.
Volume Bubbles display above-average trading volume in real-time – green circles signal buying pressure on bullish candles, red circles indicate selling pressure on bearish candles. The bubble size scales with volume intensity across three levels.
Another core feature is the Delta Analysis, which approximates the ratio between buying and selling volume. The background subtly colors green or red depending on the prevailing pressure. The Cumulative Volume Delta (CVD) is displayed as an area at the bottom of the chart, showing the accumulated difference between buying and selling.
The indicator also detects Imbalances – situations with extreme imbalance between buyers and sellers – and marks particularly significant Stacked Imbalances when multiple consecutive candles show the same directional bias.
The package is rounded out by the Session VWAP with optional standard deviation bands, as well as a clear Dashboard displaying all relevant values in real-time. Comprehensive Alert Functions notify you of POC touches, imbalances, Value Area breakouts, and high-volume events.
Important Note: Since TradingView does not provide access to real Level 2 order book data, this indicator is based on an intelligent approximation using historical volume data. It shows where volume was traded – not where limit orders currently sit.
At the core of the indicator is the Volume Profile, which is automatically calculated and shows at which price levels the most trading volume has occurred. The intensity is visualized through a selectable color scheme – from dark tones at low volume to bright colors at high liquidity. Five color schemes are available: Bookmap Blue, Fire, Green Matrix, Purple, and Thermal.
The indicator automatically identifies the Point of Control (POC) – the price level with the highest traded volume – as well as the Value Area, where typically 70% of the volume is concentrated. These zones serve as important support and resistance areas. Additionally, High Volume Nodes (HVN) are marked as potential reaction zones, and Low Volume Nodes (LVN) as areas where price might move through quickly.
Volume Bubbles display above-average trading volume in real-time – green circles signal buying pressure on bullish candles, red circles indicate selling pressure on bearish candles. The bubble size scales with volume intensity across three levels.
Another core feature is the Delta Analysis, which approximates the ratio between buying and selling volume. The background subtly colors green or red depending on the prevailing pressure. The Cumulative Volume Delta (CVD) is displayed as an area at the bottom of the chart, showing the accumulated difference between buying and selling.
The indicator also detects Imbalances – situations with extreme imbalance between buyers and sellers – and marks particularly significant Stacked Imbalances when multiple consecutive candles show the same directional bias.
The package is rounded out by the Session VWAP with optional standard deviation bands, as well as a clear Dashboard displaying all relevant values in real-time. Comprehensive Alert Functions notify you of POC touches, imbalances, Value Area breakouts, and high-volume events.
Important Note: Since TradingView does not provide access to real Level 2 order book data, this indicator is based on an intelligent approximation using historical volume data. It shows where volume was traded – not where limit orders currently sit.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。