OPEN-SOURCE SCRIPT
Cập nhật Liquidity Sweep Warner - MMXM Hunter

Hier ist eine professionelle englische Beschreibung für TradingView:
---
# Liquidity Sweep Warner – ICT / SMC Dashboard
The Liquidity Sweep Warner is designed for ICT and Smart Money Concepts traders who want a clear overview of whether key liquidity levels have already been taken during the trading day.
The indicator automatically tracks major external liquidity pools and displays their current status in a clean dashboard located in the top-right corner of the chart.
## Tracked Liquidity Levels
### Previous Day Liquidity
* Previous Day High (PDH)
* Previous Day Low (PDL)
### Asia Session Liquidity
Based on New York Time:
* Asia Session: 7:00 PM – 3:00 AM NY Time
* Asia High
* Asia Low
### London Session Liquidity
Based on New York Time:
* London Session: 3:00 AM – 9:30 AM NY Time
* London High
* London Low
### 1-Hour Main Swing Liquidity
The indicator automatically identifies major 1H swing highs and swing lows.
Default swing definition:
* Higher than the previous 3 candles
* Confirmed by 1 candle on the right
This can be customized in the settings.
## Sweep Detection
A liquidity level is considered swept immediately when price touches or exceeds the level.
No candle close is required.
Examples:
* High ≥ PDH → PDH is marked as TAKEN
* Low ≤ PDL → PDL is marked as TAKEN
This reflects the true concept of stop-hunt liquidity where even a single tick beyond the level is sufficient.
## Dashboard
The dashboard displays:
* PDH
* PDL
* Asia High
* Asia Low
* London High
* London Low
* 1H Main Swing High
* 1H Main Swing Low
Status colors:
* Green = TAKEN
* Red = OPEN
This allows traders to instantly see which liquidity pools remain available and which have already been cleared.
## Visual Chart Markings
Every tracked liquidity level is drawn as a horizontal line extending from its origin to the current price.
When a level gets swept:
* The line changes to gray
* The line becomes dashed
* An optional sweep label is printed on the chart
This makes it easy to visually confirm where liquidity has been taken.
## Alerts
The indicator can generate alerts whenever any tracked liquidity level is swept:
* PDH Swept
* PDL Swept
* Asia High Swept
* Asia Low Swept
* London High Swept
* London Low Swept
* 1H Main Swing High Swept
* 1H Main Swing Low Swept
Perfect for traders who want immediate notification when liquidity is removed from the market.
## Purpose
The goal of this indicator is simple:
Avoid trading directly into liquidity that has already been taken and maintain awareness of the next likely liquidity objective.
It provides a clear picture of market structure, external liquidity, and potential draw-on-liquidity targets throughout the trading day.
---
**Recommended Use:** ICT, SMC, MMXM, Liquidity-Based Trading, Market Structure Analysis, London Session Trading, New York Session Trading, Futures, Forex, Indices, and Crypto Markets.
---
# Liquidity Sweep Warner – ICT / SMC Dashboard
The Liquidity Sweep Warner is designed for ICT and Smart Money Concepts traders who want a clear overview of whether key liquidity levels have already been taken during the trading day.
The indicator automatically tracks major external liquidity pools and displays their current status in a clean dashboard located in the top-right corner of the chart.
## Tracked Liquidity Levels
### Previous Day Liquidity
* Previous Day High (PDH)
* Previous Day Low (PDL)
### Asia Session Liquidity
Based on New York Time:
* Asia Session: 7:00 PM – 3:00 AM NY Time
* Asia High
* Asia Low
### London Session Liquidity
Based on New York Time:
* London Session: 3:00 AM – 9:30 AM NY Time
* London High
* London Low
### 1-Hour Main Swing Liquidity
The indicator automatically identifies major 1H swing highs and swing lows.
Default swing definition:
* Higher than the previous 3 candles
* Confirmed by 1 candle on the right
This can be customized in the settings.
## Sweep Detection
A liquidity level is considered swept immediately when price touches or exceeds the level.
No candle close is required.
Examples:
* High ≥ PDH → PDH is marked as TAKEN
* Low ≤ PDL → PDL is marked as TAKEN
This reflects the true concept of stop-hunt liquidity where even a single tick beyond the level is sufficient.
## Dashboard
The dashboard displays:
* PDH
* PDL
* Asia High
* Asia Low
* London High
* London Low
* 1H Main Swing High
* 1H Main Swing Low
Status colors:
* Green = TAKEN
* Red = OPEN
This allows traders to instantly see which liquidity pools remain available and which have already been cleared.
## Visual Chart Markings
Every tracked liquidity level is drawn as a horizontal line extending from its origin to the current price.
When a level gets swept:
* The line changes to gray
* The line becomes dashed
* An optional sweep label is printed on the chart
This makes it easy to visually confirm where liquidity has been taken.
## Alerts
The indicator can generate alerts whenever any tracked liquidity level is swept:
* PDH Swept
* PDL Swept
* Asia High Swept
* Asia Low Swept
* London High Swept
* London Low Swept
* 1H Main Swing High Swept
* 1H Main Swing Low Swept
Perfect for traders who want immediate notification when liquidity is removed from the market.
## Purpose
The goal of this indicator is simple:
Avoid trading directly into liquidity that has already been taken and maintain awareness of the next likely liquidity objective.
It provides a clear picture of market structure, external liquidity, and potential draw-on-liquidity targets throughout the trading day.
---
**Recommended Use:** ICT, SMC, MMXM, Liquidity-Based Trading, Market Structure Analysis, London Session Trading, New York Session Trading, Futures, Forex, Indices, and Crypto Markets.
Phát hành các Ghi chú
07.2026 - HTF swept Level Labels fixed.
- Multi HTF Levels possible
- minor fixes
- dashboard by default off
- default Main Timeframe 15m
Phát hành các Ghi chú
This update significantly improves keylevel visualization: swing levels are now labeled as AH/LH and AL/LL, alongside PDH/PDL. It also adds advanced sweep-label controls (prominent/subtle style, symbol, size), per-HTF visibility toggles, and anti-clutter filters (All vs Latest X for open levels, swept levels, and sweep labels).The dashboard is now configurable as well, with adjustable size, transparency, and selectable level sections.
Level/label handling was also refined to reduce unnecessary duplicate keylevel plotting.
Happy Hunting :-)
Phát hành các Ghi chú
Added multi-timeframe Order Block enhancements with two independent HTF OB layers.You can now enable/disable each HTF layer separately and choose its timeframe (default: 15m and 1H).
HTF OB labels are now plotted on the right side of each block and display the actual selected interval (e.g., 15m BULL OB, 1H BEAR OB) for clearer chart context.
The HTF OBs fully respect existing OB settings, including confirmation mode (Direct/FVG Confirmed), break basis (Close/Wick), signal timing (Realtime/On Close), invalidation visibility, and historical OB limits.
Phát hành các Ghi chú
only old session sweeps counts, not the actual as it is forming.Phát hành các Ghi chú
tiny fixesMã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.