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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.