OPEN-SOURCE SCRIPT
Inversion Fair Value Gaps with Volatility & Sweeps AT

The IFVG & Liquidity Sweep indicator is an advanced market structure and liquidity analysis tool, specifically developed based on modern price action and smart money concepts. The indicator aims to help traders identify the traces left by larger players, with a particular focus on inefficiencies and liquidity-seeking moves.
The IFVG (Inverse Fair Value Gap) component focuses on identifying market imbalances. These are zones where rapid price movements have not been adequately backtested, leaving a "blank area" on the chart. The indicator automatically identifies these zones and then highlights them, paying special attention to cases where the market returns to these levels — often a reaction or reversal occurs.
The Liquidity Sweep module monitors key areas of market liquidity. The indicator is able to identify movements where the price breaks through previous peaks or troughs and then quickly reverses. These "liquidity sweeps" are often associated with stop hunting and can provide excellent entry opportunities for counter-trend trades.
Key benefits of the indicator:
Automatic IFVG zone detection
Liquidity sweep (high/low sweep) detection
Structured, clear visual display
Combined signals for higher probability setups
Can be used on all timeframes and instruments
The system is particularly useful for those who seek a deeper understanding of the market structure and are not just looking for indicator-based entries, but think in context. The combination of IFVG and liquidity sweep allows the trader to identify manipulative moves and then take advantage of the subsequent direction.
Usage recommendation:
The indicator is worth using in conjunction with other confluences, such as trend direction, order blocks or key levels. The best results are achieved when a liquidity sweep coincides with an IFVG zone, especially on higher timeframes.
It is important to note that the indicator does not provide guaranteed signals — proper risk management and strategy are essential for long-term success.
The IFVG (Inverse Fair Value Gap) component focuses on identifying market imbalances. These are zones where rapid price movements have not been adequately backtested, leaving a "blank area" on the chart. The indicator automatically identifies these zones and then highlights them, paying special attention to cases where the market returns to these levels — often a reaction or reversal occurs.
The Liquidity Sweep module monitors key areas of market liquidity. The indicator is able to identify movements where the price breaks through previous peaks or troughs and then quickly reverses. These "liquidity sweeps" are often associated with stop hunting and can provide excellent entry opportunities for counter-trend trades.
Key benefits of the indicator:
Automatic IFVG zone detection
Liquidity sweep (high/low sweep) detection
Structured, clear visual display
Combined signals for higher probability setups
Can be used on all timeframes and instruments
The system is particularly useful for those who seek a deeper understanding of the market structure and are not just looking for indicator-based entries, but think in context. The combination of IFVG and liquidity sweep allows the trader to identify manipulative moves and then take advantage of the subsequent direction.
Usage recommendation:
The indicator is worth using in conjunction with other confluences, such as trend direction, order blocks or key levels. The best results are achieved when a liquidity sweep coincides with an IFVG zone, especially on higher timeframes.
It is important to note that the indicator does not provide guaranteed signals — proper risk management and strategy are essential for long-term success.
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.
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.
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.