OPEN-SOURCE SCRIPT

Liquidations Zones [ChartPrime]

The Liquidation Zones [ChartPrime] indicator is designed to detect potential liquidation zones based on common leverage levels such as 10x, 25x, 50x, and 100x. By calculating percentage distances from recent pivot points, the indicator shows where leveraged positions are most likely to get liquidated. It also tracks buy and sell volumes in these zones, helping traders assess market pressure and predict liquidation scenarios. Additionally, the indicator features a heat map mode to highlight areas where orders and stop-losses might be clustered.


⯁ KEY FEATURES AND HOW TO USE
  • ⯌ Leverage Zones Detection:
    The indicator identifies zones where positions with leverage ratios of 100x, 50x, 25x, and 10x are at risk of liquidation. These zones are based on percentage moves from recent pivots: a 1% move can liquidate 100x positions, a 4% move affects 25x positions, and so on.
    captura
  • ⯌ Liquidated Zones and Volume Tracking:
    The indicator displays liquidated zones by plotting gray areas where the price potentually liquidate positons. It calculates the volume needed to liquidate positions in these zones, showing volume from bullish candles if short positions were liquidated and volume from bearish candles for long positions. This feature helps traders assess the risk of liquidation as the price approaches these zones.
    captura
  • ⯌ Buy/Sell Volume Calculation:
    Buy and sell volumes are calculated from the most recent pivot high or low. For buy volume, only bullish candles are considered, while for sell volume, only bearish candles are summed. This data helps traders gauge the strength of potential liquidation in different zones.
    Example of buy and sell volume tracking in active zones:capturacaptura
  • ⯌ Liquidity Heat Map:
    In heat map mode, the indicator visualizes potential liquidity areas where orders and stop-losses may be clustered. This map highlights zones that are likely to experience liquidations based on leverage ratios. Additionally, it tracks the highest and lowest price levels for the past 100 bars, while also displaying buy and sell volumes. This feature is useful for predicting market moves driven by liquidation events.
    capturacaptura


captura


⯁ USER INPUTS
  • Length: Determines the number of bars used to calculate pivots for liquidation zones.
  • Extend: Controls how far the liquidation zones are extended on the chart.
  • Leverage Options: Toggle options to display zones for different leverage levels: 10x, 25x, 50x, and 100x.
  • Display Heat Map: Enables or disables the liquidity heat map feature.



⯁ CONCLUSION
The Liquidation Zones [ChartPrime] indicator provides a powerful tool for identifying potential liquidation zones, tracking volume pressure, and visualizing liquidity areas on the chart. With its real-time updates and multiple features, this indicator offers valuable insights for managing risk and anticipating market moves driven by leveraged positions.
cascadeliquidationsordersPivot points and levelsPortfolio managementtrendTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal