OPEN-SOURCE SCRIPT
Fair Value Gap [Tradeuminati]

Fair Value Gap [Tradeuminati]
Fair Value Gap [Tradeuminati] is a clean and rule-based Fair Value Gap indicator for TradingView, designed to display only valid and confirmed Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (iFVGs).
The indicator is built on a strict 3-candle FVG definition and operates exclusively on candle close, ensuring no repainting and no premature signals.
🔹 Key Features
Valid Fair Value Gaps (FVG)
- Detects bullish and bearish Fair Value Gaps using a precise 3-candle structure
- FVGs are only plotted after the confirming candle has closed
- A Fair Value Gap remains visible only as long as it is valid
- Once price closes beyond the FVG, it is removed or converted
Inverted Fair Value Gaps (iFVG)
- When a valid FVG is invalidated by a candle close, it can be converted into an iFVG
- iFVGs retain the original price range and structure
- Only valid iFVGs are displayed
- As soon as price closes through an iFVG, it is automatically removed
Clean & Controlled Visualization
- Only the last N active FVGs are displayed (bullish + bearish combined)
- Only the last N valid iFVGs are shown
- Boxes automatically extend to the current price + configurable bars
- Labels are dynamically positioned at the right edge of each zone
🔹 Technical Notes
- No repainting
- No intrabar signals
- Close-based validation only
- Works on all markets and timeframes
- Lightweight and performance-friendly
⚠️ Disclaimer
This indicator is for technical analysis purposes only and does not constitute trading or investment advice.
Fair Value Gap [Tradeuminati] is a clean and rule-based Fair Value Gap indicator for TradingView, designed to display only valid and confirmed Fair Value Gaps (FVGs) and Inverted Fair Value Gaps (iFVGs).
The indicator is built on a strict 3-candle FVG definition and operates exclusively on candle close, ensuring no repainting and no premature signals.
🔹 Key Features
Valid Fair Value Gaps (FVG)
- Detects bullish and bearish Fair Value Gaps using a precise 3-candle structure
- FVGs are only plotted after the confirming candle has closed
- A Fair Value Gap remains visible only as long as it is valid
- Once price closes beyond the FVG, it is removed or converted
Inverted Fair Value Gaps (iFVG)
- When a valid FVG is invalidated by a candle close, it can be converted into an iFVG
- iFVGs retain the original price range and structure
- Only valid iFVGs are displayed
- As soon as price closes through an iFVG, it is automatically removed
Clean & Controlled Visualization
- Only the last N active FVGs are displayed (bullish + bearish combined)
- Only the last N valid iFVGs are shown
- Boxes automatically extend to the current price + configurable bars
- Labels are dynamically positioned at the right edge of each zone
🔹 Technical Notes
- No repainting
- No intrabar signals
- Close-based validation only
- Works on all markets and timeframes
- Lightweight and performance-friendly
⚠️ Disclaimer
This indicator is for technical analysis purposes only and does not constitute trading or investment advice.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน