OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.