OPEN-SOURCE SCRIPT
FVG & iFVG (Yair_Misgav)

This indicator provides automated identification, filtering, and management of Fair Value Gaps (FVG) and Inversion Fair Value Gaps (iFVG). It is designed for traders utilizing Smart Money Concepts (SMC) who require a systematic approach to identifying liquidity and structural imbalances.
Key Technical Features:
Algorithmic Detection: Identifies gaps in price action based on structural imbalances, with integrated filters for Volume SMA and Body-to-Range ratios to ensure only high-momentum zones are prioritized.
Dynamic Inversion Engine: Automatically transitions identified FVGs into iFVGs once price penetrates the zone, reclassifying support-turned-resistance (or vice versa) to maintain structural accuracy.
Symmetrical Projection (Measured Move): Calculates and projects target zones based on the structural swing origin. This feature includes an optional midline toggle for precise assessment of potential profit targets or reversal areas.
Configurable Visualization: Offers dual extension modes (Fixed vs. Dynamic to Last Bar) and customizable lookback periods to manage chart density and historical tracking.
Visual Logic: Provides clear, configurable styling options for borders, midlines, and labeling, allowing for seamless integration into existing technical chart setups.
Note: This tool is intended for structural analysis and should be used in conjunction with a robust risk management strategy.
Key Technical Features:
Algorithmic Detection: Identifies gaps in price action based on structural imbalances, with integrated filters for Volume SMA and Body-to-Range ratios to ensure only high-momentum zones are prioritized.
Dynamic Inversion Engine: Automatically transitions identified FVGs into iFVGs once price penetrates the zone, reclassifying support-turned-resistance (or vice versa) to maintain structural accuracy.
Symmetrical Projection (Measured Move): Calculates and projects target zones based on the structural swing origin. This feature includes an optional midline toggle for precise assessment of potential profit targets or reversal areas.
Configurable Visualization: Offers dual extension modes (Fixed vs. Dynamic to Last Bar) and customizable lookback periods to manage chart density and historical tracking.
Visual Logic: Provides clear, configurable styling options for borders, midlines, and labeling, allowing for seamless integration into existing technical chart setups.
Note: This tool is intended for structural analysis and should be used in conjunction with a robust risk management strategy.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.