OPEN-SOURCE SCRIPT
Liquidity Sweep + FVG [Leon/RussellTech] v2

Liquidity Sweep + FVG Indicator
A multi-confluence day-trading indicator that identifies institutional stop-hunts (liquidity sweeps) followed by displacement Fair Value Gaps, then plans precise entries with automatic stop-loss and take-profit placement.
How It Works
The indicator uses a state machine that progresses through a strict sequence. Every signal must pass through all 7 confluence layers — if any single layer fails, no signal fires. This is what prevents false signals and maintains quality.
State Machine Lifecycle
Idle — The indicator monitors swing pivot highs and lows using the configured lookback period. Up to 4 recent levels are tracked.
Sweep Detected — Price wicks beyond a tracked swing level and (if required) closes back inside. A sweep marker (▲ or ▼) appears on the chart.
Armed — Within the Sweep→FVG Window (10 bars), a valid FVG forms in the sweep direction. The status panel shows "armed (long)" or "armed (short)".
Entry — Within the FVG→Entry Window (24 bars), price retraces into the FVG zone, the entry candle shows momentum, and all filters pass. Signal fires with Entry, SL, and TP drawn.
Tracking — The indicator tracks whether price hits the TP, SL, or times out, then returns to Idle.
The 7 Confluence Layers
Every signal must pass through all seven layers. This multi-confluence approach is what separates this indicator from simple FVG detectors or sweep scanners.
A multi-confluence day-trading indicator that identifies institutional stop-hunts (liquidity sweeps) followed by displacement Fair Value Gaps, then plans precise entries with automatic stop-loss and take-profit placement.
How It Works
The indicator uses a state machine that progresses through a strict sequence. Every signal must pass through all 7 confluence layers — if any single layer fails, no signal fires. This is what prevents false signals and maintains quality.
State Machine Lifecycle
Idle — The indicator monitors swing pivot highs and lows using the configured lookback period. Up to 4 recent levels are tracked.
Sweep Detected — Price wicks beyond a tracked swing level and (if required) closes back inside. A sweep marker (▲ or ▼) appears on the chart.
Armed — Within the Sweep→FVG Window (10 bars), a valid FVG forms in the sweep direction. The status panel shows "armed (long)" or "armed (short)".
Entry — Within the FVG→Entry Window (24 bars), price retraces into the FVG zone, the entry candle shows momentum, and all filters pass. Signal fires with Entry, SL, and TP drawn.
Tracking — The indicator tracks whether price hits the TP, SL, or times out, then returns to Idle.
The 7 Confluence Layers
Every signal must pass through all seven layers. This multi-confluence approach is what separates this indicator from simple FVG detectors or sweep scanners.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.