PROTECTED SOURCE SCRIPT
Dual Layer FVG (Dynamic + Static)

Overview This indicator visualizes Fair Value Gaps (FVG) using a unique dual-layer approach. Standard FVG indicators usually either shrink as price touches them OR stay at their original size. This script combines both methods to give you a complete picture of market imbalance and mitigation.
Key Concepts
Dynamic FVG (Foreground): This layer represents the remaining gap. As price moves into the FVG (mitigation), this zone shrinks in real-time, showing you exactly how much unfilled imbalance is left.
Static FVG (Background/Ghost): This layer represents the original gap size. It remains fixed even when price penetrates it, allowing you to see the historical depth of the imbalance.
Features
Multi-Timeframe (MTF) Support: View Higher Timeframe (HTF) FVGs on your current chart (e.g., Daily FVG on a 1-hour chart).
Visual Customization: Fully adjustable colors and transparency for both the Dynamic and Static layers.
Mitigation Tracking: The gap is automatically removed only when it is fully mitigated.
Smart Labels: Toggle labels on/off and adjust their position (Top, Mid, Bottom) relative to the gap.
Settings Guide
Timeframe: Choose 'Chart' for current timeframe or select a specific HTF.
Dynamic FVG: Controls the shrinking zone. Usually set to a higher opacity.
Static FVG: Controls the fixed 'Ghost' zone. Recommended to keep transparency high (around 90) for a subtle background effect.
Max Bars Back: Adjusts how far back in history the script calculates. Increase this if you are viewing very high timeframe FVGs on very low timeframe charts.
Key Concepts
Dynamic FVG (Foreground): This layer represents the remaining gap. As price moves into the FVG (mitigation), this zone shrinks in real-time, showing you exactly how much unfilled imbalance is left.
Static FVG (Background/Ghost): This layer represents the original gap size. It remains fixed even when price penetrates it, allowing you to see the historical depth of the imbalance.
Features
Multi-Timeframe (MTF) Support: View Higher Timeframe (HTF) FVGs on your current chart (e.g., Daily FVG on a 1-hour chart).
Visual Customization: Fully adjustable colors and transparency for both the Dynamic and Static layers.
Mitigation Tracking: The gap is automatically removed only when it is fully mitigated.
Smart Labels: Toggle labels on/off and adjust their position (Top, Mid, Bottom) relative to the gap.
Settings Guide
Timeframe: Choose 'Chart' for current timeframe or select a specific HTF.
Dynamic FVG: Controls the shrinking zone. Usually set to a higher opacity.
Static FVG: Controls the fixed 'Ghost' zone. Recommended to keep transparency high (around 90) for a subtle background effect.
Max Bars Back: Adjusts how far back in history the script calculates. Increase this if you are viewing very high timeframe FVGs on very low timeframe charts.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
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 o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.