OPEN-SOURCE SCRIPT
High/Low Liquidation Levels

The Visible High/Low Liquidation Levels indicator is designed to help traders better understand potential liquidation zones within a visible range on the chart. It does this by identifying dynamic high and low median price levels and plotting corresponding liquidation levels based on various leverage ratios.
This tool visually marks these critical zones, offering insight into areas where over-leveraged positions (such as x1, x2, x5, up to x100) are more likely to get liquidated, either above the recent low or below the recent high. This can support risk management and decision-making, especially in volatile markets.
Features:
Displays median high and low levels based on a configurable number of visible bars.
Plots liquidation levels above the low median and below the high median for multiple leverage tiers: x1, x2, x3, x5, x10, x25, x50, x75, x100.
Full customization over which leverage levels to show.
Color-coded lines for easy visual distinction.
Configurable bar range for calculating highs and lows separately.
Built-in legend table for clear reference to level color mappings.
This tool visually marks these critical zones, offering insight into areas where over-leveraged positions (such as x1, x2, x5, up to x100) are more likely to get liquidated, either above the recent low or below the recent high. This can support risk management and decision-making, especially in volatile markets.
Features:
Displays median high and low levels based on a configurable number of visible bars.
Plots liquidation levels above the low median and below the high median for multiple leverage tiers: x1, x2, x3, x5, x10, x25, x50, x75, x100.
Full customization over which leverage levels to show.
Color-coded lines for easy visual distinction.
Configurable bar range for calculating highs and lows separately.
Built-in legend table for clear reference to level color mappings.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.