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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.