Skip links

IFVG on several timeframes

FCC_EA 1.1Updated 3 min read

An inverted fair value gap (IFVG) is a gap left by a fast move that price later closes back through: the old support becomes resistance, or the other way round. FCC_EA trades IFVGs with three triggers: Liquidity Sweep (an IFVG after a sweep of a level), VWAP (an IFVG at a band or the VWAP line) and SMMA Band Cross + Retest in IFVG mode. Everything below works the same way for all three.

Up to three timeframes

FVG/IFVG Timeframe 1 is the timeframe the boxes come from. Add FVG/IFVG Timeframe 2 and FVG/IFVG Timeframe 3 to find gaps on more timeframes at once, for example M1, M5 and M15 on an M1 chart.

  • Every timeframe uses the same FVG / IFVG settings (box filters, colours, lifetime) and keeps its own boxes. Max Displayed FVG/IFVG Boxes counts per timeframe.
  • Each timeframe is checked when its own candle closes: an M15 box fires at an M15 close, an M1 box at an M1 close, whatever your Signal Timeframe is.
  • The box tooltip and the signal arrow name the timeframe, for example IFVG M5.
  • A timeframe picked twice is ignored, and the Experts log says so once.

Confirmation from a second timeframe

IFVG Confirmation decides how many timeframes must agree before a trade:

ChoiceWhen FCC_EA enters
Any TFOn the first valid IFVG, on any enabled timeframe.
At Least 2 TFsWhen an IFVG in the same direction is also valid on another timeframe.
All Enabled TFsWhen every enabled timeframe shows one.

With At Least 2 or All, the IFVG that completes the set is the one that trades: its entry mode, its zone and, with Stop Loss Mode IFVG Swing, its stop. The earlier IFVG must have formed within IFVG Confirmation Window before it and still be valid. The boxes don't have to overlap. The arrow names both timeframes, for example IFVG M5 + M15. Until a second timeframe agrees, the would-be entry shows as a grey arrow (waiting for a 2nd TF IFVG).

Confirmation means fewer trades, not better ones by default. Test it in the Strategy Tester on your symbol before you use it live.

No double entries on the same move

A fast move often leaves an IFVG on M1, M5 and M15 at almost the same place. After a trade, a same-direction IFVG on another timeframe is marked used and doesn't open a second trade when:

  • its zone shares price with the zone that gave the trade, and
  • it forms within the IFVG Confirmation Window after the trade.

A box somewhere else, or later, is a new signal as usual. Hover over a used box to see which trade it belongs to. Only real trades count: a signal that a filter blocked leaves the other boxes free.

Close on Opposite IFVG

With Close on Opposite IFVG? on, FCC_EA watches trades opened by an IFVG signal. If an IFVG in the opposite direction forms over the entry zone soon after the entry, the setup has failed, and the trade is closed at market, add-ons included, in profit or not.

  • Soon is Close on Opposite IFVG: Within Bars, counted in candles of the timeframe the entry came from (2 on M5 = 10 minutes). 0 = for as long as the trade is open.
  • The opposite IFVG must pass every FVG / IFVG filter, may come from any enabled timeframe, and must form after the trade opened.
  • Only IFVG trades are watched. Panel trades, other triggers and an active hedge cycle are left alone.
  • The close alert says Reason: Opposite IFVG. It also survives a restart: an opposite IFVG that formed while MetaTrader was off is found on the next start.

After such a close, a new signal in the other direction can open normally.

Settings

All of them are in FVG / IFVG SETTINGS: FVG / IFVG Settings.

All settings for this feature FVG / IFVG settings →

Build it, test it, change it.

Backtest this setup free in the Strategy Tester, and adjust it whenever the market changes; every feature is in every plan. Backtest results depend on your broker's data and don't guarantee future results.

Can't find an answer?

Check the FAQ or write to us. We reply within one business day.