OPEN-SOURCE SCRIPT
FVG Inverse (IFVG) All Timeframes

Tracks standard Fair Value Gaps (FVGs) and Inverse Fair Value Gaps (IFVGs) automatically on any chart timeframe.
The indicator detects bullish and bearish FVGs based on classic 3-candle imbalance structure, draws the zone with its Consequent Encroachment (CE) as a dotted midpoint line, and labels each setup clearly as BULL FVG or BEAR FVG.
When price fully closes through an opposing FVG, the zone automatically converts into an IFVG and is relabeled accordingly, helping traders quickly identify potential shifts in market structure and support/resistance flips.
Designed as a clean, strategy-neutral tool for all markets and timeframes, with customizable colors, opacity, and a simplified visual layout that keeps only the most recent zones on screen for clarity.
The indicator detects bullish and bearish FVGs based on classic 3-candle imbalance structure, draws the zone with its Consequent Encroachment (CE) as a dotted midpoint line, and labels each setup clearly as BULL FVG or BEAR FVG.
When price fully closes through an opposing FVG, the zone automatically converts into an IFVG and is relabeled accordingly, helping traders quickly identify potential shifts in market structure and support/resistance flips.
Designed as a clean, strategy-neutral tool for all markets and timeframes, with customizable colors, opacity, and a simplified visual layout that keeps only the most recent zones on screen for clarity.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.