OPEN-SOURCE SCRIPT
FVG Single TF - Light

🚀 FVG Single TF - Light (Smart Money Concepts)
This indicator is a streamlined, high-performance solution for automatically detecting Fair Value Gaps (FVG) on your current timeframe. It is designed to keep your charts clean while highlighting the most critical liquidity zones and price inefficiencies.
🔹 What is a Fair Value Gap (FVG)?
An FVG occurs during impulsive market moves where an imbalance is created between the wicks of the 1st and 3rd candle in a 3-candle sequence. These zones often act as price magnets (rebalancing) and provide high-probability entry points when the market returns to "fill the gap."
🛠 Key Features
✅ Real-Time Detection: Instantly identifies Bullish and Bearish FVGs as they form.
✅ Intelligent Mitigation: Automatically detects when a zone has been "tested" by price and dims the color (Grey) to show it is no longer fresh.
✅ Break-Detection Logic: Unique logic that tracks if price actually closes beyond a zone. You can choose to auto-delete broken zones to keep your chart clutter-free.
✅ Customizable Visualization: Full control over colors, borders, and label designs to match any chart theme (Dark/Light).
✅ Lightweight & Fast: Optimized using Pine Script V5 Arrays to ensure zero lag, even on lower timeframes.
⚙️ Settings Explained
Zone via Wicks: Toggle between drawing the zone from high/low wicks or candle bodies.
Max Active FVGs: Limit the number of boxes on your screen to maintain performance.
Mitigation Management: Choose whether to keep "broken" zones on the chart or have them disappear once the price closes through them.
Label Design: Adjustable text size, vertical padding, and bar offsets for the "FVG" tags.
💡 Trading Strategy Tip
For best results, use this indicator in confluence with Market Structure (MS/BOS). An FVG created following a Break of Structure often serves as a primary "Point of Interest" (POI) for a trend continuation.
This indicator is a streamlined, high-performance solution for automatically detecting Fair Value Gaps (FVG) on your current timeframe. It is designed to keep your charts clean while highlighting the most critical liquidity zones and price inefficiencies.
🔹 What is a Fair Value Gap (FVG)?
An FVG occurs during impulsive market moves where an imbalance is created between the wicks of the 1st and 3rd candle in a 3-candle sequence. These zones often act as price magnets (rebalancing) and provide high-probability entry points when the market returns to "fill the gap."
🛠 Key Features
✅ Real-Time Detection: Instantly identifies Bullish and Bearish FVGs as they form.
✅ Intelligent Mitigation: Automatically detects when a zone has been "tested" by price and dims the color (Grey) to show it is no longer fresh.
✅ Break-Detection Logic: Unique logic that tracks if price actually closes beyond a zone. You can choose to auto-delete broken zones to keep your chart clutter-free.
✅ Customizable Visualization: Full control over colors, borders, and label designs to match any chart theme (Dark/Light).
✅ Lightweight & Fast: Optimized using Pine Script V5 Arrays to ensure zero lag, even on lower timeframes.
⚙️ Settings Explained
Zone via Wicks: Toggle between drawing the zone from high/low wicks or candle bodies.
Max Active FVGs: Limit the number of boxes on your screen to maintain performance.
Mitigation Management: Choose whether to keep "broken" zones on the chart or have them disappear once the price closes through them.
Label Design: Adjustable text size, vertical padding, and bar offsets for the "FVG" tags.
💡 Trading Strategy Tip
For best results, use this indicator in confluence with Market Structure (MS/BOS). An FVG created following a Break of Structure often serves as a primary "Point of Interest" (POI) for a trend continuation.
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.