OPEN-SOURCE SCRIPT
업데이트됨

Dynamic Liquidity Map [Kioseff Trading]

32 441
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

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.