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. Подробнее читайте в Условиях использования.