OPEN-SOURCE SCRIPT
FLEE Customizable Strong FVGs

In simple terms:
It’s a 3-candle pattern showing inefficiency.
Here’s the visual logic (assuming a bullish FVG):
Candle 1: a bearish or minor candle.
Candle 2: a large bullish candle (impulsive move).
Candle 3: another bullish or neutral candle.
The gap appears between the high of Candle 1 and the low of Candle 3.
That area often acts as a “magnet” later — price may return to “fill” it before resuming trend direction.
For bearish FVG, it’s the opposite:
The gap forms between the low of Candle 1 and the high of Candle 3 in a strong move down.
2. How an Indicator Detects FVGs
Most FVG indicators (such as in TradingView’s Pine Script) look for the 3-candle structure:
Bullish FVG condition:
Candle1.high < Candle3.low
Bearish FVG condition:
Candle1.low > Candle3.high
When this happens, the indicator shades or boxes that range (the gap) between those levels.
Many indicators will:
Highlight the area between the gap lines.
Delete the zone once it’s “filled” (price touches it again).
Allow customization (colors, timeframe, expiry logic, etc.)
3. Marking Strong FVG Zones
Not every FVG is equal — some are much stronger. “Strong zones” are usually defined by confluence and context.
Here’s how you can identify stronger ones:
A. Volume or Impulse Strength
Strong zones usually come after a powerful displacement candle — large body, small wicks, and maybe a volume spike.
That shows genuine institutional activity.
B. Higher Timeframe Origin
FVGs formed on H1, H4, or Daily charts carry more weight than those on M5 or M15.
C. Market Structure
Zones that align with:
Break of structure (BOS)
Order block origin are generally more reliable.
D. Unfilled Gaps
If the FVG has not been rebalanced yet, it’s still valid. Once price trades fully into that gap, it’s “filled” and loses power.
E. Multiple confluences
Combine FVG zones with:
Fibonacci retracement (e.g., gap within 50–61.8%)
Key support/resistance levels
Liquidity zones (equal highs/lows nearby)
It’s a 3-candle pattern showing inefficiency.
Here’s the visual logic (assuming a bullish FVG):
Candle 1: a bearish or minor candle.
Candle 2: a large bullish candle (impulsive move).
Candle 3: another bullish or neutral candle.
The gap appears between the high of Candle 1 and the low of Candle 3.
That area often acts as a “magnet” later — price may return to “fill” it before resuming trend direction.
For bearish FVG, it’s the opposite:
The gap forms between the low of Candle 1 and the high of Candle 3 in a strong move down.
2. How an Indicator Detects FVGs
Most FVG indicators (such as in TradingView’s Pine Script) look for the 3-candle structure:
Bullish FVG condition:
Candle1.high < Candle3.low
Bearish FVG condition:
Candle1.low > Candle3.high
When this happens, the indicator shades or boxes that range (the gap) between those levels.
Many indicators will:
Highlight the area between the gap lines.
Delete the zone once it’s “filled” (price touches it again).
Allow customization (colors, timeframe, expiry logic, etc.)
3. Marking Strong FVG Zones
Not every FVG is equal — some are much stronger. “Strong zones” are usually defined by confluence and context.
Here’s how you can identify stronger ones:
A. Volume or Impulse Strength
Strong zones usually come after a powerful displacement candle — large body, small wicks, and maybe a volume spike.
That shows genuine institutional activity.
B. Higher Timeframe Origin
FVGs formed on H1, H4, or Daily charts carry more weight than those on M5 or M15.
C. Market Structure
Zones that align with:
Break of structure (BOS)
Order block origin are generally more reliable.
D. Unfilled Gaps
If the FVG has not been rebalanced yet, it’s still valid. Once price trades fully into that gap, it’s “filled” and loses power.
E. Multiple confluences
Combine FVG zones with:
Fibonacci retracement (e.g., gap within 50–61.8%)
Key support/resistance levels
Liquidity zones (equal highs/lows nearby)
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.