OPEN-SOURCE SCRIPT
Обновлено FVG Atlas

FVG Atlas — Multi-Timeframe Gap Mapping
FVG Atlas maps Fair Value Gaps across up to four timeframe layers, helping you see nearby zones, overlapping imbalances, and how price interacts with them.
Designed around a clean 1-minute NQ workflow, its timeframes, filters, and display settings are adjustable for other charts.
Features
How gaps are tracked
A bullish FVG forms when candle 3’s low is above candle 1’s high. A bearish FVG uses the opposite relationship.
Choose when a zone retires: first touch, midpoint reached, full wick penetration, or a confirmed chart close at or beyond its far edge. Invalidation and complete filling are tracked separately.
Live mode displays developing gaps that can change or disappear. Confirmation is processed when the next candle of that timeframe begins, so session breaks can delay confirmation. Higher-timeframe candles are assembled from chart data.
Reading the signals
Third-candle classifications describe formation behavior; they do not predict continuation or a fill.
Rejection triangles mark price touching a confirmed zone and subsequently closing back outside its near edge within the configured window. They represent observed reactions, not buy/sell instructions.
The dashboard reports detected zones, active records, invalidation statistics, and completed first-touch reactions. These are descriptive statistics—not strategy win rates.
Customization
Adjust minimum gap size, timeframe layers, drawing lookback, Focus limits, session hours, labels, colors, and alerts. Drawing and record limits keep the display manageable. Session labels use a configurable clock window rather than an exchange holiday calendar.
For alerts, enable the desired events in settings and create a TradingView alert using “Any alert() function call.”
FVG Atlas maps Fair Value Gaps across up to four timeframe layers, helping you see nearby zones, overlapping imbalances, and how price interacts with them.
Designed around a clean 1-minute NQ workflow, its timeframes, filters, and display settings are adjustable for other charts.
Features
- Multi-timeframe FVGs: Track bullish and bearish gaps with independent colors and invalidation rules for each layer.
- Focus mode: Display nearby zones while hidden records continue tracking fills, reactions, and statistics.
- 50% midpoint: Show consequent encroachment and emphasize it once reached.
- Origin markers: Retain a small outline where an invalidated FVG originally formed.
- BPR and confluence: Highlight opposing-gap overlaps within a layer and overlapping FVGs across distinct timeframes.
- Session labels: Identify gaps formed during your configured regular-session window or outside it.
- Nearest-gap panel: Show the distance in points to the closest active bullish and bearish FVG.
- Third-candle classification: Describe confirmed FVG formation as Expansion, Inside, Opposing, or Neutral.
- First-touch reactions: Mark confirmed rejections and provide hover details identifying the contributing zones.
- Optional tools: Volume Imbalances, Opening Gaps, inverse FVGs, formation grading, and configurable lifecycle alerts.
How gaps are tracked
A bullish FVG forms when candle 3’s low is above candle 1’s high. A bearish FVG uses the opposite relationship.
Choose when a zone retires: first touch, midpoint reached, full wick penetration, or a confirmed chart close at or beyond its far edge. Invalidation and complete filling are tracked separately.
Live mode displays developing gaps that can change or disappear. Confirmation is processed when the next candle of that timeframe begins, so session breaks can delay confirmation. Higher-timeframe candles are assembled from chart data.
Reading the signals
Third-candle classifications describe formation behavior; they do not predict continuation or a fill.
Rejection triangles mark price touching a confirmed zone and subsequently closing back outside its near edge within the configured window. They represent observed reactions, not buy/sell instructions.
The dashboard reports detected zones, active records, invalidation statistics, and completed first-touch reactions. These are descriptive statistics—not strategy win rates.
Customization
Adjust minimum gap size, timeframe layers, drawing lookback, Focus limits, session hours, labels, colors, and alerts. Drawing and record limits keep the display manageable. Session labels use a configurable clock window rather than an exchange holiday calendar.
For alerts, enable the desired events in settings and create a TradingView alert using “Any alert() function call.”
Информация о релизе
Update - Live Previews: Chart TF OnlyNew setting under Detection: "Live Previews: Chart TF Only" (default off).
When enabled, forming (dashed) FVG previews are drawn only for strata whose effective timeframe matches the chart timeframe. Higher-timeframe strata wait for the completed three-candle pattern before drawing, exactly as they do in On Bar Close mode. This removes the shrinking and disappearing HTF preview boxes while keeping live previews on the chart timeframe.
Notes
- A stratum set to Chart, one set to the same timeframe as the chart, or one that fell back to the chart all keep live previews.
- No effect when Detect Zones is On Bar Close.
- Confirmed zones, statistics, alerts, BPR and confluence are unchanged. Only the preview stage differs.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.