All indicators

ICT iFVG Detector and Alert

May 8, 2025

Static chart image
Price Action BasedSignalsFVG

The ICT iFVG Detector and Alert indicator automates the identification of Inverse Fair Value Gaps (iFVG), providing traders with real-time visual markers and multi-timeframe alerts for these key ICT price action concepts.

Usage

The Usage section focuses on identifying when a standard Fair Value Gap (FVG) fails and transforms into an iFVG. This occurs when price action trades through a previously established FVG, signaling a potential shift in market sentiment or institutional order flow.

Examples of usage:

  • Bearish iFVG: When a Bullish FVG (BISI) is formed, the tool monitors the subsequent price action. If price closes below the high of the first candle in the FVG sequence within the specified validation window, a Bearish iFVG is confirmed and highlighted in red.
  • Bullish iFVG: Conversely, if a Bearish FVG (SIBI) is formed and price subsequently closes above the low of the first candle in that sequence, a Bullish iFVG is confirmed and highlighted in green.

Details

The script executes a two-step detection process. First, it identifies a standard FVG based on the displacement between the high/low of Candle 1 and Candle 3. Once detected, the script opens a "Validation Window." If the market closes past the breach level (Candle 1's boundary) within this window, the transition to an iFVG is validated. Only the first bar that confirms this transition triggers the visual box and alert, preventing repetitive signals on the same gap.

Settings

Main Settings

  • Validation Window (bars): Sets the total number of bars (including the detection bar) during which price must invalidate the FVG to qualify as an iFVG.
  • Enable Alerts: Toggles the notification system on or off.
  • Include Chart TF in Message: Appends the current chart timeframe to the alert notification for better context.

Alert Timeframes

  • Timeframe Toggles (1m to Monthly): Allows users to select specific timeframes to monitor for iFVG confirmations. These work independently of the current chart timeframe using security calls.

Style

  • Bullish/Bearish iFVG Fill Color: Customizes the background color for validated iFVG boxes.
  • Fill/Border Transparency: Adjusts the visual opacity of the plotted zones.
  • Border Color: Sets the color for the box outlines.

FAQ

How do I access ICT iFVG Detector and Alert?

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

What is the "Validation Window"?

It is the specific duration (in bars) that the script looks ahead after an FVG is formed to see if price closes through it. If the window expires without a breach, the FVG is ignored.

Can I track multiple timeframes at once?

Yes, the script includes built-in multi-timeframe alert logic, allowing you to receive notifications for iFVGs on higher or lower timeframes without switching your current chart.

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.