FULL DESCRIPTION
Inverse Fair Value Gaps (iFVG) – Polarity Flip Zones for Smart Money Traders on cTrader
The Inverse Fair Value Gaps indicator implements one of the most powerful and underused concepts in ICT / Smart Money methodology: when a Fair Value Gap gets invalidated by price closing through it, the zone doesn't disappear — it flips polarity and becomes a high-probability support or resistance area with the opposite bias.
This indicator automates the entire lifecycle: FVG detection, invalidation monitoring, iFVG creation, retest tracking, and mitigation removal — all drawn directly on your chart with zero manual work.
🧠 THE CONCEPT: FROM FVG TO iFVG
A standard Fair Value Gap (FVG) is a three-candle imbalance where the wick of the first candle doesn't overlap with the wick of the third candle, leaving a gap. These gaps represent areas where price moved too fast, leaving unfilled orders behind.
When price later closes through an FVG entirely — invalidating it — the gap doesn't lose significance. Instead, it undergoes a polarity flip:
- A bullish FVG that gets invalidated (price closes below its bottom) becomes a bearish iFVG — now expected to act as resistance.
- A bearish FVG that gets invalidated (price closes above its top) becomes a bullish iFVG — now expected to act as support.
This polarity flip is a core ICT concept: the same zone that once attracted buyers now repels them, and vice versa. The iFVG becomes a fresh, high-probability reaction zone.
🔍 HOW THE INDICATOR WORKS
Step 1 — FVG Detection
The indicator continuously scans for three-candle FVG patterns (both bullish and bearish). Each detected FVG is tracked internally. Optionally, active FVGs are also displayed on the chart as semi-transparent rectangles so you can see both the original gaps and the flipped zones simultaneously.
An Auto Threshold feature filters out insignificant FVGs by comparing the middle candle's body size against a cumulative average — only meaningful imbalances are tracked. You can also set a minimum FVG size in pips to exclude micro-gaps that are too small to trade.
Step 2 — Invalidation & Polarity Flip
On every bar, the indicator checks whether any active FVG has been invalidated (price closed through it). When this happens:
- The FVG is removed from the active list.
- A new iFVG is created at the same price zone but with flipped bias.
- The iFVG zone is drawn as a colored rectangle extending to the right of the chart.
Step 3 — Retest Tracking (Optional)
When the "Stop on Retest" option is enabled, the indicator monitors whether price returns to touch the iFVG zone after its creation. Once a retest is detected, the iFVG rectangle stops extending — it served its purpose. This gives you a clean visual: zones that have been retested are "closed" on the chart, while untouched zones keep extending.
Step 4 — Mitigation
An iFVG is mitigated when price closes through the zone in the direction opposite to its new bias (e.g., price closes below a bullish iFVG). Once mitigated, the zone is either removed from the chart or drawn in a muted gray color if you have "Show Mitigated iFVGs" enabled — useful for studying historical behavior and backtesting.
📊 WHAT YOU SEE ON THE CHART
- Original FVG zones (optional) — Semi-transparent rectangles showing active, unfilled Fair Value Gaps. Split into two halves (above and below midpoint) for visual clarity.
- Active iFVG zones — Stronger-colored rectangles marking polarity-flipped zones. Green-tinted for bullish iFVGs (support), red-tinted for bearish iFVGs (resistance). Each zone includes an "iFVG ▲" or "iFVG ▼" label.
- Mitigated iFVG zones (optional) — Faded gray rectangles showing where past iFVGs were consumed by price.
All drawings are rendered in a single pass on the last bar, preventing opacity stacking and ensuring clean, flicker-free visuals even on large charts.
📈 HOW TO USE
As Support/Resistance Zones Bullish iFVGs act as support — look for long entries when price pulls back into a green iFVG zone. Bearish iFVGs act as resistance — look for short entries when price rallies into a red iFVG zone.
As Confluence with Market Structure Combine iFVGs with BOS/CHoCH analysis. An iFVG that aligns with a structural breakout level provides much higher-probability trade setups than either signal alone.
For Liquidity Analysis The invalidation of an FVG often coincides with a liquidity sweep. The resulting iFVG marks where smart money has likely repositioned, making it a key zone for the next move.
For Backtesting & Study Enable "Show Mitigated iFVGs" to see how past iFVG zones reacted historically. This helps you calibrate your expectations and understand how often these zones hold on your preferred instruments and timeframes.
Retest vs. Extension Mode With "Stop on Retest" disabled (default), iFVG zones extend continuously until mitigated — useful for identifying untested zones that may still attract price. With it enabled, zones close after the first touch — useful for a cleaner chart focused on fresh setups only.
💡 TIPS
- On lower timeframes (M1–M15), reduce "Extend iFVG Right" to 10–15 bars to avoid excessive forward projection.
- On higher timeframes (H4–Daily), increase it to 30–50 bars since zones remain relevant longer.
- Keep "Auto Threshold" enabled to avoid flooding the chart with insignificant micro-gaps.
- Use "Min FVG Size" on volatile instruments (e.g., XAUUSD, NAS100) to filter out noise — 2–5 pips is a good starting point.
⚠️ DISCLAIMER
This indicator is a technical analysis tool designed to detect and visualize Fair Value Gaps and their polarity-flipped Inverse FVG zones. It does not generate automatic buy/sell signals and should not be used as the sole basis for trading decisions. Always use proper risk management and combine with your own analysis. Past performance does not guarantee future results. Trading involves significant risk of loss.

![Logo „Trend Angle Indicator [Iridio Capital]”](https://cdn.ctrader.com/10679735-dd41-4a43-9a66-ece9bcbdf9b4_trend angle-logo.png)