Fair value gaps

Fair Value Gap Indicator for TradingView

A fair value gap (FVG) is a three-candle pattern in which a fast middle candle leaves a price range that the first and third candles never overlap: in a rally, the space between candle 1’s high and candle 3’s low. Traders mark it because price often comes back to trade through that range, but a gap is a place to watch, not a signal on its own.

TradingView candlestick chart with fair value gaps drawn as boxes: filled gaps end where price traded through them, open gaps run to the right edge
TradingView candlestick chart with fair value gaps drawn as boxes: filled gaps end where price traded through them, open gaps run to the right edge.
In this guide

Key takeaways

  • A bullish gap runs from candle 1’s high up to candle 3’s low; a bearish gap runs from candle 1’s low down to candle 3’s high. If those wicks overlap, there is no gap.
  • The 50% midpoint, called consequent encroachment, is a common reference level inside the gap, not a level price is bound to respect.
  • A return into a gap can tap it, reach the midpoint, fill it completely, or close through it. Read it on closes, not on the first touch.
  • Most gaps are noise. The ones worth watching came from strong displacement, at a meaningful level, in the direction of the higher-timeframe structure.

What a fair value gap marks

A fair value gap forms when one candle moves so far, so fast, that the candles on either side of it do not overlap. In a rally, candle 1’s high sits below candle 3’s low, and only candle 2 traded the range between them, in one direction. A bearish gap is the mirror image. The term comes from ICT and smart-money-concepts teaching; many traders call the same thing an imbalance.

Traders watch these ranges because price crossed them with little two-way trade and often comes back through them. Some gaps are revisited within a few candles, some take weeks, and some never are. A gap tells you where price moved fast, not that it has to return or what it will do there.

How to find a fair value gap by hand

You need three consecutive candles and their wicks. Compare the first candle with the third; the middle candle is the move that created the gap.

  • Bullish gap: candle 3’s low is above candle 1’s high. The gap runs from candle 1’s high (its bottom) to candle 3’s low (its top).
  • Bearish gap: candle 3’s high is below candle 1’s low. The gap runs from candle 3’s high (its bottom) to candle 1’s low (its top).
  • No gap: if the wicks of candle 1 and candle 3 overlap, even by one tick, there is no fair value gap, however large candle 2 is.
Two gaps worked out from candle values
Bullish exampleBearish example
Candle 1High 100.00Low 100.00
Candle 2Large up candle, closes near 101.50Large down candle, closes near 98.60
Candle 3Low 101.20High 98.90
The gap100.00 to 101.20 (1.20 wide)98.90 to 100.00 (1.10 wide)
Midpoint (50%)100.6099.45
Fully filled when price tradesBack down to 100.00Back up to 100.00

To mark one on TradingView, draw a rectangle between those two wicks, extend it to the right, and add a horizontal line at the midpoint.

Ignore tiny gaps. A gap a few ticks wide is noise; a simple filter is a minimum size of a fraction of the average true range (ATR), which several FVG indicators also offer.

The 50% midpoint: consequent encroachment

The midpoint of a gap has its own name in ICT teaching: consequent encroachment, or CE. In the bullish example it is 100.60, halfway between 100.00 and 101.20. It is a convenient reference that many FVG traders mark, not a level price must respect.

A return into a bullish gap can stop at four depths:

  • Tapped: price enters the top of the gap and leaves. Most of it is still open.
  • Midpoint: price reaches consequent encroachment, so half the range has been traded back through.
  • Filled: price trades down to candle 1’s high, the bottom of the gap.
  • Closed through: candles close below the gap, and the move that created it has been undone. Some traders then watch it from the other side as resistance and call it an inversion gap.

Decide on closes, not wicks. A wick through the bottom that closes back inside is a fill that held; a close below it is a failure.

Which gaps are worth watching

A lower-timeframe chart can print dozens of gaps a day. Four questions sort them:

  • Displacement. A strong, decisive candle says more than a slow drift that barely separated.
  • Location. A gap that starts at a protected swing, a range edge or an order block carries more weight than one in the middle of a range.
  • Liquidity. A gap formed right after a sweep of a high or low often marks the move that followed it. A gap just before an obvious untouched pool may simply be on its way there.
  • Higher timeframe. Keep gaps that agree with the higher-timeframe structure; treat gaps against it as pullback levels at best.

A worked example on a real chart

The capture below is a real TradingView chart, and the numbered steps match the markers. It shows how gaps fill in practice: rarely in one clean move, and rarely all at once.

Stacked gaps: one filled at once, one filled in steps

TradingView candlestick chart with fair value gaps drawn as boxes: two stacked bullish gaps from a rally, the upper one filled by a single candle, the lower one filled in steps, a new gap above, and an older gap below that price never revisited
Fair value gaps drawn as boxes. A box shrinks as price trades into it and ends where the gap is filled. The numbers match the steps below.
  1. 1A fast rally leaves two bullish gaps, one stacked on top of the other.
  2. 2The first pullback is one large red candle that trades through the whole upper gap. That box ends at that candle: the gap is filled.
  3. 3The lower gap fills in steps. Each wick into it moves the top of its box down, and a thin strip at the bottom stays open.
  4. 4Price holds above that strip and rallies to new highs, leaving a new gap on the way up, which a sharp drop later fills.
  5. 5The blue box at the bottom, left by the rally that started this move, still runs to the right edge: price never came back to it.

Fills are rarely one event. The upper gap went in one candle, the lower one over several, and the part that held is where the next leg started. How much of a gap is left tells you more than whether it was touched.

Common mistakes

Most bad fair value gap reads come from one of these habits:

  • Marking every gap, instead of the few that pass the four questions above.
  • Using candle bodies instead of wicks. The standard rule compares wicks; a body-based rule finds gaps the standard rule would not.
  • Treating the first touch as an entry. A tap into a gap is not a reaction yet; wait for closes.
  • Assuming every gap must fill. Some stay open while price trends away from them.
  • Keeping filled gaps on the chart, where they hide the gaps that are still open.
  • Mixing timeframes. A 1-minute gap is invisible on a 4-hour chart.

Step through a gap and its retest

The simulator below starts with the difference between a slow drift, where the candles overlap and no gap forms, and a fast displacement candle that leaves a bullish gap from $64,150 (candle 1’s high) to $64,340 (candle 3’s low). Its midpoint, the 0.5 line in the simulator, is $64,245.

With the gap in place, choose how deep the retest goes: a tap of the midpoint, a full fill down to $64,150, or a breach, where price closes below the gap and the gap is invalidated. The same gap means something different in each case, and only the closes tell you which one you are looking at.

Slow candles leave no gap

When price drifts up in small steps, each candle's range overlaps the candles beside it. No price was skipped on the way up, so there is no gap to track.

How to add an FVG indicator on TradingView

Marking gaps by hand teaches you the rule; an indicator saves the work once you know what it should mark. These are TradingView’s steps and options as of October 2026.

  1. 1

    Open the Indicators dialog

    On any chart, click Indicators on the top toolbar (its full label is Indicators, metrics and strategies), or press the / key.

  2. 2

    Know what is built in

    The Technicals tab holds TradingView’s built-in indicators, and none of them is a fair value gap indicator: TradingView’s list of built-in indicators has no FVG or imbalance entry.

  3. 3

    Search the Community tab

    Search Community for “fair value gap” or “FVG”; many authors have published one. Open-source scripts let you read the code, while protected and invite-only scripts do not.

  4. 4

    Check how the script defines a gap

    Read its description for four things: wicks or bodies, a minimum gap size, whether it waits for candle 3 to close, and what counts as filled (a touch, the midpoint or the whole gap).

  5. 5

    Add it and compare

    Click the script’s name to load it, then compare its boxes with gaps you marked by hand. Where they differ, the definitions differ; adjust the settings until it marks what you would.

  6. 6

    Or use IIF

    IIF is invite-only. Once access is granted to your TradingView username, it appears under the Invite-only tab of the same dialog. Its gap boxes are off by default: turn on Show Fair Value Gaps in the 08 Overlay Tuning settings.

Institutional Imbalance Framework

How IIF tracks fair value gaps

The Institutional Imbalance Framework detects the same three-candle gaps, then keeps score of them. Its CVMI line adds every open gap to one pressure reading and weights each gap by the move that created it: a fast, thinly traded move counts for more than a broadly supported one. As price trades back through a gap, its share drains away. In the volume-weighted modes it can drain before the gap is visually filled, once enough opposing volume has traded inside it.

The same gaps feed SOMM and the Liquidity Matrix. SOMM maps the chart-timeframe gaps inside each higher-timeframe order block and labels the block with how much of them has been filled, which separates a touch from a fill. In the capture below, the lower 15-minute block is tagged TAPPED, yet its label still reads 0%: price entered the block without filling any of the gaps inside it. A block counts as mitigated only when every internal gap is filled and price closes outside it. In its default Imbalances mode, the Liquidity Matrix spreads each gap’s volume across the price rows it covers, showing where open gap volume sits and where it has already been filled.

  • Show Fair Value Gaps: the raw gap boxes the engine uses, with tapped portions recoloured as they fill. Off by default.
  • CVMI: a 0–100 line. 80 or above means heavy unresolved bullish displacement; 20 or below, bearish.
  • SOMM: a live fill percentage for the gaps inside each order block.
  • Liquidity Matrix in Imbalances mode: open and filled gap volume by price level.
  • Confirmed bars only, so printed gaps and labels do not repaint, except in the optional Footprint mode.
IIF on a BTC 1-minute chart: 15-minute order blocks with fill labels, the lower block tagged TAPPED at 0%, the Liquidity Matrix Active and Filled columns at the right, and the CVMI line in the lower pane
IIF on BTC, 1-minute chart: 15-minute order blocks with their fill labels, the Liquidity Matrix on the right, and CVMI in the pane below.

Plotting gaps versus reading them

Plotting every gapReading gaps
Which gapsEvery three-candle gap stays on the chart.Only gaps with real displacement, at a meaningful level, are kept.
SizeA gap a few ticks wide gets the same box as a large one.Gaps below a minimum size, often a fraction of ATR, are ignored.
The returnA gap is either open or filled.Tapped, midpoint, filled and closed through are read separately, on closes.
After a fillFilled gaps stay on the chart.Filled gaps are removed; a gap that is closed through changes meaning.
ContextEach gap is read on its own.Gaps are read with order blocks, liquidity and the higher-timeframe structure.
Use in tradesA touch is treated as an entry.The reaction at the gap is judged against structure and risk.

Questions about fair value gaps

Does TradingView have a built-in fair value gap indicator?

No. As of October 2026, TradingView’s list of built-in indicators has no fair value gap or imbalance indicator. FVG tools are community scripts in the Indicators dialog, or invite-only scripts such as IIF. You can also draw gaps yourself with rectangles.

What is consequent encroachment?

It is the ICT name for the 50% midpoint of a fair value gap: 100.60 for a bullish gap from 100.00 to 101.20. Traders use it to judge how deep a return into the gap went. It is a reference, not a level price is bound to respect.

Do all fair value gaps get filled?

No. Some fill within a few candles, some stay open for a long time, and some lose their meaning when the structure that created them fails. A gap is a place price may return to, not a promise that it will.

How often do fair value gaps fill?

In our study of 161,538 gaps on crypto, EUR/USD and index futures, 63% of hourly gaps were filled within 10 candles and 91% within 200. Random zones of the same size filled at about the same rate, so a fill alone proves little. Large gaps, 1 ATR or more, were the exception: 26% filled within 10 candles, against 34% for random zones of the same size.

Is a fair value gap the same as an imbalance or a price gap?

Imbalance is often used as another name for a fair value gap. A regular price gap is different: a jump between two consecutive candles with no trading in between, common at stock and futures session opens. A fair value gap spans three candles, and the middle one did trade through it, quickly and in one direction.

Is a fair value gap enough to take a trade?

Not on its own. A gap shows where price moved fast. You still need the higher-timeframe structure, a reason for the location to matter, a reaction you can read on closes, and a stop and position size you accept.

What should a fair value gap indicator do?

At a minimum, mark gaps by a clear rule, ignore gaps below a size you set, and show how much of each gap has been filled, so filled gaps do not clutter the chart. IIF also turns the open gaps into one pressure reading (CVMI), measures the gaps inside each order block (SOMM), and maps open and filled gap volume by price (Liquidity Matrix).

Track these levels on your own chart

The Institutional Imbalance Framework marks structure, fair value gaps, order blocks, liquidity and imbalance pressure on TradingView, and keeps track of which levels are still active.

This guide is education about reading charts, not financial advice. The concepts describe how traders interpret price; none of them predicts the market, and trading carries a real risk of loss.