Liquidation Levels - Sweep Statistics [Dots3Red]

💥 LIQUIDATION LEVELS - SWEEP STATISTICS [Dots3Red]
This indicator estimates where leveraged long and short positions would be liquidated, draws those levels on the chart, and measures how often price actually went on to sweep them on the current chart, and how long it typically took.
✨ WHY THIS MATTERS
Liquidation maps have become one of the most watched tools in crypto and leveraged trading. The idea is that clusters of forced liquidations act like magnets: price is drawn toward them, sweeps the stops, and often reacts. But "price hunts liquidations" is usually stated as a fact rather than measured. This script estimates the levels in a transparent way and then keeps score: of all the levels it has drawn on this chart, how many were actually reached?
⚙️ HOW IT WORKS
💥 Where the levels come from — positions are assumed to cluster at confirmed swing highs and lows, optionally only those that formed on above-average volume. From each swing, liquidation prices are projected for three leverage tiers (default 100x, 50x and 25x):
• Long liquidations sit below a swing low, at the distance a long at that leverage could absorb
• Short liquidations sit above a swing high, by the same logic
Higher leverage means a level closer to the swing; lower leverage means a level further away.
🎯 Sweep tracking — every level is followed for a set number of bars. If price reaches it, it counts as swept, and the script records how many bars that took. If the window ends first, it counts as not swept.
📊 Separate scoreboard per tier and side — six rows in total, so you can see, for example, whether 100x short liquidations above price get swept more often than 25x long liquidations below.
🏷️ Nearest levels tagged — the closest levels above and below price are labeled with their leverage tier and distance in percent.
🔒 Non-repainting — swings are confirmed before a level is drawn, and sweeps are recorded on confirmed bars only.
🧭 HOW TO USE
1️⃣ Read the sweep rate before treating a level as a magnet. A tier that gets swept 70% of the time is a very different target from one swept 25% of the time.
2️⃣ Compare tiers. High-leverage levels are close and get swept often; the more interesting question is how often the far ones do.
3️⃣ Compare sides. In a trending market, levels in the direction of the trend usually get swept far more often.
4️⃣ Use "average bars" for patience. It tells you how long sweeps have typically taken on this chart.
5️⃣ Use it as context, not a trigger. The rates describe how these estimated levels have behaved here. They do not predict the next sweep.
⏱️ WHICH TIMEFRAMES WORK BEST
15-minute through 4-hour on leveraged markets such as crypto perpetuals, where liquidations are a real driver. It also runs on any other instrument, where the levels are best read as generic stop clusters beyond swings.
🛠️ SETTINGS
💥 Liquidation Levels — swing lookback left/right, volume filter and its threshold, three leverage tiers with on/off switches
🎯 Sweep Tracking — how many bars each level is tracked, minimum levels to show a rate
🎨 Visuals — long and short liquidation colors, line thickness, keep swept/expired levels, tag nearest levels and how many
🖥️ Dashboard — show/hide, position
🔔 Alerts — long liquidation level swept, short liquidation level swept
📝 NOTES
These levels are estimates built from price, volume and simple leverage arithmetic. They are not exchange liquidation data, they ignore maintenance margin and funding, and they cannot know where traders actually opened positions. All rates are specific to this chart, timeframe and settings.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical statistics do not guarantee future performance.
This indicator estimates where leveraged long and short positions would be liquidated, draws those levels on the chart, and measures how often price actually went on to sweep them on the current chart, and how long it typically took.
✨ WHY THIS MATTERS
Liquidation maps have become one of the most watched tools in crypto and leveraged trading. The idea is that clusters of forced liquidations act like magnets: price is drawn toward them, sweeps the stops, and often reacts. But "price hunts liquidations" is usually stated as a fact rather than measured. This script estimates the levels in a transparent way and then keeps score: of all the levels it has drawn on this chart, how many were actually reached?
⚙️ HOW IT WORKS
💥 Where the levels come from — positions are assumed to cluster at confirmed swing highs and lows, optionally only those that formed on above-average volume. From each swing, liquidation prices are projected for three leverage tiers (default 100x, 50x and 25x):
• Long liquidations sit below a swing low, at the distance a long at that leverage could absorb
• Short liquidations sit above a swing high, by the same logic
Higher leverage means a level closer to the swing; lower leverage means a level further away.
🎯 Sweep tracking — every level is followed for a set number of bars. If price reaches it, it counts as swept, and the script records how many bars that took. If the window ends first, it counts as not swept.
📊 Separate scoreboard per tier and side — six rows in total, so you can see, for example, whether 100x short liquidations above price get swept more often than 25x long liquidations below.
🏷️ Nearest levels tagged — the closest levels above and below price are labeled with their leverage tier and distance in percent.
🔒 Non-repainting — swings are confirmed before a level is drawn, and sweeps are recorded on confirmed bars only.
🧭 HOW TO USE
1️⃣ Read the sweep rate before treating a level as a magnet. A tier that gets swept 70% of the time is a very different target from one swept 25% of the time.
2️⃣ Compare tiers. High-leverage levels are close and get swept often; the more interesting question is how often the far ones do.
3️⃣ Compare sides. In a trending market, levels in the direction of the trend usually get swept far more often.
4️⃣ Use "average bars" for patience. It tells you how long sweeps have typically taken on this chart.
5️⃣ Use it as context, not a trigger. The rates describe how these estimated levels have behaved here. They do not predict the next sweep.
⏱️ WHICH TIMEFRAMES WORK BEST
15-minute through 4-hour on leveraged markets such as crypto perpetuals, where liquidations are a real driver. It also runs on any other instrument, where the levels are best read as generic stop clusters beyond swings.
🛠️ SETTINGS
💥 Liquidation Levels — swing lookback left/right, volume filter and its threshold, three leverage tiers with on/off switches
🎯 Sweep Tracking — how many bars each level is tracked, minimum levels to show a rate
🎨 Visuals — long and short liquidation colors, line thickness, keep swept/expired levels, tag nearest levels and how many
🖥️ Dashboard — show/hide, position
🔔 Alerts — long liquidation level swept, short liquidation level swept
📝 NOTES
These levels are estimates built from price, volume and simple leverage arithmetic. They are not exchange liquidation data, they ignore maintenance margin and funding, and they cannot know where traders actually opened positions. All rates are specific to this chart, timeframe and settings.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical statistics do not guarantee future performance.
Connect the dots to elevate your trading.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
Connect the dots to elevate your trading.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.