OPEN-SOURCE SCRIPT
ที่อัปเดต: Liquidation Map

Liquidation Map Pro: Adaptive Neon Edition** estimates where leveraged longs/shorts are likely to get liquidated, then draws those zones as neon lines on the chart. Line intensity follows Open Interest from Binance, Bybit, and OKX (falls back to a volume proxy if OI is missing)
What it is
An overlay that maps estimated liquidation clusters around recent swing highs and lows. It is a **heatmap of likely stop/liquidation zones**, not a buy/sell signal.
How it works
1. Finds pivot highs and lows (sensitivity is adjustable).
2. Places **100x** levels ~1% beyond the pivot (neon red) and **50x** levels ~2% beyond (neon cyan).
3. Only draws when Open Interest change ranks as “large player” activity. OI is averaged across Binance / Bybit / OKX; if those feeds are unavailable, it uses `(high − low) × volume` as a proxy.
4. Lines stay active until price **sweeps** them (high/low crosses the line). Older lines are dropped after ~480 so the chart stays clean.
How to read it
- **Red (100x)** — tighter, more aggressive liquidation.
- **Cyan (50x)** — wider, slightly less leveraged.
- **Brighter / denser lines** — stronger OI spike (bigger flow).
- A sweep of a cluster often means that pocket of leverage has been flushed.
Settings
Lookback, MA length, pivot sensitivity, large-player threshold, colors, line width, and opacity. Exchange OI tickers are hardcoded and not shown in the UI.
這是什麼
疊加在 K 線上的「清算地圖」:在近期波段高點/低點附近,估算槓桿多空可能被強平的價位。這是**可能的停損/清算熱區視覺化**,不是買賣訊號。
怎麼算
1. 找出樞軸高點、低點(靈敏度可調)。
2. 在樞軸外約 **1%** 畫 **100x** 清算線(霓虹紅),約 **2%** 畫 **50x**(霓虹青)。
3. 只有當未平倉量(OI)變動被判定為「大戶級」時才畫線。OI 會綜合 Binance、Bybit、OKX;抓不到就改用 `(最高−最低) × 成交量` 當代理。
4. 價格**掃過**該線(高低價穿越)後,該線失效。圖上最多約 480 條,舊線會自動刪除。
**怎麼看**
- **紅線(100x)**:距離更近、槓桿更高,較容易被掃。
- **青線(50x)**:距離稍遠、槓桿較低。
- **越亮、越密**:OI 衝得越猛,資金越集中。
- 某一帶被掃掉,通常代表那一層槓桿已被清算。
可調參數
回看根數、均線長度、樞軸靈敏度、大戶門檻、顏色、線寬、透明度。三所 OI 代碼寫死在腳本裡,介面上不顯示。
一句話
EN: See where leveraged positions may get flushed — neon lines, OI-weighted, until price takes them out.
中:用霓虹線標出槓桿可能被掃的價位;強度跟 OI 走,被掃過就熄燈。
What it is
An overlay that maps estimated liquidation clusters around recent swing highs and lows. It is a **heatmap of likely stop/liquidation zones**, not a buy/sell signal.
How it works
1. Finds pivot highs and lows (sensitivity is adjustable).
2. Places **100x** levels ~1% beyond the pivot (neon red) and **50x** levels ~2% beyond (neon cyan).
3. Only draws when Open Interest change ranks as “large player” activity. OI is averaged across Binance / Bybit / OKX; if those feeds are unavailable, it uses `(high − low) × volume` as a proxy.
4. Lines stay active until price **sweeps** them (high/low crosses the line). Older lines are dropped after ~480 so the chart stays clean.
How to read it
- **Red (100x)** — tighter, more aggressive liquidation.
- **Cyan (50x)** — wider, slightly less leveraged.
- **Brighter / denser lines** — stronger OI spike (bigger flow).
- A sweep of a cluster often means that pocket of leverage has been flushed.
Settings
Lookback, MA length, pivot sensitivity, large-player threshold, colors, line width, and opacity. Exchange OI tickers are hardcoded and not shown in the UI.
這是什麼
疊加在 K 線上的「清算地圖」:在近期波段高點/低點附近,估算槓桿多空可能被強平的價位。這是**可能的停損/清算熱區視覺化**,不是買賣訊號。
怎麼算
1. 找出樞軸高點、低點(靈敏度可調)。
2. 在樞軸外約 **1%** 畫 **100x** 清算線(霓虹紅),約 **2%** 畫 **50x**(霓虹青)。
3. 只有當未平倉量(OI)變動被判定為「大戶級」時才畫線。OI 會綜合 Binance、Bybit、OKX;抓不到就改用 `(最高−最低) × 成交量` 當代理。
4. 價格**掃過**該線(高低價穿越)後,該線失效。圖上最多約 480 條,舊線會自動刪除。
**怎麼看**
- **紅線(100x)**:距離更近、槓桿更高,較容易被掃。
- **青線(50x)**:距離稍遠、槓桿較低。
- **越亮、越密**:OI 衝得越猛,資金越集中。
- 某一帶被掃掉,通常代表那一層槓桿已被清算。
可調參數
回看根數、均線長度、樞軸靈敏度、大戶門檻、顏色、線寬、透明度。三所 OI 代碼寫死在腳本裡,介面上不顯示。
一句話
EN: See where leveraged positions may get flushed — neon lines, OI-weighted, until price takes them out.
中:用霓虹線標出槓桿可能被掃的價位;強度跟 OI 走,被掃過就熄燈。
Release Note
CHANGED• Distances now include maintenance margin. New "Maintenance Margin (%)" setting, default 0.5: the 100x distance goes from 1% to 0.5%, and 50x from 2% to 1.5%. Set it to 0 for the old 1% / 2%.
• Lines now start at the swing (pivot) bar instead of the confirmation bar. They still appear at the same time, 2 bars after the swing.
• Stricter touch rule: a bar's high must be above and its low below the line price. Exactly touching the line price no longer counts (it used to).
NEW
• Old line dashing (on by default, 24 hours, adjustable; 0 turns it off). An untouched line older than the threshold since it appeared turns dashed; new lines always start solid. A touched line keeps the style it had at that moment. Dashing marks age only; brightness still reflects open interest at formation.
• 100x and 50x each have their own on/off, color, weight and minimum strength (previously only color).
• Max Lines is now a setting, default 480 (same as before).
• The percentile threshold setting is now named "OI Change Percentile Threshold".
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน