OPEN-SOURCE SCRIPT

Liquidity Buy Signal

212
Liquidity Buy Signal is an indicator designed to detect BUY entries based on liquidity (swing lows) combined with a bullish reversal candle pattern. It automatically marks recent swing-low zones/levels, tracks the transition from solid → dashed when a level gets broken, and then confirms a signal when price sweeps/cuts the correct level and a bullish candle pattern appears.
snapshot EURUSD
BUY signal (green triangle) triggers when:

A bullish reversal candle pattern (based on a set of rules) is detected, and

The Liquidity chain conditions are satisfied using the most recent swing lows:

Price crosses the level with the lower wick, or

The level is within the lower 30% range of the previous candle (n-1), and

The level does not pass through the bodies of older candles (filtered by lookback).

Key settings:

Pivot Lookback: controls swing-low detection sensitivity.

Swing Area: Wick Extremity / Full Range for zone definition.

Filter lookback older bodies: filters out levels that intersect older candle bodies (skips n-2).

Style: toggle Swing Low display + zone/line colors.

Alerts:

Includes a built-in alertcondition for BUY signals (useful for notifications/webhooks).

This indicator is especially well-suited for identifying potential bottoms in a downtrend.

Note: This tool provides trading signals and should be combined with context (trend/HTF/volume/risk management) before entering trades. Not financial advice.

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.