OPEN-SOURCE SCRIPT
TraxisLab Liquidation Heatmap

The TraxisLab Liquidation Heatmap visualizes potential liquidation zones based on price structure, volume, and leverage dynamics. It is designed to provide a clear view of where liquidity is likely to accumulate directly within the chart.
What this indicator does
The indicator identifies price areas where leveraged long and short positions are most likely to be liquidated.
It uses pivot-based structure combined with volume and configurable leverage levels from 10x up to 100x to estimate and display these zones as a dynamic heatmap.
The goal is to highlight areas of concentrated liquidity, potential stop hunts, and zones where price is more likely to react.
Core functionality
Anchor data support allows the use of an external symbol, such as Binance perpetual futures, to improve the realism of the calculations.
Leverage-based calculations are applied across multiple tiers including 10x, 25x, 50x, and 100x.
Volume-weighted estimation assigns each zone an approximate liquidation size in millions of USD.
Cluster detection groups nearby zones together, indicating stronger areas of liquidity concentration.
Nearest zone identification highlights the most relevant zone relative to the current price.
Detailed tooltips provide additional context such as price level, long and short distribution, estimated size, and distance from the current market price.
Time-based fading reduces the visibility of older zones, keeping the focus on more recent data.
Visual structure
The indicator displays heatmap-style zones directly on the chart, with separate color schemes for long and short liquidations.
Intensity varies depending on leverage and clustering strength.
Optional cluster lines improve readability, while labels provide a concise overview of each zone.
An integrated table summarizes the most relevant nearby levels.
Calculation methodology
Liquidation zones are derived from market structure.
Pivot highs are used to estimate potential short liquidations.
Pivot lows are used to estimate potential long liquidations.
The calculations are based on the following formulas:
Short liquidation is calculated as price multiplied by one plus one divided by leverage.
Long liquidation is calculated as price multiplied by one minus one divided by leverage.
Additional factors include volume data, ATR for zone sizing and clustering, and a simulated position allocation model.
Important note
This indicator provides estimated liquidation zones and does not use actual exchange liquidation data.
The calculations are based on typical leverage behavior and market mechanics and are intended to approximate where liquidity is likely positioned.
Application
The indicator can be used to identify potential liquidity targets, anticipate volatility, and refine entries and exits around key levels.
It can also be combined with price action or other analytical methods for more advanced strategies.
This tool is intended for traders who focus on liquidity, structure, and market behavior.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.