OPEN-SOURCE SCRIPT

GoAlgo - LQ Sweep & SFP Detector

333
GoAlgo - LQ Sweep & SFP Detector
A professional liquidity detection tool based on Swing Failure Pattern (SFP) logic to identify key liquidity sweep points, which are often critical reversal levels in the market.

Key Features:
Liquidity Detection: Automatically identifies when price sweeps previous lows/highs (low < low[1] or high > high[1]) and closes back within the previous range.

Volume Spike Filter: Increases signal reliability by filtering with a 1.5x Volume Multiplier (based on a 20-period SMA), confirming significant market participation at the sweep point.

Visual Interface: Clearly plots "LQ" signals on the chart with green triangles for Buy Zones and red triangles for Sell Zones.

Alert System:
Optimized for professional trading with automated alerts via TradingView:

Low LQ Sweep: Triggers on bullish reversal conditions (Buy Zone).

High LQ Sweep: Triggers on bearish reversal conditions (Sell Zone).

Bar-Close Logic: Configured with alert.freq_once_per_bar_close to ensure clean, singular alerts at the end of every candle closure.

Target Audience:
Ideal for Smart Money Concept (SMC) traders, reversal traders, or those looking to identify high-probability liquidity zones to optimize their entry points.

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.