OPEN-SOURCE SCRIPT
HTF Fair Value Gap (FVG) Indicator

Automatically detects and plots Fair Value Gaps from the 1H, 4H, and Daily timeframes directly on any chart. A Fair Value Gap is a 3-candle imbalance where the wick of candle A and the wick of candle C do not overlap, leaving an unfilled gap in price. Bullish FVGs form when the high of candle A is below the low of candle C. Bearish FVGs form when the low of candle A is above the high of candle C.
Each FVG is drawn as a colored box spanning the gap zone with a dotted midline. When price trades back through a zone it becomes an Inverse Fair Value Gap (IFVG), changing color to indicate the shift in character. IFVGs can be toggled off to simply remove mitigated zones. All colors and borders are fully customizable. You can control how many FVGs per timeframe are displayed at once, keeping the chart clean regardless of what timeframe you are trading on.
Each FVG is drawn as a colored box spanning the gap zone with a dotted midline. When price trades back through a zone it becomes an Inverse Fair Value Gap (IFVG), changing color to indicate the shift in character. IFVGs can be toggled off to simply remove mitigated zones. All colors and borders are fully customizable. You can control how many FVGs per timeframe are displayed at once, keeping the chart clean regardless of what timeframe you are trading on.
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.