TradingView
KioseffTrading
Jul 24, 2023 8:08 PM

Liquidation Ranges + Volume/OI Dots [Kioseff Trading] 

Bitcoin / TetherUS PERPETUAL CONTRACTBinance

描述

Hello!

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!

Features

  • 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
评论
Trendoscope
As always. Perfectionist!!
KioseffTrading
@Trendoscope, Lord V. !! Thank you man for the kind words I always appreciate it my friend (:
MarcelloEC
wow
PineCoders
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!
KioseffTrading
@PineCoders, Thank you very much Pine Coders!!!
RDreesmann
WoW - thank you for sharing
KioseffTrading
@RDreesmann, Hey RDreesmann!! Thank you very much for the comment and coins man - much appreciated (:
RicardoSantos
Thank you, great work!!
KioseffTrading
@RicardoSantos, I am honored sensei!! Thank you very much Ricardo I appreciate it man (:
jlee462
@KioseffTrading I would love it if you could filter the volume dots and lines to show only positive or negative open interest. Amazing indicator!!!
更多