PROTECTED SOURCE SCRIPT
Fair Value Gaps (Custom)

Fair Value Gaps (FVG) - Custom
A comprehensive Fair Value Gap indicator designed for futures traders, offering multi-timeframe analysis with full customization of colors, opacity, and visual elements per timeframe.
What are Fair Value Gaps?
Fair Value Gaps (FVGs) are three-candle patterns where a gap exists between the high of the first candle and the low of the third candle (bullish) or between the low of the first candle and the high of the third candle (bearish). These imbalances often act as support/resistance zones where price tends to return.
Key Features
Multi-Timeframe Support
5 independent timeframe slots
View higher timeframe FVGs on lower timeframe charts
Each timeframe has its own color, opacity, label, and midline settings
Flexible Fill Methods
Any Touch — FVG filled when price touches the zone
Midpoint Reached — FVG filled when price reaches 50% of the zone
Wick Sweep — FVG filled when wick passes through entire zone
Body Beyond — FVG filled when candle body closes beyond the zone
Visual Customization
Per-timeframe color AND opacity control via color picker
Optional midline display per timeframe
Customizable labels with fill percentage display
Optional borders with style/width settings
Boxes can extend to chart edge or fixed bar length
Dashboard & Alerts
Real-time FVG count dashboard (Bull/Bear above/below price)
Alert conditions: Price enters FVG, Midline cross, New FVG formed, FVG filled
Recommended Settings for ES/NQ Futures
Min Gap Size: 8 ticks (2 points)
Fill Method: Body Beyond (most conservative)
Default Opacity: 10% (adjust per timeframe as needed)
Usage Tips
Use higher timeframe FVGs as key support/resistance zones
Watch for confluence when multiple timeframe FVGs overlap
Midline often acts as the first target/reaction point
Combine with other confluence factors (order blocks, volume, etc.)
A comprehensive Fair Value Gap indicator designed for futures traders, offering multi-timeframe analysis with full customization of colors, opacity, and visual elements per timeframe.
What are Fair Value Gaps?
Fair Value Gaps (FVGs) are three-candle patterns where a gap exists between the high of the first candle and the low of the third candle (bullish) or between the low of the first candle and the high of the third candle (bearish). These imbalances often act as support/resistance zones where price tends to return.
Key Features
Multi-Timeframe Support
5 independent timeframe slots
View higher timeframe FVGs on lower timeframe charts
Each timeframe has its own color, opacity, label, and midline settings
Flexible Fill Methods
Any Touch — FVG filled when price touches the zone
Midpoint Reached — FVG filled when price reaches 50% of the zone
Wick Sweep — FVG filled when wick passes through entire zone
Body Beyond — FVG filled when candle body closes beyond the zone
Visual Customization
Per-timeframe color AND opacity control via color picker
Optional midline display per timeframe
Customizable labels with fill percentage display
Optional borders with style/width settings
Boxes can extend to chart edge or fixed bar length
Dashboard & Alerts
Real-time FVG count dashboard (Bull/Bear above/below price)
Alert conditions: Price enters FVG, Midline cross, New FVG formed, FVG filled
Recommended Settings for ES/NQ Futures
Min Gap Size: 8 ticks (2 points)
Fill Method: Body Beyond (most conservative)
Default Opacity: 10% (adjust per timeframe as needed)
Usage Tips
Use higher timeframe FVGs as key support/resistance zones
Watch for confluence when multiple timeframe FVGs overlap
Midline often acts as the first target/reaction point
Combine with other confluence factors (order blocks, volume, etc.)
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.