OPEN-SOURCE SCRIPT
GoAlgo - LQ Sweep & SFP Detector

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.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.