OPEN-SOURCE SCRIPT

Liquidity Sweeps by EV

118
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.