FVG / IFVG Settings
Available in FCC_EA
Fair value gaps and their inversions, used by the IFVG trigger of the VWAP and Liquidity Sweep methods, and as boxes you can display with any method.
These settings are in the FVG / IFVG SETTINGS group on the EA's Inputs tab. Values in points are broker points (the smallest price step of the symbol).
What FVG and IFVG are
- FVG (fair value gap): three candles where the first and the third do not overlap; the gap between them is the box. A bullish FVG forms in a fast move up, a bearish one in a fast move down.
- IFVG (inverted FVG): a candle later closes with its body through the far side of the box. The gap then flips its role: a bearish FVG closed through upwards becomes support (bullish IFVG), a bullish FVG closed through downwards becomes resistance (bearish IFVG).
How the IFVG trigger enters
- Retest: after the inversion, price comes back into the box and a candle closes in the new direction: enter on that candle close.
- Close: enter on the close of the inversion candle itself.
VWAP IFVG uses an IFVG that forms at an enabled VWAP band or at the VWAP line. Liquidity Sweep IFVG uses an IFVG that forms after a liquidity level was swept, in the direction of the reversal. Each box gives at most one signal.
Quality filters
Three optional filters keep only the cleaner setups. Each one can grey out the boxes it rejects (still shown, dimmed, not traded) or remove them:
- Wick-mitigated FVG: a candle wicked through the whole gap without closing beyond it before the inversion; the gap's liquidity is already taken.
- V-shaped IFVG: the inversion must come within a few candles of the gap, a sharp turn rather than a slow grind.
- Strong displacement: the inversion candle must close well beyond the box (and optionally have a large body).
| Setting | Values | What it does |
|---|---|---|
| IFVG Entry Mode | Retest - enter on retest of the inverted FVGClose - enter on the inversion candle close | When an IFVG signal enters.Retest: when price returns into the inverted box and a candle closes in the trade direction.Close: on the close of the inversion candle (earlier, more signals, more false ones). |
| IFVG Max Distance Trade Side - VWAP Line / Liq Level (pts, 0=touch, -1=no limit) | Points, 0 = touch, -1 = no limit | How far the box may be from the VWAP line or the swept liquidity level on the trade side (above the line for BUY, below it for SELL), in points. 0 = the box must touch the line. -1 = no limit. |
| IFVG Max Distance Opposite Side - VWAP Line / Liq Level (pts, 0=touch, -1=no limit) | Points, 0 = touch, -1 = no limit | The same on the other side of the line (box below the line for a BUY). -1 = no limit, 0 = must touch. |
| Liq IFVG: Inversion Close Must Reclaim the Swept Level? | true / false | Liquidity Sweep only: the inversion candle must also close back across the swept level, not only through the box. |
| IFVG Timeout - all IFVG Triggers (minutes, 0=end of day, -1=no limit) | Minutes, 0 = end of day, -1 = no limit | How long an IFVG setup stays valid: for Liquidity Sweep, how long the swept level waits for its IFVG; for VWAP Retest, how long after the inversion a retest still counts. 0 = until the end of the server day, -1 = no limit. |
| FVG/IFVG Timeframe (detection, display and entry) | Signal TF (default)Current chart TFM1M2M3M5M15M30H1H4D1 | Timeframe of the candles that form the boxes, and of the retest entry. A higher timeframe gives bigger, fewer boxes.Signal TF: the Signal Timeframe.Current chart TF: the timeframe of the chart.M1 … D1: a fixed timeframe. |
| Min FVG Gap (points, 0=disabled) | Points, 0 = disabled | Ignore gaps smaller than this many points. 0 = keep every gap. |
| Wick-Mitigated FVG | KeepGrey out (mark + exclude from inversion)Remove and exclude from inversion | What to do with an FVG whose far side was reached by a wick before any inversion.Keep: use it.Grey out: show it dark and never invert it.Remove: delete it.Grey out and Remove keep only clean, one-candle inversions. |
| Wick-Mitigated FVG Box Color (grey-out mode) | Color | Box color of wick-mitigated FVGs in grey-out mode. |
| Use V-Shaped IFVG Only | Off (use all IFVG)On - grey out the rest (dim)On - remove the rest | Use only IFVGs that invert within the maximum number of candles below (a sharp V-turn).Off: use every IFVG.On - grey out the rest: other IFVGs are shown dimmed and not traded.On - remove the rest: other IFVGs are deleted. |
| V-Shape: Max Bars to Inversion | Number of candles | V-shape: the inversion must happen within this many candles after the gap formed. 1 = the very next candle. |
| V-Shape: Anti-Fakeout (body beyond zone >= wick)? | true / false | V-shape: also reject an inversion whose candle closed only just beyond the box with a long wick back (the part of the body beyond the box must be at least as long as that wick). |
| Grey-Out Dim Factor for V-Shape/Strong (0-1, 1=no dim) | Number, 0-1, 1 = no dim | How dark greyed-out boxes are drawn: 1 = normal color, lower = darker. On a dark chart background very low values make the box almost invisible. |
| Use Strong-Displacement IFVG Only | Off (use all IFVG)On - grey out the rest (dim)On - remove the rest | Use only IFVGs with a strong inversion candle (the two settings below).Off: use every IFVG.On - grey out the rest: others are shown dimmed and not traded.On - remove the rest: others are deleted.Every IFVG signal logs its measured strength, so you can tune the values. |
| Strong: Min Close Beyond Box (x box height, 0=disabled) | Number (multiplier), 0 = disabled | Strong: the inversion candle must close at least this many box heights beyond the box. 2.0 with a 10-point box = 20 points beyond. 0 = not required. |
| Strong: Min Inversion Body (x average candle, 0=disabled) | Number (multiplier), 0 = disabled | Strong: the body of the inversion candle must be at least this many times the average body of the recent candles. 0 = not required. |
| Display FVG Boxes? | true / false | Draw the FVG boxes that have not been inverted yet (dark green = bullish, dark red = bearish). |
| Display Inverted FVG (IFVG) Boxes? | true / false | Draw the inverted boxes (IFVG). |
| Max Displayed FVG/IFVG Boxes (oldest removed, 0=unlimited) | Whole number, 0 = unlimited | Most boxes drawn at the same time; the oldest disappear first. Only affects drawing, not signals. 0 = no limit. |
| Box Lifetime in Bars (FVG timeframe, also backfill depth) | Number of candles | How many candles of the box timeframe a box lives, and how far back boxes are rebuilt from history at start. |
| Backfill FVG/IFVG Boxes From History on Start? | true / false | At start, rebuild the boxes from history so the chart is complete at once. Rebuilt boxes do not open trades. |
| Display Signal Preview Arrows (color = pass, grey = blocked)? | true / false | Mark the would-be entry of every IFVG with an arrow: colored = this entry passes the method's checks, grey = blocked (hover to see why). Only a display; it does not change signals. |
| Signal Preview: Max Marked Boxes in Backfill (0=unlimited) | Whole number, 0 = unlimited | How many past entries the preview marks when FCC_EA starts. 0 = no limit. |
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.
Check the FAQ or write to us. We reply within one business day.