StratifyTrade

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.

🔶 FEATURES

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.

🔶 CALCULATION

    for i = 0 to step - 1
        float plotter = na
        switch i
            0 =>
                plotter := hs
            =>
                plotter := hs - diff * (  i  )

        cls.hm.gnL(plotter)
        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.

🔶 BASIC DEMOSTRATION


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.

🔶 CONCLUSION

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.

🔶 RELATED SCRIPT

版本注释:
Minor changes
版本注释:
Fixed memory-related errors
版本注释:
Added border option for Volume Profiles

Get Access to StratifyTrade indicators: www.stratify.trade

Join our free discord for updates : discord.gg/NrG7N6rW2k

All scripts & content provided by StratifyTrade are for informational & educational purposes only.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?