Liquidity Sweep Strategy (RR 1:2)
Feb 3, 2026

The Liquidity Sweep Strategy (RR 1:2) indicator identifies potential market reversals by detecting sweeps of historical pivot highs and lows followed by a price reclamation. This tool aims to pinpoint high-probability entry points where liquidity has been captured, suggesting a shift in market momentum.
Usage
The indicator identifies "sweeps" based on pivot points. A buy signal occurs when the price drops below the previous two pivot lows but manages to close back above them, indicating a bullish liquidity sweep. Conversely, a sell signal is triggered when the price rises above the previous two pivot highs but closes back below them, indicating a bearish liquidity sweep.
Users can utilize these signals to identify potential reversal zones. The strategy is designed around a fixed risk-to-reward ratio, typically targeting 2 points of profit for every 1 point of risk, though these parameters can be adjusted based on market volatility.
Details
The script utilizes the ta.pivotlow and ta.pivothigh functions to determine significant structural points in the market. It maintains a memory of the last two validated pivots to define the liquidity zones.
- Bullish Sweep: Price < Low1 and Price < Low2, followed by Close > Low1 and Close > Low2.
- Bearish Sweep: Price > High1 and Price > High2, followed by Close < High1 and Close < High2.
By requiring the price to close back within the previous range, the script filters out breakouts that sustain momentum, focusing instead on "fakeouts" that often precede significant reversals.
Settings
- Pivot Lookback: Determines the number of bars required on each side of a high or low to confirm it as a pivot point. Higher values result in more significant but fewer signals.
- Stop Loss (Points): Defines the fixed point distance used for risk management calculations.
- Take Profit (Points): Defines the fixed point distance used for target profit calculations.
FAQ
How do I access the Liquidity Sweep Strategy (RR 1:2)?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What timeframes work best with this indicator?
While it can be used on any timeframe, liquidity sweeps are often more reliable on higher timeframes (1H, 4H, Daily) where pivot points represent more significant market structural levels.
Can I change the risk-to-reward ratio?
Yes, you can adjust the Stop Loss and Take Profit inputs in the settings menu to align with your specific trading plan and the volatility of the asset being traded.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.