TradingView
KioseffTrading
18 Th08 2023 05:02

Dynamic Liquidity Map [Kioseff Trading] 

Bitcoin / TetherUS PERPETUAL CONTRACTBinance

Mô tả

Hello!

Just a quick/fun project here: "Dynamic Heatmap".

This script draws a volume delta or open interest delta heatmap for the asset on your chart.

The adjective "Dynamic" is used for two reasons (:


1: Self-Adjusting Lower Timeframe Data

The script requests ~10 lower timeframe volume and open interest data sets.

When using the fixed range feature the script will, beginning at the start time, check the ~10 requested lower timeframes to see which of the lower timeframes has available data.

The script will always use the lowest timeframe available during the calculation period. As time continues, the script will continue to check if new lower timeframe data (lower than the currently used lowest timeframe) is available. This process repeats until bar time is close enough to the current time that 1-minute data can be retrieved.



The image above exemplifies the process.

Incrementally lower timeframe data will be used as it becomes available.

1: Fixed range capabilities

The script features a "fixed range" tool, where you can manually set a start time (or drag & drop a bar on the chart) to determine the interval the heatmap covers.

From the start date, the script will calculate the calculate the sub-intervals necessary to draw a rows x columns heatmap. Consequently, setting the start time further back will draw a heat map with larger rows x columns, whereas, a start time closer to the current bar time will draw a more "precise" heatmap with smaller rows x columns.


Additionally, the heatmap can be calculated using open interest data.



The image above shows the heatmap displaying open interest delta.



The image above shows alternative settings for the heatmap.

Delta values have been hidden alongside grid border colors. These settings can be replicated to achieve a more "traditional" feel for the heatmap.

Thanks for checking this out!


Phát hành các Ghi chú

Fixed timeframe.period issue

Thank you @Trendoscope for noticing (:

Phát hành các Ghi chú

Fixed bug with oi data!

Thank you again for noticing @Trendoscope
Bình luận
djmad
magnificent
KioseffTrading
@djmad, Hey DJ!
Thank you man I appreciate the kind words and coins :D
LucF
Remarkable work. Thank you.
KioseffTrading
@LucF, Thank you Luc!!

I appreciate the kind words very much man (:
Trendoscope
Awesome work and lovely visuals. As always another masterpiece!!
KioseffTrading
@Trendoscope, Thank you Lord V!! (: Much appreciated man (:
RicardoSantos
Another great tool added to the library :)
KioseffTrading
@RicardoSantos, Thank you, Ricardo; I appreciate the kind words very much!!

Your library was very nice here (:
MarcelloEC
Outstanding work
Q_Predator
I always look forward to your scripts...can this indicator be used as order block strength indicator (though its delta and passive orders are not perhaps considered). Its giving errors on TV replay backtest, any fix for that pls?
Thêm nữa