KioseffTrading

Dynamic Liquidity Map [Kioseff Trading]

KioseffTrading Wizard 已更新   
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!


版本注释:
Fixed timeframe.period issue

Thank you @Trendoscope for noticing (:
版本注释:
Fixed bug with oi data!

Thank you again for noticing @Trendoscope

•Access to Next-Gen Optimization Tools: www.kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
开源脚本

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

免责声明

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

想在图表上使用此脚本?