OPEN-SOURCE SCRIPT
Fair Value Gap[jackieee]

Description
This indicator detects Bullish and Bearish Fair Value Gaps (FVGs) and displays them directly on the chart. It can be used to highlight imbalance zones, track whether a gap remains open, and monitor when it gets mitigated.
Features
Detects both bullish and bearish FVGs
Supports a custom threshold filter or auto threshold
Can scan FVGs from a selected higher timeframe
Offers extended or dynamic gap display
Option to show unmitigated levels
Option to mark mitigation levels
Includes a small dashboard with bullish/bearish counts and mitigation statistics
Built-in alert conditions for new FVGs and mitigations
Usage
This tool is designed for traders who use price imbalances as part of their market structure analysis. It can help identify potential reaction zones, continuation areas, and locations where price may return to rebalance before moving again.
This indicator detects Bullish and Bearish Fair Value Gaps (FVGs) and displays them directly on the chart. It can be used to highlight imbalance zones, track whether a gap remains open, and monitor when it gets mitigated.
Features
Detects both bullish and bearish FVGs
Supports a custom threshold filter or auto threshold
Can scan FVGs from a selected higher timeframe
Offers extended or dynamic gap display
Option to show unmitigated levels
Option to mark mitigation levels
Includes a small dashboard with bullish/bearish counts and mitigation statistics
Built-in alert conditions for new FVGs and mitigations
Usage
This tool is designed for traders who use price imbalances as part of their market structure analysis. It can help identify potential reaction zones, continuation areas, and locations where price may return to rebalance before moving again.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.