OPEN-SOURCE SCRIPT
FVG (stormbey)

📊 Overview
This indicator automatically detects and displays Fair Value Gaps (FVG) across multiple timeframes simultaneously on a single chart. FVGs are imbalances in price action that often act as support/resistance zones where price tends to return.
🎯 Key Features
• Multi-Timeframe Analysis: Monitor up to 5 different timeframes at once (Chart, 15m, 1H, 4H, Daily)
• Smart Timeframe Filtering: Automatically hides FVGs from lower timeframes than your current chart (e.g., on Daily chart, only Daily FVGs are shown)
• Inverse FVG Detection (iFVG): Optionally display inverse FVGs when original gaps are filled
• Customizable Labels: Labels displayed inside boxes showing timeframe origin
• Auto-Delete on Fill: Boxes automatically removed when price fills the gap
• Flexible Fill Detection: Choose between Close or Wick-based fill detection
⚙️ Settings
TIMEFRAMES
- Enable/disable each of the 5 timeframes independently
- Default: Chart, 15m, 1H, 4H, Daily
FVG SETTINGS
- Wait for candle close to identify FVGs
- Hide FVGs lower than current chart timeframe
- Show/Hide regular FVG and inverse FVG (iFVG)
- Filled FVG Type: Close, Wick, or None
- Max bars back to search for FVGs
LABEL SETTINGS
- Show/Hide labels
- Customize label text for each timeframe
- Label distance adjustment for extended boxes
BOX SETTINGS
- Delete boxes after fill
- Extend boxes to current bar
- Adjustable box length
- Separate colors for Bullish/Bearish FVG and iFVG
BORDER SETTINGS
- Border style: Solid, Dashed, Dotted, None
- Border width customization
- Separate border colors for FVG and iFVG
📈 How to Use
1. Add the indicator to your chart
2. Enable the timeframes you want to monitor
3. FVG boxes will automatically appear showing imbalances
4. Green boxes = Bullish FVG (potential support)
5. Red boxes = Bearish FVG (potential resistance)
6. Use these zones for potential entry/exit points
💡 Trading Tips
- Higher timeframe FVGs are generally more significant
- FVGs often get "filled" before price continues in the original direction
- Combine with other confluence factors (S/R levels, order blocks, trend)
- Use iFVG feature to spot when gaps flip from support to resistance (or vice versa)
⚠️ Disclaimer
This indicator is for educational purposes only. Always do your own research and use proper risk management. Past performance does not guarantee future results.
---
If you find this indicator helpful, please leave a like and follow for more trading tools!
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน