OPEN-SOURCE SCRIPT
Liquidity Sweeps by EV

This indicator is designed to detect liquidity sweeps and stop hunts by identifying when price briefly moves beyond key swing highs or lows and then rejects those levels. It highlights areas where buy-side or sell-side liquidity has been taken, offering traders a clear and objective way to read liquidity-driven market behavior.
Buy-side liquidity sweeps occur when price trades above a previous swing high and fails to hold, while sell-side liquidity sweeps occur when price trades below a previous swing low and quickly recovers. All detections are based on confirmed pivots, ensuring the indicator is fully non-repainting and reliable in live trading conditions.
The indicator allows users to choose between close-based or wick-based confirmation and can optionally mark only the first sweep of each liquidity level to reduce chart noise. Liquidity levels can be visualized directly on the chart, providing precise contextual references for market structure, VWAP confluence, and potential reversals.
Buy-side liquidity sweeps occur when price trades above a previous swing high and fails to hold, while sell-side liquidity sweeps occur when price trades below a previous swing low and quickly recovers. All detections are based on confirmed pivots, ensuring the indicator is fully non-repainting and reliable in live trading conditions.
The indicator allows users to choose between close-based or wick-based confirmation and can optionally mark only the first sweep of each liquidity level to reduce chart noise. Liquidity levels can be visualized directly on the chart, providing precise contextual references for market structure, VWAP confluence, and potential reversals.
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.