Fair value gap trading strategy: rules you can test

· ZynIQ · 6 min read

A fair value gap (FVG) is a three-candle imbalance: price ran so far in one bar that the candles on either side never traded through the same prices. Many traders treat that leftover range as a place price may revisit. The idea is clear enough to test. It is not, on its own, a trading strategy, and it is not a reason to place an order.

This guide sets out how an FVG forms, which rules you can write down, and what to check before you trust a gap on a live chart. Nothing here is financial advice or a signal to follow. Trading is risky and you can lose money.

What a fair value gap actually is

On a candlestick chart an FVG is a three-bar pattern.

  • A bullish gap: the high of the first candle sits below the low of the third. The middle candle is the impulse that left prices untraded between those two levels.
  • A bearish gap: the low of the first candle sits above the high of the third.

Some scripts measure candle bodies instead of wicks. That prints more gaps and a different fill. Write down which definition you are using before you test anything.

Traders often mark the full gap, a midline at 50% of the range, and whether later price has entered the gap (a partial fill) or closed through the far side (a full fill). None of those marks tell you what happens next. They only describe what already printed.

Why an FVG is not a complete strategy

A strategy needs a market and session, a setup definition, an invalidation, a size rule, and a way to record the result. An FVG is only the setup piece until you specify timeframe, required context, how much of the gap must remain unfilled, what kills the idea, and what you will not do.

If you cannot write those rules in one paragraph, you do not have a strategy. You have a pattern you like. Overlays that draw every FVG create noise. Most gaps are touched because price often travels back through a recent range, not because a rule predicted a reaction.

Rules you can write down and test

Keep the set small. Change one thing at a time.

  • Formation: three consecutive candles, wicks or bodies (pick one). A minimum size, for example a fraction of ATR(14). On futures, ignore the first bar after a weekend or halt so a reopen gap is not treated as an FVG.
  • Context, tested on and off: only after a same-direction swing break; only overlapping a session open, a prior day high or low, or VWAP; only during London or New York hours if that is when you sit at the chart.
  • Return: price must trade back into the gap. Decide whether a wick counts or only a close, and whether you need a second closed candle after the touch.
  • Invalidation: a close through the far side, a close beyond the impulse candle, a time stop if the gap is not touched within N bars, or an overlapping opposite gap.
  • Management, for the log only: stop and target stated in advance. Do not move the stop until a named event. This is replay record-keeping, not a live instruction.

A same-direction gap after a break of structure is a different object from a counter-swing gap. A gap in a quiet hour is not the same test as one in the first hour of New York. ATR lets you replay the same distances on forex, crypto and index futures without rewriting prices.

Piece Example rule you can test What you record
Formation Wick-based FVG, gap at least 0.25 x ATR(14) Time, direction, gap high and low
Context After a same-direction break of structure Yes or no
Trigger First close back inside the gap Trigger bar time and close
Invalidation Close through the far side, or 50 bars with no touch Which condition hit
Management Stop beyond the far side; target at 1.0 x ATR Stop hit, target hit, or neither by bar 50

That table is a test sheet, not a signal card. An FVG plan that requires a fill will sit in cash more often than a breakout plan. That is a property of the rule, but only if you actually wait.

How to test an FVG plan on TradingView

Use replay on one symbol and one timeframe at a time.

  1. Freeze the rules. Do not add extra confluence while you replay.
  2. Start far enough back to include quiet weeks and news weeks.
  3. Step bar by bar. Mark every gap that meets formation rules, including the ones you dislike.
  4. Wait for the trigger, invalidation or time expiry. Log date, direction, context, trigger, invalidation and session.
  5. Repeat on a second timeframe and a second symbol before you change any rule.

Count how often gaps form, how often they are touched, and how often invalidation arrives first. Leave those as counts. Do not dress them up as a headline figure.

Replay will not size positions or apply costs unless you add them in the sheet. State the session in New York time so crypto (around the clock) and index futures (which pause) stay comparable. Delayed futures data is not a live-timing test. If an indicator draws the gaps, hide extra plots until formation is stable, or you will skip failures and remember tidy examples.

What to check in any FVG tool

Before you trust boxes on a live chart, open the settings and, if you have the source, the code. The gap should appear only after the third candle has closed. A box that can vanish on the forming bar is a draft, not a locked level. Confirm wick versus body, how overlapping gaps are handled, and whether fill means a wick, a close inside, or a close through. A 1-hour gap on a 5-minute chart must still lock on the 1-hour close. Alerts should fire once per bar close. Recreate the alert after you change settings.

Hand-drawing every gap is slow and biased: you mark the obvious ones and skip the ugly ones. A script with one definition, on closed candles, keeps the sample complete. It should not grade the trade, invent a target, or imply that a box is an order.

ZynIQ builds its indicators so values and signals lock at candle close. FVG Master is a one-time purchase: Pine Script v6 source you keep on any TradingView plan, including the free plan. Use it as a consistent marker while you run the test sheet, not as a substitute for the sheet. Pairing gaps with structure is optional. Market Structure Master explains how ZynIQ defines swings.

Keep the risk in view

Gaps fill. Gaps also continue. Neither outcome is a promise. Costs, slippage and missed clicks will not show on a clean replay. If a rule only looks tidy on one coin in one month, it is not a rule yet.

ZynIQ indicators, including the FVG tool, are analysis tools. They are not financial advice and they are not a recommendation to buy or sell anything. No indicator can guarantee results.

If you want a locked FVG marker to test against the rules in this guide, open the indicators catalogue, find FVG Master, read the settings, and run it on replay before you put it on a live layout.

Questions people ask

What is a fair value gap on a candlestick chart?

A three-candle pattern where the first and third candles do not overlap, leaving an untraded range through the middle candle. Bullish: first candle high below third candle low. Bearish: first candle low above third candle high. Decide in advance whether you measure wicks or bodies, because the two definitions do not match.

Is waiting for every fair value gap to fill a trading strategy?

No. A strategy also needs a timeframe, invalidation, size rule and a log. Many gaps are touched simply because price often revisits a recent range. Write the rules down and replay them. Do not treat every box as a reason to place an order. Trading is risky and you can lose money.

How do I know an FVG box will not move after the close?

Check whether the box is drawn only after the third candle has closed. If it can appear and then vanish on the forming bar, it is a draft, not a locked level. ZynIQ indicators lock values and signals at candle close.

Do I need an indicator to test a fair value gap plan?

No. You can mark gaps by hand on TradingView replay. An indicator helps only by applying one definition to every bar, including the ugly ones you would skip. FVG Master is a one-time Pine v6 download on the ZynIQ indicators catalogue if you want that consistency.

Can an FVG indicator tell me what to trade?

No. It is an analysis tool, not financial advice and not a recommendation to buy or sell anything. A gap box does not grade a trade or invent a target. Trading is risky and you can lose money.