KioseffTrading

Dynamic Liquidity Map [Kioseff Trading]

KioseffTrading Wizard Mis à jour   
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!


Notes de version:
Fixed timeframe.period issue

Thank you @Trendoscope for noticing (:
Notes de version:
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
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?