All indicators

Sweeps & IFVGs

By LuxAlgoJun 4, 2026

Static chart image
FVGLiquidity

The Sweeps & IFVGs indicator is a powerful technical analysis tool designed to identify liquidity sweep events and potential market reversals using Inverse Fair Value Gaps (IFVG) to provide traders with actionable supply and demand insights.

Usage

The Sweeps & IFVGs indicator is used to map out areas where market participants are likely to have stop loss orders, known as liquidity sweeps, and to monitor price action shifts through Inverse Fair Value Gaps.

Liquidity Sweeps

This feature identifies when the price temporarily pushes past a previous swing high or low before reversing. This behavior often signals that larger market participants are collecting liquidity. You can customize the lookback period using the Swings setting to capture shorter or longer term pivots. The Sweep Options allow you to choose whether to focus strictly on price wicks, or to include instances where the price breaks through and retraces.

Inverse Fair Value Gaps (IFVG)

IFVGs represent gaps that were originally formed to provide momentum in one direction but have since been invalidated by price action moving in the opposite direction. These zones often act as significant support or resistance levels. When an IFVG is confirmed, the indicator highlights it on the chart, allowing traders to anticipate potential reaction zones when the price returns to these levels.

Details

The script functions by tracking structural pivots to detect liquidity sweeps. When the price moves beyond a previous pivot high or low, the indicator visually marks these events with customizable zones that can be extended across the chart.

The IFVG logic functions by monitoring price gaps. When a gap is identified, the script calculates its size relative to the Average True Range (ATR). Only gaps exceeding the user defined volatility filter are marked, ensuring that traders focus on significant market movements. Once a gap is breached by the closing price, it is transformed into an IFVG, which suggests a shift in institutional sentiment. The indicator includes a limit on the number of displayed IFVGs to maintain a clean chart environment.

Settings

Liquidity Sweeps

  • Swings: Sets the lookback period used to identify swing highs and lows.
  • Sweep Options: Select between displaying only wicks, only outbreaks and retests, or both.
  • Bullish/Bearish Sweep Colors: Customize the visual representation of liquidity sweeps on your chart.

Sweep Area

  • Extend Sweep Areas: When enabled, the indicator visually extends the sweep zones to the right.
  • Max Bars to Extend: Defines the maximum number of bars a sweep zone will persist on the chart.
  • Bull/Bear Area Color: Sets the fill colors for the extended liquidity zones.

IFVG Settings

  • Show Inverse FVGs: Toggles the display of IFVG zones.
  • Volatility Filter Multiplier: Filters out smaller gaps by using a multiplier of the ATR, ensuring only significant gaps are processed.
  • IFVG Bullish/Bearish Color: Defines the color of the IFVG boxes.
  • Max Displayed IFVGs: Limits the number of active IFVGs shown to keep the workspace organized.

Alert Settings

  • Alert on Liquidity Sweeps: Toggles audible or visual notifications when a sweep event is detected.
  • Alert on IFVG Inversions: Toggles notifications when an FVG is officially inverted.

FAQ

How can I access the Sweeps & IFVGs indicator?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.