Open Liquidity Heatmap [StratifyTrade]

StratifyTrade 已更新   
Open Liquidity Heatmap is an indicator designed to display accumulated resting liquidity on the chart.

Unlike any other liquidity heatmap, this aims to accumulate liquidity at specific levels that build up over time, showing larger areas of liquidity.


The indicator includes the following settings:

  • Lookback: Used to determine the range calculation of the heatmap.
  • Leverage: Leverage of the liquidation (Counted as % in price, Example: 4.5 will return a distance from price of 4.5%, indicating any possible resting liquidity in this range).
  • Levels: Amount of levels to display (Each level is counted as liquidity resting on the chart; fewer levels will return a bigger area of liquidity sitting on the chart).
  • Mode: Apply a color gradient from the minimum liquidation to the maximum liquidity level. Set the maximum color gradient value (Counted as volume).
  • Offset: Automatically determine the offset range of the Volume Profiles. Manual offset of the Volume Profiles.


    for i = 0 to step - 1
        float plotter = na
        switch i
            0 =>
                plotter := hs
                plotter := hs - diff * (  i  )
        cls.vp.put(plotter, 0)

We calculate levels like a normal volume profile with steps, from the highest point within the lookback to the lowest one. Each level will contain the corresponding amount of volume that the candle has closed in that range.

As we can see in the image above, we add liquidity each time the distance in % from price is between two levels.

Unlike many liquidity indicators that provide a single candle liquidity heatmap, this aims to add up liquidity (volume) in already present levels.

This can be extremely useful to see which levels are likely to be more liquid and tend to get a bigger reaction to the price.

Imagine it like a range of levels that each time price revisits that area, a new position area is added; we add volume in that area each time price visits that zone. Liquidity builds up in those zones, causing a bigger reaction to the price once the price visits it.

This indicator is not the same as a single candle heatmap like many others. What is a single candle heatmap?

A single candle heatmap is when a level is created on every new candle, coloring the level based on the total volume of it.

This indicator, on the contrary, aims to provide a more specific use by adding up liquidity each time price visits it.


This is a basic demonstration of how we can spot high liquidity points overall using confluence:

  • We see the POC of the liquidation in a low volume area of the normal volume profile adding up as confluence.
  • Resistance from the POC Volume Profile suggesting price will go lower.
  • Major long open liquidity down.

As we can see, price takes out all the long liquidity and right after pumping, indicating that all the major liquidity got taken out.

Some key note to take is that a POC in the liquidation heatmap in a low volume area of the normal Volume Profile add confluence of a possible big reaction in that zone.

In the forex market, we suggest to use a low distance from price (Leverage) while in a crypto market you can use the one that fit the best the current timeframe.


This indicator aims to show open resting liquidity that had built up over time, showing the most amount of liquidation in specific areas in an aggregated way unlike many liquidation heatmap indicators that show single-level liquidation.


Minor changes
Fixed memory-related errors
Added border option for Volume Profiles

Get Access to StratifyTrade indicators:

Join our free discord for updates :

All scripts & content provided by StratifyTrade are for informational & educational purposes only.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。