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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.