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.
    snapshot
  • ⯌ 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.
    snapshot
  • ⯌ 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:snapshotsnapshot
  • ⯌ 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.
    snapshotsnapshot


snapshot


⯁ 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 open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité