OPEN-SOURCE SCRIPT
Cập nhật FVG | iSolani

Unveiling Market Inefficiencies with Precision
In fast-moving markets, spotting hidden opportunities often hinges on identifying imbalances between price and value. The FVG | iSolani indicator revolutionises this process by detecting Fair Value Gaps (FVGs)—zones where price action skips over "fair" valuation levels, creating potential retracement targets. Combining advanced filtering, dynamic visualisation, and automated management, this tool empowers traders to pinpoint high-probability setups with unprecedented clarity.
Core Methodology
The indicator employs a multi-layered approach to identify FVGs:
- Three-Bar Gap Analysis: Bullish FVGs form when the current low exceeds the high of two bars prior, while bearish FVGs occur when the current high stays below the low of two bars back.
- Volatility-Adjusted Filtering: Gaps are measured against a 100-bar standard deviation to exclude insignificant price jumps.
- Volume Confirmation: Only gaps accompanied by above-average volume (relative to a 1-bar SMA) are validated, filtering out low-conviction moves.
- Auto-Invalidation System: Continuously monitors price action to remove FVG zones once price closes within their range, maintaining chart cleanliness.
Breaking New Ground
This tool introduces three paradigm-shifting innovations:
- Volume-Weighted Significance: Unlike traditional FVG detectors, it ties gap validity to volume spikes, emphasising institutional activity.
- Adaptive Zone Management: Boxes automatically extend rightward (when enabled) and self-destruct when invalidated, eliminating manual cleanup.
- Smart Color Encoding: Offers both monochrome (for multi-timeframe analysis) and standard bull/bear color schemes, with customisable transparency.
Engine Under the Hood
The script operates through four key processes:
- Gap Detection: Scans every new bar for three-candle patterns meeting FVG criteria.
- Statistical Filtering: Applies user-defined threshold (default: 1σ) to separate meaningful gaps from market noise.
- Box Rendering: Draws semi-transparent zones between gap boundaries using TradingView's box objects, styled according to user preferences.
- Array-Based Memory: Stores all active FVGs in arrays, enabling real-time validation checks against current price action.
Standard Configuration
Optimised default settings balance visibility and functionality:
- Filter: 1.0 (1 standard deviation threshold)
- Colors: "Mono" mode (gray boxes) with 90% transparency
- Text Labels: Enabled in medium gray
- Extension: Gaps extend indefinitely rightward
- Borders: Dotted lines with visible outlines
Through its fusion of quantitative rigor and visual adaptability, the FVG | iSolani transforms raw price data into actionable intelligence. By focusing on volume-confirmed gaps and automating zone management, it cuts through market chaos to reveal structurally significant levels—a must-have for traders navigating breakouts, reversals, or order-flow analysis.
Phát hành các Ghi chú
Update!Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Get instant access at quantura.io/
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Get instant access at quantura.io/
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.