OPEN-SOURCE SCRIPT
已更新 Fair Value Gap (FVG) Detector — ICT SMC Based

This is an open-source Fair Value Gap (FVG) indicator, based on the principles taught in ICT (Inner Circle Trader) and Smart Money Concepts (SMC). It identifies imbalances or inefficiencies in price action where the body/wick of the middle candle in a three-candle formation does not overlap with the first and third candles.
🔹 What is an FVG?
An FVG is formed when there is a price imbalance, typically between three consecutive candles:
A bullish FVG forms when the low of candle 1 is above the high of candle 3.
A bearish FVG forms when the high of candle 1 is below the low of candle 3.
These gaps are believed to represent areas of institutional activity and are often used as potential entries, targets, or reaction zones.
🔹 Features:
Detects both bullish and bearish FVGs
Clean chart visuals using colored boxes
Adjustable box opacity and text alignment
Option to show or hide filled FVGs
Optional filter to only display gaps above a minimum size (e.g., 100 points)
Multi-timeframe support (if enabled in script settings)
Box label customization (text alignment: center/left/right)
🔹 How to Use:
Use the indicator on any timeframe or instrument
Larger gaps may indicate stronger price inefficiencies
Combine with market structure, liquidity zones, or order blocks for confirmation
This version is open-source, so traders can view and adapt the logic as needed.
The indicator is designed for transparency, education, and clarity of Smart Money Concepts.
🔹 What is an FVG?
An FVG is formed when there is a price imbalance, typically between three consecutive candles:
A bullish FVG forms when the low of candle 1 is above the high of candle 3.
A bearish FVG forms when the high of candle 1 is below the low of candle 3.
These gaps are believed to represent areas of institutional activity and are often used as potential entries, targets, or reaction zones.
🔹 Features:
Detects both bullish and bearish FVGs
Clean chart visuals using colored boxes
Adjustable box opacity and text alignment
Option to show or hide filled FVGs
Optional filter to only display gaps above a minimum size (e.g., 100 points)
Multi-timeframe support (if enabled in script settings)
Box label customization (text alignment: center/left/right)
🔹 How to Use:
Use the indicator on any timeframe or instrument
Larger gaps may indicate stronger price inefficiencies
Combine with market structure, liquidity zones, or order blocks for confirmation
This version is open-source, so traders can view and adapt the logic as needed.
The indicator is designed for transparency, education, and clarity of Smart Money Concepts.
發行說明
This is an open-source Fair Value Gap (FVG) indicator, based on the principles taught in ICT (Inner Circle Trader) and Smart Money Concepts (SMC). It identifies imbalances or inefficiencies in price action where the body/wick of the middle candle in a three-candle formation does not overlap with the first and third candles.🔹 What is an FVG?
An FVG is formed when there is a price imbalance, typically between three consecutive candles:
A bullish FVG forms when the low of candle 1 is above the high of candle 3.
A bearish FVG forms when the high of candle 1 is below the low of candle 3.
These gaps are believed to represent areas of institutional activity and are often used as potential entries, targets, or reaction zones.
🔹 Features:
Detects both bullish and bearish FVGs
Clean chart visuals using colored boxes
Adjustable box opacity and text alignment
Option to show or hide filled FVGs
Optional filter to only display gaps above a minimum size (e.g., 100 points)
Multi-timeframe support (if enabled in script settings)
Box label customization (text alignment: center/left/right)
🔹 How to Use:
Use the indicator on any timeframe or instrument
Larger gaps may indicate stronger price inefficiencies
Combine with market structure, liquidity zones, or order blocks for confirmation
This version is open-source, so traders can view and adapt the logic as needed.
The indicator is designed for transparency, education, and clarity of Smart Money Concepts.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。