OPEN-SOURCE SCRIPT
Liquidity Sweep Sniper AP Style

AP Capital – Liquidity Sweep Sniper (Fab-Style)
📌 Overview
This indicator is a precision scalping tool inspired by professional liquidity-based trading concepts often demonstrated by elite intraday scalpers.
The script focuses on liquidity sweeps followed by strong displacement, aiming to capture short, high-probability momentum moves — particularly effective on lower timeframes (1–5 min) during active market sessions.
It is not a signal spam tool. Signals appear only when multiple objective conditions align.
🧠 Core Concept
Markets do not move randomly — they seek liquidity before expanding.
This indicator identifies:
Buy-side / Sell-side liquidity
Liquidity sweeps (stop-hunts)
Strong displacement candles reclaiming price
Optional higher-timeframe trend alignment
Only when all conditions are met does a signal print.
🔍 What the Indicator Detects
1️⃣ Liquidity Pools
Equal highs or equal lows detected within a configurable lookback
Minimum number of touches required
ATR-based tolerance to adapt to volatility
These levels represent areas where stop orders are likely resting.
2️⃣ Liquidity Sweep
A valid sweep requires:
Price to wick beyond the liquidity level
Candle to close back inside the range
This indicates failed breakout / stop-hunt behaviour.
3️⃣ Displacement Confirmation
After the sweep, the candle must show:
Strong body (default >60% of candle range)
Candle range large relative to ATR
Clear directional intent (momentum)
This filters out weak reactions and chop.
4️⃣ Optional Trend Filter
EMA-based higher-timeframe bias
Helps align scalps with dominant direction
Can be enabled or disabled
📈 Signals
BUY: Sell-side liquidity sweep → bullish displacement
SELL: Buy-side liquidity sweep → bearish displacement
Signals are plotted directly on the chart and can be used with alerts.
⚙️ Recommended Usage
Markets: XAUUSD, indices, liquid FX pairs
Timeframes: 1m–5m
Sessions: London & New York (best performance)
Risk Management: Always required — this tool does not place trades
Best used as a confirmation tool, not standalone.
⚠️ Important Notes
This indicator is inspired by liquidity-based scalping concepts, not an exact replication of any individual trader’s private strategy.
No indicator predicts the future — this tool highlights high-probability scenarios, not guarantees.
Past performance is not indicative of future results.
📌 Overview
This indicator is a precision scalping tool inspired by professional liquidity-based trading concepts often demonstrated by elite intraday scalpers.
The script focuses on liquidity sweeps followed by strong displacement, aiming to capture short, high-probability momentum moves — particularly effective on lower timeframes (1–5 min) during active market sessions.
It is not a signal spam tool. Signals appear only when multiple objective conditions align.
🧠 Core Concept
Markets do not move randomly — they seek liquidity before expanding.
This indicator identifies:
Buy-side / Sell-side liquidity
Liquidity sweeps (stop-hunts)
Strong displacement candles reclaiming price
Optional higher-timeframe trend alignment
Only when all conditions are met does a signal print.
🔍 What the Indicator Detects
1️⃣ Liquidity Pools
Equal highs or equal lows detected within a configurable lookback
Minimum number of touches required
ATR-based tolerance to adapt to volatility
These levels represent areas where stop orders are likely resting.
2️⃣ Liquidity Sweep
A valid sweep requires:
Price to wick beyond the liquidity level
Candle to close back inside the range
This indicates failed breakout / stop-hunt behaviour.
3️⃣ Displacement Confirmation
After the sweep, the candle must show:
Strong body (default >60% of candle range)
Candle range large relative to ATR
Clear directional intent (momentum)
This filters out weak reactions and chop.
4️⃣ Optional Trend Filter
EMA-based higher-timeframe bias
Helps align scalps with dominant direction
Can be enabled or disabled
📈 Signals
BUY: Sell-side liquidity sweep → bullish displacement
SELL: Buy-side liquidity sweep → bearish displacement
Signals are plotted directly on the chart and can be used with alerts.
⚙️ Recommended Usage
Markets: XAUUSD, indices, liquid FX pairs
Timeframes: 1m–5m
Sessions: London & New York (best performance)
Risk Management: Always required — this tool does not place trades
Best used as a confirmation tool, not standalone.
⚠️ Important Notes
This indicator is inspired by liquidity-based scalping concepts, not an exact replication of any individual trader’s private strategy.
No indicator predicts the future — this tool highlights high-probability scenarios, not guarantees.
Past performance is not indicative of future results.
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.
Welcome to AP Capital – your go-to channel for smart forex trading strategies, live trade breakdowns, and market insights. Learn how to trade with confidence using proven methods like EMA filters, breakout setups, and price action.
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.
Welcome to AP Capital – your go-to channel for smart forex trading strategies, live trade breakdowns, and market insights. Learn how to trade with confidence using proven methods like EMA filters, breakout setups, and price action.
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.