PROTECTED SOURCE SCRIPT
FVG/IFVG Detector Pro

FVG Detector Pro – with Automatic IFVG
Description
FVG Detector Pro is an advanced indicator designed to automatically detect Fair Value Gaps (FVG) and Inverse Fair Value Gaps (IFVG).
It helps traders visualize market imbalances created by impulsive price movements and quickly identify when a Fair Value Gap fails and becomes an inverse reaction zone.
This tool is built for intraday and futures trading (NQ, MNQ, ES, etc.) and works on any timeframe.
What is a Fair Value Gap (FVG)?
A Fair Value Gap represents a price imbalance where the market moved too quickly and did not trade efficiently.
Detection rules used:
Bullish FVG: Low > High[2]
Bearish FVG: High < Low[2]
FVGs often act as:
retracement zones
reaction areas
continuation or rejection zones
IFVG – Inverse Fair Value Gap
An IFVG is created when a Fair Value Gap is invalidated by price action.
Invalidation rules:
Bullish FVG becomes Bearish IFVG when price closes below the FVG bottom
Bearish FVG becomes Bullish IFVG when price closes above the FVG top
This indicates that the original imbalance failed and the zone now acts in the opposite direction.
Visual Identification
Zone Type Label
Bullish FVG FVG ↑
Bearish FVG FVG ↓
Bullish IFVG IFVG ↑
Bearish IFVG IFVG ↓
Each zone includes:
a price box
a 50% midpoint line
a directional label
All colors and styles are fully customizable in the settings.
Indicator Settings
General Options
Show Bullish / Bearish FVG
Infinite extension or fixed number of bars
Show or hide labels
FVG Management
Delete filled FVGs
Enable automatic IFVG conversion
Delete filled IFVGs
Style Settings
Box colors
Border colors
Midline colors and width
How to Use the Indicator
Standard FVG Setup
A Fair Value Gap is created
Price retraces into the zone
Price reacts in the direction of the FVG
IFVG Setup (High-Probability Scenario)
A Fair Value Gap is formed
Price fails and breaks through the zone
The zone converts into an IFVG
A retest of the IFVG often provides an entry in the opposite direction
IFVGs frequently represent failed expectations and can offer strong trading opportunities.
Recommended Timeframes
1m / 2m / 5m for scalping and intraday trading
15m / 30m for higher-timeframe context
The indicator is fully timeframe-independent.
Best Practices
Always use FVGs and IFVGs with market context (VWAP, session levels, trend bias)
IFVGs are especially effective around the US session open
Avoid trading FVGs directly against strong momentum
Summary
Automatic detection of Fair Value Gaps
Intelligent conversion to Inverse Fair Value Gaps
Clean and readable chart visualization
Fully customizable
Built for real trading, not curve fitting
Description
FVG Detector Pro is an advanced indicator designed to automatically detect Fair Value Gaps (FVG) and Inverse Fair Value Gaps (IFVG).
It helps traders visualize market imbalances created by impulsive price movements and quickly identify when a Fair Value Gap fails and becomes an inverse reaction zone.
This tool is built for intraday and futures trading (NQ, MNQ, ES, etc.) and works on any timeframe.
What is a Fair Value Gap (FVG)?
A Fair Value Gap represents a price imbalance where the market moved too quickly and did not trade efficiently.
Detection rules used:
Bullish FVG: Low > High[2]
Bearish FVG: High < Low[2]
FVGs often act as:
retracement zones
reaction areas
continuation or rejection zones
IFVG – Inverse Fair Value Gap
An IFVG is created when a Fair Value Gap is invalidated by price action.
Invalidation rules:
Bullish FVG becomes Bearish IFVG when price closes below the FVG bottom
Bearish FVG becomes Bullish IFVG when price closes above the FVG top
This indicates that the original imbalance failed and the zone now acts in the opposite direction.
Visual Identification
Zone Type Label
Bullish FVG FVG ↑
Bearish FVG FVG ↓
Bullish IFVG IFVG ↑
Bearish IFVG IFVG ↓
Each zone includes:
a price box
a 50% midpoint line
a directional label
All colors and styles are fully customizable in the settings.
Indicator Settings
General Options
Show Bullish / Bearish FVG
Infinite extension or fixed number of bars
Show or hide labels
FVG Management
Delete filled FVGs
Enable automatic IFVG conversion
Delete filled IFVGs
Style Settings
Box colors
Border colors
Midline colors and width
How to Use the Indicator
Standard FVG Setup
A Fair Value Gap is created
Price retraces into the zone
Price reacts in the direction of the FVG
IFVG Setup (High-Probability Scenario)
A Fair Value Gap is formed
Price fails and breaks through the zone
The zone converts into an IFVG
A retest of the IFVG often provides an entry in the opposite direction
IFVGs frequently represent failed expectations and can offer strong trading opportunities.
Recommended Timeframes
1m / 2m / 5m for scalping and intraday trading
15m / 30m for higher-timeframe context
The indicator is fully timeframe-independent.
Best Practices
Always use FVGs and IFVGs with market context (VWAP, session levels, trend bias)
IFVGs are especially effective around the US session open
Avoid trading FVGs directly against strong momentum
Summary
Automatic detection of Fair Value Gaps
Intelligent conversion to Inverse Fair Value Gaps
Clean and readable chart visualization
Fully customizable
Built for real trading, not curve fitting
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.