OPEN-SOURCE SCRIPT
Updated BitMEX Liquidation Levels

This indicator plots BitMEX liquidation levels:
- 25x
- 50x
- 100x
The indicator works as following:
It works for all BitMEX contracts and while it has been optimized for BitMEX, it will work on other exchanges with the same leverage levels (25x, 50x, 100x) and maintenance margin requirements too.
This indicator uses the Smart Volume indicator to compute the volume at the "start volume candle" setting where the liquidation level starts. This indicator can be found here: Smart Volume:
- 25x
- 50x
- 100x
The indicator works as following:
- The underlying assumption (as with all liquidation calculations) obviously is that traders used fixed margin or go "all in" on their cross-margin account.
- You then can configure a minimum trade volume and a minimum price change in percent for a candle to start computing liquidation levels from that candle
- Additionally: configure the price base for the liqudation level: Candle high or low (default) works well, but you can also set "candle close" or "median high/low"
- The indicator will then plot horizontal lines on the main chart showing price levels where many positions opened at the configured "start candle" will likely get liquidated.
It works for all BitMEX contracts and while it has been optimized for BitMEX, it will work on other exchanges with the same leverage levels (25x, 50x, 100x) and maintenance margin requirements too.
This indicator uses the Smart Volume indicator to compute the volume at the "start volume candle" setting where the liquidation level starts. This indicator can be found here: Smart Volume:

Release Notes
- added 10x liquidation levels- added candle close price to liquidation alert messages
Release Notes
fixed styleRelease Notes
draw bars less thinnerOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Full time & full stack developer - professional trader wolfbot.org
✅ 💹 Automate your Crypto TradingView Signals ✅ 💹
✅ 💹 Automate your Crypto TradingView Signals ✅ 💹
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Full time & full stack developer - professional trader wolfbot.org
✅ 💹 Automate your Crypto TradingView Signals ✅ 💹
✅ 💹 Automate your Crypto TradingView Signals ✅ 💹
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.