Liquidation Ranges + Volume/OI Dots [Kioseff Trading]

KioseffTrading 已更新   

Introducing a multi-faceted indicator "Liquidation Ranges + Volume Dots" - this indicator replicates the volume dot tools found on various charting platforms and populates a liquidation range on crypto assets!


  • Volume/OI dots populated according to user settings
  • Size of volume/OI dots corresponds to degree of abnormality
  • Naked level volume dots
  • Fixed range capabilities for volume/OI dots
  • Visible time range capabilities for volume/OI dots
  • Lower timeframe data used to discover iceberg orders (estimated using 1-minute data)
  • S/R lines drawn at high volume/OI areas
  • Liquidation ranges for crypto assets (10x - 100x)
  • Liquidation ranges are calculated using a popular crypto exchange's method
  • # of violations of liquidation ranges are recorded and presented in table
  • Pertinent high volume/OI price areas are recorded and presented in table
  • Personalized coloring for volume/OI dots
  • Net shorts / net long for the price range recorded
  • Lines shows reflecting net short & net long increases/decreases
  • Configurable volume/OI heatmap (displayed between liquidation ranges)

And some more (:

Liquidation Range

The liquidation range component of the indicator uses a popular crypto exchange's calculation (for liquidation ranges) to populate the chart for where 10x - 100x leverage orders are stopped out.

The image above depicts features corresponding to net shorts and net longs.

The image above shows features corresponding to liquidation zones for the underlying coin.

The image above shows the option to display volume/oi delta at the time the corresponding grid was traded at.

The image above shows an instance of using the "fixed range" feature for the script.

*The average price of the range is calculated to project liquidation zones.

*Heatmap is calculated using OI (or volume) delta.

Huge thank you to Pine Wizard @DonovanWall for his range filter code!

Price ranges are automatically detected using his calculation (:

Volume / OI Dots

Similar to other charting platforms, the volume/OI dots component of the indicator distinguishes "abnormal" changes in volume/OI; the detected price area is subsequently identified on the chart.

The detection method uses percent rank and calculates on the last bar of the chart. The "agelessness" of detection is contingent on user settings.

The image above shows volume dots in action; the size of each volume dot corresponds to the amount of volume at the price area.

Smaller dots = lower volume
Larger dots = higher volume

The image above exemplifies the highest aggression setting for volume/OI dot detection.

The table oriented top-right shows the highest volume areas (discovered on the 1-minute chart) for the calculated period.

The open interest change and corresponding price level are also shown. Results are listed in descending order but can also be listed in order of occurrence (most relevant).

Additionally, you can use the visible time range feature to detect volume dots.

The feature shows and explains how the visible range feature works. You select how many levels you want to detect and the script will detect the selected number of levels.

For instance, if I select to show 20 levels, the script will find the 20 highest volume/OI change price areas and distinguish them.

The image above shows a narrower price range.

The image above shows the same price range; however, the script is detecting the highest OI change price areas instead of volume.

* You can also set a fixed range with this feature

* Naked levels can be used

Additionally, you can select for the script to show only the highest volume/ OI change price area for each bar. When active, the script will successively identify the highest volume / OI change price area for the most recent bars.

Naked Levels

The image above shows and explains how naked levels can be detected when using the script.

And that's pretty much it!

Of course, there're a few more features you can check out when you use the script that haven't been explained here (:

Thank you again to @DonovanWall

Thank you to @Trendoscope for his binary insertion sort library (:

Thank you to @PineCoders for their time library

Thank you for checking this out!

Added an option to hide the heatmap and convert liquidation ranges from boxes to lines.

Thank you @NetoDav for the request (:
Update to the lower timeframe resolution that is requested.

The user input was removed. Instead, a portion of @Pinecoders coder from their library "lower_tf" was used; thank you to them!!

With this change the script will auto-calculate a "more efficient" lower timeframe resolution relative to your chart's timeframe. This should improve efficiency!

Thank you (:
Last one for the night (:

Fixed an occurrence where, if a non "USDT.P" crypto symbol was loaded the indicator would generate a runtime error.

While not an error, the script will now load on non "USDT.P" crypto tickers!!

Thank you (:
Minor update to calculation
Fix for the previous fix
Ranges default to "off" on non-crypto charts
Update to request() string

•Access to Next-Gen Optimization Tools:

•Access to Proprietary Data:

•Discord Server:

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