New

11 tools. $557.98 if bought one by one. 5 new Premium desks inside.$557.98 one by one

$97 once$97See all 11See it
ProEA Lab · MT5, TradingView and trading research · Evidence standards
Order Flow

Inverse Fair Value Gap (IFVG): The Close That Flips a Gap, Animated

An inverse fair value gap is a fair value gap that a later candle closed through: the same zone, now watched from the other side. In our test of IFVG Desk's default rule on QQQ and SPY 1-minute candles, 17 Aug to 5 Sep 2026, it made 15 trades on each: −525.57 USD on QQQ, +210.81 USD on SPY. Too small a test to say either way.

PL · 7 min readUpdated
Explainer cover titled Inverse FVG: the gap, flipped. Simulated 15-minute candles rally and leave a bullish fair value gap, shaded green. A later candle wicks below the gap's bottom and closes back inside, circled in grey and labelled wick below: no flip. Then a candle closes below the bottom, circled in orange and labelled close below: flip, and from there the same zone is shaded red and labelled bearish IFVG, watched from below.

An inverse fair value gap (IFVG) is a fair value gap that a later candle closes through. A bullish gap that a candle closes below becomes a bearish IFVG, watched as resistance from below. A bearish gap that a candle closes above becomes a bullish IFVG, watched as support from above. Our IFVG Desk counts only a close strictly beyond the gap's far edge, on a later candle than the one that completed the gap.

A wick through the gap doesn't flip it. Neither does a close exactly on the edge. ICT, the Inner Circle Trader, calls it an inversion fair value gap; inverse FVG, iFVG and IFVG are the same thing.

Every rule here is IFVG Desk's (version 1.2.0 Pine source), so you can check it against code; the films replay a simulated market read by it. It builds on the fair value gap; the same flip on an order block makes a breaker block.

Same zone, other side, on a close.

What is an inverse fair value gap?

A failed gap, kept on the chart with its direction reversed. Three checks, each on a closed candle:

  1. The gap. Bullish: candle 3's low strictly above candle 1's high. Bearish mirrors it. IFVG Desk keeps gaps of at least 0.05 × ATR(14), smaller than the 0.3 × ATR(14) SMC Basics uses, so it finds more of them.
  2. The flip. A later candle closes strictly beyond the far edge: below a bullish gap's bottom (candle 1's high), above a bearish gap's top (candle 1's low). The zone doesn't move. Only the side price is on changes.
  3. The end. After the flip, a close strictly beyond the other edge ends it. A gap still waiting more than 180 candles after it formed expires. Each gap flips once.
A bullish gap closed through becomes a bearish IFVG.Same zone, other side: price is under it now, and it is watched from below
97.8098.0098.2098.8004:0005:0006:0007:0008:0009:0010:00Bearish IFVG · watched from below98.5798.4298.28SIM · 15m · simulatedO 98.31 H 98.35 L 98.09 C 98.28Inverse FVG · IFVG Desk's rule · replaySame zone, other side: bearish IFVG

Simulated 15-minute candles, not market data. Gaps follow IFVG Desk's rule (at least 0.05 × ATR(14)); each film draws only the gap it follows. A flip needs a later close strictly beyond the far edge.

Read as text
  1. A bullish gap forms: candle 1's high 98.42, candle 3's low 98.57. It is 0.15 tall, 1.21 times ATR(14), above IFVG Desk's 0.05 minimum. Its far edge is its bottom, 98.42.
  2. 4 candles later a wick trades below 98.42 and the candle closes back inside. A wick is no flip: the gap is still bullish.
  3. 9 candles after the gap, a candle closes at 98.20, strictly below 98.42. By IFVG Desk's rule the gap is now a bearish IFVG: the same 98.42 to 98.57, with price below it, watched as resistance from below.
  4. 1 candle after the flip, price trades back into the zone from below without closing above its top. The IFVG is still alive; the film stops 4 candles after the flip.

How this window was chosen: The first 80-candle window of the simulated market in which a bullish gap at least half an average candle tall, and at least a tenth of the price range the film shows, forms at least 16 candles in and a later candle closes below its bottom 3 to 12 candles after it formed, with no close back above its top in the 4 candles after that. The film ends 4 candles after the flip.

Use itMark the far edge the moment candle 3 closes. The first later close strictly beyond it is the flip: note that candle.

Watch outAfter the flip, the other edge is the line that ends it. One close back through it and the IFVG is gone for good.

Does a wick through the gap make it an IFVG?

No. The close decides. This is the drawn example from IFVG Desk's own manual: candle 1's low is 106 and candle 3's high is 100, so a bearish gap runs from 100 to 106. Candle 4 wicks to 109 and closes at 104. Move candle 5's close and wick and read the verdict:

Flip or not? Move candle 5's close and its wick.IFVG Desk's manual example: a bearish gap from 100 to 106. Only the close is read.
929610010410811211612345Bullish IFVG 100–106 · watched from abovefar edge 106100

Flipped: a bullish IFVG, 100 to 106.

The close, 108.0, is strictly above 106, the far edge. Same zone, other side: price is above it now, and it is watched from above. In the desk's default mode this close is the entry, if the session check passes. A later close below 100 would end it.

Made-up round prices from IFVG Desk's manual. The verdict applies the desk's flip rule: a later close strictly beyond the far edge.

At the manual's 108, the gap becomes a bullish IFVG, still 100 to 106. From there a close below 100 ends it; a close at exactly 100 doesn't. The flip is recorded at the confirming close, never backdated: until candle 5 closes it can fall back inside, the trap that makes indicators repaint.

The same check on simulated candles, a wick past the far edge and a close back inside:

Wicked through, not closed through: no IFVG.A wick below the bullish gap's far edge, a close back inside: the gap stays a bullish FVG
96.0096.5097.0097.5098.0098.5010:0011:0012:0013:0014:0015:0016:00far edgeBullish FVG · fresh97.8397.6497.26SIM · 15m · simulatedO 98.10 H 98.12 L 97.83 C 97.83FVG · a wick is not a flip · replayStill a bullish FVG, still fresh

Simulated 15-minute candles, not market data. Gaps follow IFVG Desk's rule (at least 0.05 × ATR(14)); each film draws only the gap it follows. A wick past the far edge flips nothing; only a close strictly beyond it does.

Read as text
  1. A bullish gap forms: candle 1's high 97.26, candle 3's low 97.64. It is 0.38 tall, 1.34 times ATR(14), above IFVG Desk's 0.05 minimum. Its far edge is its bottom, 97.26.
  2. 5 candles later a candle's wick reaches 97.16, 0.10 below the far edge, and the candle closes at 97.49, back inside the edge.
  3. The close decides: no close strictly beyond the far edge, no flip. No candle closes beyond it in the next 6 either, so the gap is still fresh and still facing its original way.

How this window was chosen: The first window in which a bullish gap at least half an average candle tall and a tenth of the film's price range, at least 16 candles in, is first wicked below its bottom 3 to 12 candles after it formed, by at least a fifth of an average candle range, the candle closing back at or above the bottom, and no candle closes below the bottom in the next 6. The film ends 6 candles after the wick. Each film's window starts after the windows of the films above it, so no two films share candles.

Bullish vs bearish IFVG

The names trip people up: a bullish IFVG was a bearish gap a few candles ago.

Bullish IFVGBearish IFVG
Starts asa bearish FVG: candle 3's high below candle 1's lowa bullish FVG: candle 3's low above candle 1's high
The flipa later close strictly above the topa later close strictly below the bottom
Then watched assupport, from aboveresistance, from below
Tradeslongshort
Ends ona close strictly below the bottoma close strictly above the top

IFVG vs fair value gap vs breaker block

An IFVG is what a fair value gap becomes when it fails. A breaker block is what an order block becomes when it fails, and the breaker also needs a structure break the other way. IFVG Desk has no structure check. If you want one, write it down before you look, and expect fewer IFVGs.

The fair value gap page ends a gap on a close beyond its far edge. If you trade inversions, that same close starts the IFVG.

An IFVG can also confirm a liquidity sweep. Our Sweep Desk uses the inversion as its default confirmation: after a sweep, a candle closes through an opposing gap printed up to 40 candles before the sweep, and that inverted gap becomes the entry zone.

How do you trade an IFVG? Entry, stop and exit

There's no single IFVG strategy, only rules. IFVG Desk's, as rules rather than advice:

  • Entry, default: the flip close. Enter at the close of the candle that flipped the gap, and only that candle. If a required check fails on it, the zone stays on the chart as ARMED, but this mode never enters it later.
  • Entry, optional: the retest. A later candle trades back into the zone and closes beyond its trade-side edge and beyond its own open. A touch without that close is no entry and doesn't use the zone up.
  • Checks. On by default: the candle opens from 09:30 to before 11:00 New York time. Off by default: a higher-timeframe gap, a recent sweep, an SMT divergence, the previous day's direction, an entry body of at least 0.5 × ATR.
  • Stop. One tick beyond the 10 candles before the entry candle: below their lowest low for a long, above their highest high for a short.
  • Target and size. 1R. Size is the planned cash risk (100 by default) divided by the stop distance, rounded down; zero means no plan.
  • Exit. Levels fixed once entered. The plan ends at the target, the stop, the open of a candle that gaps past the stop (more than 1R lost), a candle touching both (counted as the stop), or after 120 candles. One resolved plan per New York day.

The retest and the plan, on simulated candles. The window was picked before its result was known, and both tabs happen to end at the stop:

The retest entry and the plan, as IFVG Desk draws them.A bearish IFVG retested from below: a close under it and under its own open, then a fixed 1R plan
94.0095.0010:0011:0012:0013:0014:0015:0016:0017:0010 candles before entrytarget 1R · 92.15stop · 93.73Bearish IFVG · used94.8293.7392.9492.15SIM · 15m · simulatedO 94.21 H 94.82 L 94.21 C 94.82IFVG · retest entry and plan · replayStop hit: −1R

Simulated 15-minute candles, not market data. Gaps follow IFVG Desk's rule (at least 0.05 × ATR(14)); each film draws only the gap it follows. The desk's 09:30–11:00 New York window and its one plan per day are left out: the simulated market has no sessions. A tick is 0.01 here; results are before costs.

Read as text
  1. A bullish gap forms: candle 1's high 93.04, candle 3's low 93.52. It is 0.48 tall, 1.88 times ATR(14), above IFVG Desk's 0.05 minimum. Its far edge is its bottom, 93.04.
  2. 5 candles later a candle closes below 93.04: a bearish IFVG, armed. In the retest mode, nothing is entered on the flip itself.
  3. 2 candles trade back into the zone without closing below it and below their own open: a touch is no entry.
  4. 3 candles after the flip, a candle trades into the zone and closes at 92.94, below 93.04 and below its own open: the retest entry, short at that close.
  5. The stop goes one tick beyond the highest high of the 10 candles before the entry: 93.73, 0.79 away. The target is 1R the other way: 92.15. Both are fixed from here.
  6. 5 candles later price trades to 93.73: the stop, −1R before costs. One plan, not a result.

How this window was chosen: The first window in which a bullish gap at least half an average candle tall and a tenth of the film's price range (plan levels included), at least 16 candles in, is closed through 3 to 12 candles after it formed, a candle 2 to 12 candles after the flip trades back into it and closes below its bottom and its own open (IFVG Desk's retest entry), and the plan ends within 30 candles of the entry, whichever way. The film ends 3 candles after the plan ends. Each film's window starts after the windows of the films above it, so no two films share candles.

Other public rules agree on the close and differ after it. LuxAlgo's open-source IFVG script (published 1 Feb 2024, checked 2026-10-07) inverts a gap when "the price closes above or below the FVG area in the opposite direction of its bias." Forexbee's iFVG guide (updated 22 Sep 2026, checked 2026-10-07) waits for the retest, "Do not open the trade instantly after the break because it will be an aggressive trade setup", and puts the stop elsewhere: "place your stop loss on the opposite side of the zone." Same pattern, two stops, two different trades. In our small test below, the retest version finished below the flip close on both charts.

Use itPick the entry mode before you open the chart: the flip close or a later retest. Write the stop and the close that cancels the idea next to it.

Watch outSwitching modes after you've seen what price did turns one rule into two, and lets hindsight pick the one that looks better.

Which timeframe is best for IFVGs?

We haven't compared timeframes, so we can't name a best one; the rule is the same on every chart. IFVG Desk is built for standard intraday candles and suggests 1- to 5-minute charts. Its optional higher-timeframe check reads gaps only once their own candles close, so they arrive late on purpose.

Does the IFVG work?

Failed gaps, the raw material, are common. In our zone-score study, of 1,693 zones that price came back to, 711 (42.0%) closed beyond their far edge before price moved 1 ATR in the zone's favour: fair value gaps and order blocks together, 50 sessions of gold futures on 5-minute candles (the study). What price did after those failures, we didn't measure.

An answer needs hundreds of trades on more than one market, a period the rule never saw (a walk-forward test), real costs, and something to beat: the same stop, target and session on entries that ignore gaps. Until then, an IFVG is a precise way to describe a failed gap, not a demonstrated edge.

The most common IFVG mistakes

  1. Calling a wick a flip. Only a close beyond the far edge counts, and IFVG Desk needs strictly beyond: a close on the edge is no flip.
  2. Flipping a gap on its own third candle. The flip needs a later candle.
  3. Treating ARMED as an entry. An inverted gap is a zone. The entry mode, the checks and the risk plan still decide.
  4. Reusing a dead IFVG. A close back beyond its other edge ends it for good, and so should an age limit.
  5. Judging it from screenshots. LuxAlgo's script page warns: "Backtesting historical signals is incorrect as it does not consider the mitigation of IFVGs." Count forward, on closed candles.

What's the exact IFVG rule?

IFVG rule (IFVG Desk 1.2.0 defaults)
Closed candles only. ATR = ATR(14).
1. The gap: candle 3's low strictly above candle 1's high
   (bullish), or candle 3's high strictly below candle 1's
   low (bearish), at least 0.05 ATR wide. The zone is the
   space between those two wicks.
2. The flip: a later candle, not candle 3, closes strictly
   beyond the far edge. Bullish gap closed below its bottom
   = bearish IFVG. Bearish gap closed above its top =
   bullish IFVG. A wick, or a close on the edge, is no flip.
3. The end: a close strictly beyond the IFVG's other edge
   invalidates it. More than 180 candles after the gap
   formed, it expires. Each gap flips once.
4. The entry: the flip candle's close, inside 09:30-11:00
   New York, if every required check passes. Not entered
   then = never entered from that flip. Optional mode: a
   later candle overlaps the zone and closes beyond its
   trade-side edge and its own open.
5. The plan: stop one tick beyond the prior 10 candles'
   low (long) or high (short), target 1R, levels fixed
   once entered, one resolved plan per New York day.

Steps 1 to 3 are the definition. Steps 4 and 5 are one way to trade it, IFVG Desk's, and the test above is all the evidence we have for them.

Which tools draw inverse fair value gaps?

The whole rule on your own chart. IFVG Desk draws each gap, flips it on a strict close and shows its state (WAIT, ARMED, PLAN ACTIVE or DAY DONE), with the reason when an armed IFVG wasn't entered. A strategy companion runs the same engine in the Strategy Tester. Pine v6, full source in Pine Pro Library. New to Pine? Here's how to add a script to TradingView.

SMC Basics, also in the library, draws the gaps an IFVG starts from and removes a gap on a close through its far edge; it doesn't flip them. LuxAlgo's script also flips on a close, then signals retests from wicks or closes, your choice. Same name, different rules after the flip: check which one a tool uses before you trust its boxes.

More concepts, one written rule each: smart money concepts. ICT's models in learning order, with what we measured: ICT concepts.

Disclosure

We build IFVG Desk, SMC Basics and Sweep Desk and sell them in Pine Pro Library, alongside our other indicators. We have no relationship with LuxAlgo, Forexbee or TradingView. Nothing here is financial advice, and no IFVG rule on this page, ours included, has a validated edge.

Use these animations on your site.

Frequently asked questions

What is an inverse fair value gap (IFVG)?

A fair value gap that a later candle closes through. A bullish gap that a candle closes below becomes a bearish IFVG, watched as resistance from below; a bearish gap that a candle closes above becomes a bullish IFVG, watched as support from above.

Does a wick through a fair value gap make it an IFVG?

No. Our IFVG Desk counts only a close strictly beyond the gap's far edge, on a later candle than the one that completed the gap. A wick through the gap doesn't flip it, and neither does a close exactly on the edge.

Is an inversion fair value gap the same as an inverse FVG?

Yes. ICT calls it an inversion fair value gap; inverse FVG, iFVG and IFVG are the same thing. The zone doesn't move when it flips: only the side price is on changes.

What is the difference between an IFVG and a breaker block?

An IFVG is what a fair value gap becomes when it fails; a breaker block is what an order block becomes when it fails. The breaker also needs a structure break the other way, while IFVG Desk's rule has no structure check.

Where does the stop go on an IFVG trade?

In IFVG Desk, one tick beyond the swing of the 10 candles before the entry candle: below their lowest low for a long, above their highest high for a short. Forexbee's guide places it on the opposite side of the zone instead, which makes it a different trade.

When is an IFVG invalidated?

Before an entry, a close strictly beyond the IFVG's other edge ends it. In IFVG Desk, a gap still waiting more than 180 candles after it formed expires too, and each gap flips only once.

Which timeframe is best for IFVGs?

We haven't compared timeframes, so we can't name a best one; the rule is the same on every chart. IFVG Desk is built for standard intraday candles and suggests 1- to 5-minute charts.

Does the IFVG work?

We haven't shown that it does, and our test is too small to say either way. On QQQ and SPY 1-minute candles from 17 Aug to 5 Sep 2026, IFVG Desk's default rule made 15 trades on each: −525.57 USD (profit factor 0.299) on QQQ and +210.81 USD (profit factor 1.571) on SPY.

Continue reading

Equal Highs and Lows: How Equal Is Equal?

Equal highs and equal lows are two swings that stop at nearly the same price, read as resting liquidity. No guide says how near. One written rule from our Sweep Desk, three tolerances on the same candles, and what changes.

Oct 8 · ProEA Lab

Explainer cover titled Equal highs and lows: how equal is equal? Simulated 15-minute candles with two equal levels found at a tolerance of 0.15 × ATR: an equal high through two swing highs 0.04 apart, and an equal low through two swing lows 0.04 apart that a later candle wicks below and closes back above, labelled swept.

What Is a Market Structure Shift (MSS)? MSS vs CHoCH vs BOS

A market structure shift (MSS) is ICT's name for a change of character made with displacement, usually right after a liquidity sweep. In our test of Sweep Desk 1.1's sweep-then-shift rule on 15-minute candles, 1 June to 3 September 2026, gold made 14 trades at a profit factor of 2.908 and bitcoin 16 at 0.86: one in-sample window, an older engine, no validated edge.

Oct 8 · ProEA Lab

Explainer cover titled Market structure shift: sweep, then close. Simulated 15-minute candles drift down to a swing low marked with a grey dashed line; a later candle wicks below it and closes back above, circled in orange and labelled swept. Five candles later a close goes above the blue line at the last swing high, circled in blue and marked MSS, with a bracket from the sweep's low to that close labelled 3.3 ATR leg.

CISD in Trading: Change in State of Delivery vs MSS, Animated

A change in state of delivery (CISD) is a close back through the opening price of the candle run that made the latest high or low. We haven't tested CISD on its own. In our test of the Fractal Model built on it, 108 versions on seven markets from January 2018 to September 2026, nothing passed: the 5-minute textbook version averaged −0.004R per trade before costs over 83,460 trades.

Oct 7 · ProEA Lab

Explainer cover titled CISD: the close that flips delivery. Simulated 15-minute candles print a swing low, marked with a grey dot and dashed line. A down-close run of two candles, shaded orange, sweeps below it. An orange dashed line runs from the open of that run's first candle, labelled run's open, and the first candle that closes above it is circled in orange and labelled close above = CISD.