OPEN-SOURCE SCRIPT
Untested Highs & Lows (Auto Remove When Tested)

📌 Indicator Name: Untested Liquidity Highs & Lows
🧠 Description
This indicator plots untested swing highs and swing lows on the chart as horizontal liquidity levels.
These levels represent areas where price previously reversed (pivot points) but has not yet returned to “mitigate” or “take” the liquidity resting at those prices.
🔴 Red lines = Untested liquidity levels
When price revisits and “sweeps” a level, it is automatically removed from the chart.
The goal of this tool is not to predict direction, but to visualize where liquidity is resting in the market and how price interacts with those areas over time.
📊 How to Use It
1. Identify Liquidity Zones
Red lines mark swing highs and swing lows that have not yet been revisited
These are areas where stop orders and pending liquidity are likely resting
2. Understand Market Behavior
Price often moves toward liquidity before reversing or continuing trend direction.
These levels help you see where price may be drawn next.
3. Watch for Sweeps
When price moves through a level and does not respect it:
The line disappears automatically
This represents liquidity being taken (swept)
Sweeps are often followed by:
reversals
expansions
continuation moves after mitigation
🎯 Trading Application
Traders commonly use this tool to:
Identify potential target zones (liquidity pools)
Wait for liquidity sweeps before entries
Confirm market intent (accumulation vs distribution)
Avoid entering before liquidity is taken
⚠️ Important Note
This indicator does not predict direction.
It simply maps where liquidity exists and when it is removed, which is a core concept in modern price action and ICT-style trading models.
🧠 Description
This indicator plots untested swing highs and swing lows on the chart as horizontal liquidity levels.
These levels represent areas where price previously reversed (pivot points) but has not yet returned to “mitigate” or “take” the liquidity resting at those prices.
🔴 Red lines = Untested liquidity levels
When price revisits and “sweeps” a level, it is automatically removed from the chart.
The goal of this tool is not to predict direction, but to visualize where liquidity is resting in the market and how price interacts with those areas over time.
📊 How to Use It
1. Identify Liquidity Zones
Red lines mark swing highs and swing lows that have not yet been revisited
These are areas where stop orders and pending liquidity are likely resting
2. Understand Market Behavior
Price often moves toward liquidity before reversing or continuing trend direction.
These levels help you see where price may be drawn next.
3. Watch for Sweeps
When price moves through a level and does not respect it:
The line disappears automatically
This represents liquidity being taken (swept)
Sweeps are often followed by:
reversals
expansions
continuation moves after mitigation
🎯 Trading Application
Traders commonly use this tool to:
Identify potential target zones (liquidity pools)
Wait for liquidity sweeps before entries
Confirm market intent (accumulation vs distribution)
Avoid entering before liquidity is taken
⚠️ Important Note
This indicator does not predict direction.
It simply maps where liquidity exists and when it is removed, which is a core concept in modern price action and ICT-style trading models.
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.
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.