OPEN-SOURCE SCRIPT

FVG_Liquidity_Signal

152
FVGs: classic 3-bar gaps (bullish when low > high[2], bearish when high < low[2]). Zones are drawn and auto-pruned.

Liquidity sweep: price takes out the last swing low/high (pivot) and then reclaims it on the close.

Signals:

BUY when we get a bull sweep and the bar taps a recent bull FVG and closes back above its upper edge.

SELL is the mirror image.

SL/TP guides: SL at swept swing; TP = RR × risk (visual only).

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.