Inverted Fair Value Gap (IFVG): Complete Guide for Algorithmic Trading

When a Fair Value Gap fails to hold price and gets run through, it does not simply disappear from the chart — it flips. The Inverted Fair Value Gap (IFVG) describes exactly this: a Fair Value Gap that price has mitigated and run through, flipping its original role from support to resistance, or from resistance to support. For systematic traders using the Smart Money Concepts (SMC) framework, the IFVG provides a second opportunity to trade off a price imbalance zone — this time from the other side.

What Is the Inverted Fair Value Gap?

An Inverted Fair Value Gap is a Fair Value Gap that price has fully passed through. The market never defended the zone on the retest — price entered, continued, and left the former imbalance behind. The zone now carries the opposite polarity. Where a bullish FVG (a gap that an upward move created) originally acts as support when price retraces into it, an IFVG forms when price runs through that gap entirely. The former support zone becomes a resistance zone on any future retest from below.

The same logic applies in reverse:

The concept is closely linked to the broader FVG framework. To understand IFVGs fully, it helps to have a solid grounding in the original concept — see our guide on the Fair Value Gap (FVG) first.

How Does a Fair Value Gap Become Inverted?

The inversion process follows a clear sequence:

  1. A FVG forms: A three-candle impulse move creates a price imbalance zone. A bullish FVG sits above the prior candle’s high; a bearish FVG sits below the prior candle’s low.
  2. Price mitigates the FVG: Price retraces into the gap zone. At this point, the FVG is acting as intended — as a support or resistance area.
  3. Price breaks through: Instead of respecting the zone and reversing, price closes through the far edge of the FVG and continues moving in the same direction. Price has now fully mitigated and broken through the FVG.
  4. The zone becomes an IFVG: The former FVG zone now carries the opposite polarity. The next time price returns to that zone, it acts as resistance (where it once held as support) or support (where it once held as resistance).

This inversion reflects a meaningful shift in the supply-demand balance at that price zone. The institutional participants who defended the original FVG level have lost control of the zone, and the opposing side now holds the advantage.

How to Identify and Trade IFVG Signals

Trading IFVGs requires tracking the lifecycle of FVG zones from formation through to inversion:

Higher timeframe IFVGs carry more weight. A daily IFVG that price retests carries significantly more significance than a 5-minute IFVG.

What Are the Best IFVG Trading Strategies?

IFVG flip retest: The most direct application. Mark the original FVG zone, wait for the inversion (price running through it), then trade the retest of the zone from the opposite direction. This captures the “polarity flip” at a specific price zone — a concept familiar to traditional support-resistance traders, but grounded in institutional imbalance logic.

IFVG as continuation signal: When an IFVG forms during a strong trend, it confirms the trend’s momentum. A bearish IFVG forming (a bullish FVG that price ran through to the downside) during a downtrend signals that demand zones are giving way. A short entry on the retest of the IFVG aligns with the dominant move.

IFVG with Order Block confluence: When an IFVG overlaps with an Order Block in the same price zone, the confluence strengthens the signal. Both tools point to institutional activity at the same level — on different sides of the trade timeline.

What Are Common IFVG Mistakes?

How to Build IFVG Strategies in Arrow Algo

Arrow Algo includes a native IFVG block in its visual builder, which automatically detects Inverted Fair Value Gaps on your chosen timeframe. You can wire it directly to entry, exit, and filter logic in the drag-and-drop canvas — no code required.

A basic IFVG flip retest strategy in Arrow Algo:

  1. Add the IFVG block to your canvas and select your target timeframe.
  2. Connect the bearish IFVG output to an entry condition block that fires when price retraces into the former bullish FVG zone (now acting as resistance).
  3. Add a trend filter — for example, require that the broader structure is bearish (price below EMA) before the IFVG entry fires. This avoids counter-trend signals.
  4. Optionally, combine with the Order Block block for confluence: require an OB at the same level as the IFVG before the entry triggers.
  5. Set your stop-loss above the top of the IFVG zone and a take-profit at the next structural level.
  6. Run a backtest to validate performance before going live.

For the complete picture on how IFVGs, FVGs, and Order Blocks work together as part of the SMC framework, see our guide on smart money concepts.

What Are the Key Takeaways?

Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.

Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who’ve made the switch to systematic trading.