OPEN-SOURCE SCRIPT
Zaktualizowano LiqSweep+iFVG indicator

LiqSweep + iFVG is a multi-module liquidity and market-structure indicator built around a liquidity sweep → reversal confirmation model.
CORE SIGNAL ENGINE
• Session Liquidity
* Tracks NY, London, and Asia session highs/lows.
* Levels remain active until first touched.
* Configurable number of untouched levels can be kept.
• Liquidity Raids / Sweeps
* Distinguishes between a normal touch and a true raid.
* A raid must exceed the liquidity level by a configurable buffer.
* Valid raids arm a potential reversal.
* NY, London, and Asia raids can be independently enabled for signals.
• iFVG Reversal
* Uses Fair Value Gaps as the primary reversal confirmation.
* A bullish FVG can invert for a short setup after a high raid.
* A bearish FVG can invert for a long setup after a low raid.
* Inversion requires a candle body close through the far edge.
* FVG size and lookback are configurable.
• Alternative Trigger
* Instead of iFVG inversion, the indicator can use a close back through the raided liquidity level.
• Raid Expiration
* Each raid remains valid only for a configurable time window.
* If no trigger occurs, the setup expires.
CONFLUENCE & CONTEXT
• Higher-Timeframe FVG
* Optional 5m, 15m, 1H, 4H, or Daily FVG filter.
* Can require price to interact with a live HTF FVG before a signal is allowed.
• Premium / Discount
* Calculates a configurable dealing range.
* Displays Premium, Equilibrium (50%), and Discount zones.
* Used as market-location context rather than a mandatory entry filter.
• Equal Highs / Equal Lows
* Detects EQH, EQL, REH, and REL structures.
* Treats these areas as potential resting liquidity.
* EQH/EQL raids can optionally arm reversals, but this is disabled by default.
• Williams Fractals / Swing Points
* Marks confirmed swing highs and swing lows.
* Configurable lookback/period.
* Used primarily for market-structure context.
TIMING & VISUALIZATION
• Configurable NY-time entry window.
• Session range boxes.
• Session liquidity lines.
• RAID and HIT labels.
• FVG boxes and inverted FVG visualization.
• Optional HTF FVG boxes.
• EQH/EQL lines.
• Swing-point markers.
• Armed-state background.
• LONG/SHORT entry markers.
OVERALL MODEL
Liquidity → Raid/Sweep → Reversal Armed → iFVG Inversion → Signal
The main trading logic is the liquidity raid + reversal confirmation. Premium/Discount, Williams fractals, EQH/EQL, and session structure provide additional market context, while HTF FVG can act as an actual optional signal filter.
CORE SIGNAL ENGINE
• Session Liquidity
* Tracks NY, London, and Asia session highs/lows.
* Levels remain active until first touched.
* Configurable number of untouched levels can be kept.
• Liquidity Raids / Sweeps
* Distinguishes between a normal touch and a true raid.
* A raid must exceed the liquidity level by a configurable buffer.
* Valid raids arm a potential reversal.
* NY, London, and Asia raids can be independently enabled for signals.
• iFVG Reversal
* Uses Fair Value Gaps as the primary reversal confirmation.
* A bullish FVG can invert for a short setup after a high raid.
* A bearish FVG can invert for a long setup after a low raid.
* Inversion requires a candle body close through the far edge.
* FVG size and lookback are configurable.
• Alternative Trigger
* Instead of iFVG inversion, the indicator can use a close back through the raided liquidity level.
• Raid Expiration
* Each raid remains valid only for a configurable time window.
* If no trigger occurs, the setup expires.
CONFLUENCE & CONTEXT
• Higher-Timeframe FVG
* Optional 5m, 15m, 1H, 4H, or Daily FVG filter.
* Can require price to interact with a live HTF FVG before a signal is allowed.
• Premium / Discount
* Calculates a configurable dealing range.
* Displays Premium, Equilibrium (50%), and Discount zones.
* Used as market-location context rather than a mandatory entry filter.
• Equal Highs / Equal Lows
* Detects EQH, EQL, REH, and REL structures.
* Treats these areas as potential resting liquidity.
* EQH/EQL raids can optionally arm reversals, but this is disabled by default.
• Williams Fractals / Swing Points
* Marks confirmed swing highs and swing lows.
* Configurable lookback/period.
* Used primarily for market-structure context.
TIMING & VISUALIZATION
• Configurable NY-time entry window.
• Session range boxes.
• Session liquidity lines.
• RAID and HIT labels.
• FVG boxes and inverted FVG visualization.
• Optional HTF FVG boxes.
• EQH/EQL lines.
• Swing-point markers.
• Armed-state background.
• LONG/SHORT entry markers.
OVERALL MODEL
Liquidity → Raid/Sweep → Reversal Armed → iFVG Inversion → Signal
The main trading logic is the liquidity raid + reversal confirmation. Premium/Discount, Williams fractals, EQH/EQL, and session structure provide additional market context, while HTF FVG can act as an actual optional signal filter.
Informacje o Wersji
Removed some clutter.Informacje o Wersji
ACTUALLY removed some clutter... 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.
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.
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.