OPEN-SOURCE SCRIPT
Cập nhật FVG 3 Candle Detector with Liqui Levels

# FVG 3 Candle Detector with Liqui Levels - TradingView Description
---
## 🇬🇧 ENGLISH
### Short Description
Detects Fair Value Gaps (FVGs) after Liquidity Sweeps on multiple timeframes. Combines ICT concepts with Smart Money trading strategies.
### Full Description
**FVG 3 Candle Detector with Liqui Levels** automatically identifies high-probability trading setups by detecting Swing Highs/Lows across three customizable timeframes and drawing Fair Value Gaps after liquidity breaks.
#### 🎯 Key Features
**Multi-Timeframe Swing Detection**
- Real 3-candle swing formation detection (pivot surrounded by lower highs / higher lows)
- Three fully customizable timeframes (default: 5min, 15min, 60min)
- Automatic timeframe hierarchy: higher timeframe always takes priority
**Smart FVG Detection**
- Only draws FVGs in the correct direction after a liquidity sweep
- After High Break → Only bearish FVGs
- After Low Break → Only bullish FVGs
- Customizable number of FVGs per timeframe
**Visual Clarity**
- Color-coded by timeframe (default: Blue/Green/Orange)
- Lines extend until broken by price
- Mitigated levels shown transparently
#### ⚙️ Settings
- **Timeframes:** Freely selectable (e.g., 1min, 5min, 15min, 1H, 4H)
- **Colors:** Customizable per timeframe
- **FVG Count:** Set how many FVGs to draw after each break
- **Mitigation:** Choose between Wick or Close
#### 📈 Best Used On
- Lower timeframes (30s, 1min) for precise entries
- Works on all instruments (Forex, Crypto, Stocks, Futures)
#### 💡 Trading Logic
1. Wait for a swing level to be swept (liquidity grab)
2. Look for FVG formation in the opposite direction
3. Enter on FVG for reversal trade
---
---
## 🇬🇧 ENGLISH
### Short Description
Detects Fair Value Gaps (FVGs) after Liquidity Sweeps on multiple timeframes. Combines ICT concepts with Smart Money trading strategies.
### Full Description
**FVG 3 Candle Detector with Liqui Levels** automatically identifies high-probability trading setups by detecting Swing Highs/Lows across three customizable timeframes and drawing Fair Value Gaps after liquidity breaks.
#### 🎯 Key Features
**Multi-Timeframe Swing Detection**
- Real 3-candle swing formation detection (pivot surrounded by lower highs / higher lows)
- Three fully customizable timeframes (default: 5min, 15min, 60min)
- Automatic timeframe hierarchy: higher timeframe always takes priority
**Smart FVG Detection**
- Only draws FVGs in the correct direction after a liquidity sweep
- After High Break → Only bearish FVGs
- After Low Break → Only bullish FVGs
- Customizable number of FVGs per timeframe
**Visual Clarity**
- Color-coded by timeframe (default: Blue/Green/Orange)
- Lines extend until broken by price
- Mitigated levels shown transparently
#### ⚙️ Settings
- **Timeframes:** Freely selectable (e.g., 1min, 5min, 15min, 1H, 4H)
- **Colors:** Customizable per timeframe
- **FVG Count:** Set how many FVGs to draw after each break
- **Mitigation:** Choose between Wick or Close
#### 📈 Best Used On
- Lower timeframes (30s, 1min) for precise entries
- Works on all instruments (Forex, Crypto, Stocks, Futures)
#### 💡 Trading Logic
1. Wait for a swing level to be swept (liquidity grab)
2. Look for FVG formation in the opposite direction
3. Enter on FVG for reversal trade
---
Phát hành các Ghi chú
...small updateMã 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.