ที่อัปเดต:
Smart Gap Concepts Pro [MarkitTick]

💡 Price gaps are among the most consistently misunderstood phenomena in technical analysis. They appear routinely on charts yet most traders treat them as statistical noise — anomalies to be ignored or avoided rather than structural events to be decoded. Smart Gap Concepts Pro exists to correct that misunderstanding. This indicator transforms raw gap data into a fully classified, multi-layered analytical framework, distinguishing between gaps that signal the beginning of a trend, those that confirm its continuation, those that mark its midpoint acceleration, and those that warn of its exhaustion — all in real time, across multiple timeframes, and enriched with a suite of supplementary tools that no single gap-detection tool currently offers in a unified form. It is built for traders who understand that where price jumps matters less than why it jumps, and who need a system capable of answering that question with precision on every bar of every session.
✨ Originality and Utility
● Beyond Binary Gap Detection
Most gap-detection tools on the market operate on a single binary principle: a gap exists, or it does not. Smart Gap Concepts Pro rejects this primitive framing entirely. Every detected gap passes through a multi-criteria evaluation that weighs price structure, volume conditions, trend maturity, directional bias, and session context simultaneously before it is classified. The result is a four-tier taxonomy that gives each gap a meaningful identity rather than a mere existence flag.
● Unified Gap Ecosystem in One Tool
What typically requires three or four separate indicators — gap detection, structure analysis, multi-timeframe overlay, and session filtering — is unified here into a single, cohesive system. The indicator tracks current-timeframe gaps, higher-timeframe gaps, Japanese candlestick window gaps (both rising and falling), and Island Reversal patterns, all within the same visual canvas and managed through a shared state architecture. No cross-indicator synchronization is required. No conflicting signals from separate tools. One indicator, one complete picture.
● Proprietary Scoring and Probability Engine
Each gap on the chart is not merely drawn and forgotten. The indicator continuously evaluates every active gap zone using a dynamic scoring system that accounts for price proximity, zone age, and the number of times price has interacted with the zone. This scoring converts gap zones from static annotations into living probability fields, updated bar by bar, expressing the likelihood that price will return to each zone. This transforms the indicator from a detection tool into a forward-looking decision support system.
● Structural Context Through Trend Bias
An optional cross-gap trend bias engine synthesizes structural market direction, gap population data, and price positioning relative to active zones into a single composite bias score. This score, displayed as a directional arrow and percentage, gives traders an at-a-glance read of whether the current gap landscape supports bullish or bearish continuation — without requiring the user to manually interpret the relationship between structure and gap distribution.
● Mirror Gap Symmetry Detection
The indicator includes a proprietary symmetry detection engine that identifies when a newly formed gap mirrors a prior gap of opposite direction in both size and price proximity. These Mirror Gap pairings highlight zones of structural tension where the market has expressed opposing imbalances of nearly identical magnitude, a configuration that carries significant confluence weight in price action and auction market analysis.
● Tiered Alert Architecture
Alerts are not binary. The indicator classifies each gap signal into one of three priority tiers — A, B, or C — based on a confluence scoring model that considers gap type, structural alignment, session open price interaction, volume conditions, and higher-timeframe echo presence. Tier A alerts represent the highest-confidence setups; Tier C alerts flag standard detections. All alerts are delivered via structured JSON webhook payloads for seamless integration with external automation systems.
🔬 Methodology and Concepts

● Gap Classification Framework
Structural Breakaway Gap (SBG) — A gap that forms simultaneously with a confirmed break of a prior structural pivot level, representing the transition from one market phase to another. An SBG occurring after a period of bearish structure signals a potential shift in auction control. An SBG emerging from a bullish structure signals potential continuation of the dominant regime. The SBG is distinguished from all other gap types by the presence of a structural pivot violation — without that structural event, the gap cannot receive this classification. The distinction between a breakaway associated with a Change of Character versus one aligned with a Break of Structure is preserved and displayed separately, giving traders the ability to distinguish between counter-trend reversals and trend-following entries.
Structural Continuation Gap (SCG) — A gap that forms in alignment with the prevailing structural bias and coincides with a structural confirmation event. Where the Structural Breakaway Gap marks the initiation of a new phase, the Structural Continuation Gap confirms that the market has accepted the new regime and is expanding the move. Traders seeking to add to existing positions in the direction of structure will find the SCG a reliable entry context.
Runaway Gap (RA) — A gap that forms in a trending environment without satisfying the criteria for structural classification or exhaustion. Often appearing at the midpoint of a trend leg, runaway gaps reflect unchallenged directional momentum. They are the most common gap type in strongly trending markets and represent zones where price moved so rapidly that no meaningful resistance or support was established. The indicator identifies these zones and tracks them as high-probability retest targets.
Exhaustion Gap (EX) — A gap that forms in a market that has demonstrated elevated volume conditions and has been trending for an extended period relative to the most recent structural anchor. Exhaustion gaps typically appear near the terminal phase of a trend leg and are associated with climactic price behavior — a final burst of directional energy before the market reverses or enters a consolidation phase. The indicator surfaces exhaustion gap conditions through the joint evaluation of volume intensity and trend duration, without disclosing the specific thresholds or calculation method used.
● Window Gap Classification
Rising Window (RW) — Derived from Japanese candlestick methodology, a Rising Window occurs when the low of the current bar exceeds the high of the prior bar, leaving an uncontested price range that acts as potential support on any pullback. The indicator tracks all rising window formations, computes their midpoint levels, and scores them continuously for revisitation probability. Rising windows that overlap with existing classified gaps are detected and flagged accordingly, elevating their analytical weight.
Falling Window (FW) — The bearish counterpart to the Rising Window. A Falling Window forms when the high of the current bar falls below the low of the prior bar. These zones act as potential resistance on any recovery. Like Rising Windows, they are tracked, scored, and managed across the life of the chart.
● Island Reversal Pattern
The indicator incorporates a dedicated Island Reversal detection engine operating in parallel with the primary gap classification system. An Island Reversal forms when a price cluster becomes isolated between two gaps of opposite direction — a gap up that separates a cluster from prior price action, followed by a gap down that closes the island. The reverse configuration (gap down, isolation, gap up) produces a bullish Island Bottom. This pattern carries significant reversal weight and is confirmed only when specific volume conditions are met on both the opening and closing gap events, ensuring that low-quality pattern matches are filtered out.
● Gap Magnet Probability Scores
Every active gap zone carries a continuous probability score displayed directly on the chart. The score reflects three inputs: how close current price is to the zone's midpoint, how old the zone is relative to the chart history, and how many times price has interacted with the zone's boundaries. These inputs are blended into a single percentage figure rendered in a color that shifts from red through amber to teal as the score increases. A high score indicates a zone with strong revisitation likelihood based on current conditions; a low score flags a zone that may be becoming irrelevant. Scores update on every bar.
● Gap Cluster Heatmap
The integrated heatmap sub-panel within the dashboard aggregates all active gap levels — current-timeframe gaps, window gaps, higher-timeframe gaps, and session open price levels — into a price-binned density map. Each bin represents a price range, and the count of gap-derived levels falling within that range is visualized as a filled bar. Bins with the highest concentration of overlapping levels are highlighted at full intensity; sparse bins appear at reduced intensity. The bin corresponding to the current price is highlighted to orient the user within the density distribution. "Super Magnet Zones" identified by the heatmap represent price areas where multiple independent gap events have produced overlapping levels — the most significant areas of potential price attraction on the chart.
● Multi-Timeframe Gap Overlay
When the higher-timeframe gap overlay is enabled, the indicator requests classified gap data from a user-selected higher timeframe and renders those zones on the current chart using dashed-border boxes. Higher-timeframe gaps are distinguished from current-timeframe gaps visually to prevent ambiguity. Only confirmed higher-timeframe gap events are displayed — the rendering logic ensures that intra-period, unconfirmed data is never used, maintaining the integrity of the overlay across all chart configurations.
● Session Open Price Tracker (IPO Lines)
The indicator can track and display the opening price of the Asia, London, and New York trading sessions as dynamic horizontal lines that extend forward in time from the moment of each session's opening bell. These lines expire automatically after a user-defined number of bars. When a session opening price falls within the range of any active gap zone, the affected gap box is visually marked — a configuration the indicator identifies as a high-confluence area where a significant institutional reference level and an unresolved price imbalance occupy the same range simultaneously.
● Gap Symmetry Index (Mirror Gap Detector)
The Mirror Gap Detector evaluates each newly classified gap against all existing active gaps of the opposite direction. When a new gap's size and price midpoint fall within configurable ATR-based tolerances of an existing opposite-direction gap, a Mirror Gap pairing is confirmed and labeled on the chart with a symmetry marker. Mirror gaps reflect balanced market structure — opposing imbalances of near-identical magnitude that suggest the market has repeatedly valued the same price area from both directions. These pairings often act as equilibrium references around which price oscillates.
● Session Filter
Every gap and window detection can be filtered by trading session. When the session filter is enabled, only gaps formed during allowed sessions are displayed. Each session receives a distinct border color on its gap boxes, providing immediate visual differentiation between Asia, London, and New York gaps. This allows traders to evaluate whether specific session environments consistently produce higher-quality gap signals on their instrument.
● Session Overlap Amplifier
An optional overlay marks gaps that form specifically during the London–New York or Asia–London overlap windows. Gaps produced during session overlaps often carry elevated significance due to the simultaneous participation of multiple major market centers. When a gap is detected during an overlap period, its box receives an enhanced border and a session overlap tag.
● Cross-Gap Trend Bias Engine
The Trend Bias Engine produces a composite directional score by synthesizing three inputs: the structural pivot bias derived from the price structure analysis layer, the directional balance of all active gaps on the chart (bullish count versus bearish count), and the position of current price relative to the largest active gap zone. These inputs are weighted and blended into a normalized score ranging from fully bearish to fully bullish. The score is displayed in the top-left panel as a directional arrow and percentage value, color-coded by conviction level.
● Alert Tier Classification
Each gap detection event receives a tier classification — A, B, or C — through a multi-factor confluence model. Tier A is reserved for gap events that simultaneously satisfy structural alignment, volume confirmation, session open price zone interaction, and higher-timeframe echo presence. Tier B includes events with partial confluence — such as merged gap zones, higher-timeframe agreement, or session overlap conditions. Tier C represents standard detections that meet the base classification criteria but do not satisfy the higher-conviction filters. The current tier is displayed in the dashboard and transmitted in the JSON webhook payload.
● Gap Merge Engine
When enabled, the merge engine identifies overlapping or closely clustered gap zones — both within a single pool (standard gaps or window gaps) and across pools — and consolidates them into a single unified zone. Merged zones inherit a combined label and an extended price range. The merge tolerance parameter controls the maximum price-distance gap between two boxes that can still qualify for merging. Cross-pool merges unify standard classified gaps with window gaps when their price ranges overlap, reflecting the analytical equivalence of simultaneous gap conditions.
🎨 Visual Guide

● Gap Zone Boxes
Each classified gap is rendered as a filled box spanning from the gap's lower boundary to its upper boundary. The fill color encodes the gap type: blue-family tones for Structural Breakaway Gaps, violet-family tones for Structural Continuation Gaps, amber-family tones for Runaway Gaps, and crimson-family tones for Exhaustion Gaps. All fill colors include a transparency level that allows underlying price action to remain visible through the zone. Boxes extend forward by a user-defined number of bars to express the zone's forward relevance. When price fills a gap zone past its midpoint, the box is automatically removed from the chart.
● Gap Zone Text Labels
Each box displays a compact classification label ("SBG", "SCG", "RA", "EX" for standard gaps; "RW" and "FW" for window gaps). Below the classification label, the current Magnet Probability Score is displayed as a percentage. The label color shifts dynamically: teal indicates a high-probability revisitation zone, amber indicates moderate probability, and red indicates low probability. This color-coded scoring system makes it possible to scan the chart at a glance and identify which active zones carry the most forward weight.
● Window Gap Boxes
Rising and Falling Window gaps are rendered in distinct colors — a cool green-family tone for bullish windows and a warm red-family tone for bearish windows — allowing immediate visual differentiation from the four classified smart gap types. Window gaps receive the same probability scoring and session filtering treatment as classified gaps, and their boxes are extended forward by a separately configurable extension value.
● Island Reversal Boxes and Labels
When an Island Reversal pattern is confirmed, the isolated price cluster is enclosed in a box spanning from the cluster's leftmost bar to the breakaway gap bar. The box is colored green for bullish Island Bottoms and red for bearish Island Tops, with high transparency to preserve chart legibility. A text label reading "ISLAND REV" is positioned above or below the box, color-matched to the pattern direction, and offset vertically by one ATR unit to prevent label overlap with the cluster's price range.
● Mirror Gap Labels
When the Mirror Gap Detector identifies a symmetry pairing, a small label reading "⟷ Mirror" is placed at the level of the newer gap. The label style is a downward-pointing callout, with a deep background color and a lavender-family text color chosen to stand out from standard gap box labels without competing visually with classification labels.
● Session Overlap Borders
Gaps detected during the London–New York overlap receive a bright cyan-family border. Gaps detected during the Asia–London overlap receive a bright violet-family border. The border width is elevated to two pixels to ensure the session overlap designation is visible even when multiple boxes occupy adjacent price ranges.
● Session-Specific Borders
When the session filter is active, each gap box receives a thin border in the color of the session during which it was formed: a soft violet for Asia, a sky blue for London, and a warm amber for New York. This border appears independently of the session overlap amplifier borders, stacking visually to indicate both origin session and overlap status when applicable.
● IPO Lines (Session Open Price Tracker)
Each tracked session open price is rendered as a dashed horizontal line in the color corresponding to the session that produced it: violet-adjacent for Asia, sky-adjacent for London, amber-adjacent for New York. Lines extend forward from the moment of the session open and expire after the configured number of bars. When an IPO line falls within an active gap zone, that gap's border is replaced with a bright white-adjacent line at elevated width, and the box text is updated to include the "IPOxGAP" marker.
● Higher-Timeframe Gap Boxes
HTF gap zones are rendered with a dashed border in a neutral gray-family color, distinguishing them from solid-bordered current-timeframe boxes. The fill uses a higher transparency level to allow current-timeframe content to remain visible through the HTF overlay. A yellow text label within each HTF box identifies the gap type and its timeframe origin with an "[HTF]" suffix.
● Unified Dashboard
The dashboard panel anchors to a user-selected screen corner and displays a structured table of real-time information. Rows include: current trend bias with directional label and color, the type and direction of the most recently detected gap, the top and bottom price levels of the most recent gap formatted to tick precision, the current ATR value, the count of active standard gaps and window gaps with inline bar-graph fill indicators, the current alert tier, the count of active higher-timeframe gaps, and the structural pivot bias state. A footer row displays the indicator version and copyright.
● Gap Cluster Heatmap Panel
Appended below the dashboard rows, the heatmap panel renders one row per price bin. Each row displays the bin's midpoint price, a bar-graph fill indicating the density of gap-derived levels within that price range, and a numeric count. High-density bins use warm red-family text; mid-density bins use amber; low-density bins use blue. The bin containing the current price receives a highlighted teal background to anchor the user's attention to the current market position within the density distribution.
● Trend Bias Engine Panel
When enabled, a separate compact panel in the top-left corner of the screen displays the composite bias score as a directional arrow (⬆ for bullish, ⬇ for bearish, ↔ for neutral) followed by the numeric score expressed as a percentage. The text color shifts between teal (bullish conviction), red (bearish conviction), and gray (neutral). The panel has a dark background and teal border to distinguish it from the main dashboard.
📖 How to Use

● Initial Configuration
Begin by loading the indicator on your preferred chart and timeframe. Navigate to the Smart Gap: Filters group within the settings panel and configure the Structure Lookback Left and Right values to match the granularity of structure you wish to detect. Shorter lookback values produce more frequent pivot identifications on faster-moving instruments; longer values filter to only the most significant swing highs and lows. Set the Volume Avg Length and Volume Spike Multiplier to values appropriate to your instrument's typical volume behavior — most major instruments perform well with the default settings.
● Gap Zone Interpretation Workflow
When a new gap box appears on the chart, first read its classification label. An SBG appearing at a major structural level, confirmed on higher timeframes, and carrying a Tier A alert designation represents the highest-confidence context the indicator can produce. An RA or EX gap in isolation, without structural alignment, carries a lower baseline weight. Next, observe the box's Magnet Probability Score. A freshly formed gap will typically carry a moderate score reflecting its proximity to current price; this score will evolve as bars pass and price either approaches or retreats from the zone. High scores on aged zones that have survived multiple tests without being filled indicate unusually strong supply or demand imbalance.
● Multi-Timeframe Workflow
Enable the HTF overlay and select a timeframe one or two steps above your current chart (for example, use the daily chart if you trade on the one-hour). When an HTF gap box appears on the screen, any current-timeframe gap that forms within the same price range as an HTF box carries confluence from both timeframes. These dual-timeframe confluence zones are among the highest-weight configurations the indicator can identify.
● Session Open Price Workflow
Enable the IPO Lines option and configure which sessions are relevant to your instrument. On pairs or instruments with well-defined session dynamics (major forex pairs, equity index futures), session open prices frequently act as reference levels that attract price revisitation. When an IPO line falls within an active gap zone, the resulting "IPOxGAP" marker flags a configuration where a session reference level and an unresolved imbalance occupy the same range — a particularly high-confluence setup for entries in the direction aligned with current structural bias.
● Trend Bias Engine Workflow
Enable the Trend Bias Engine to generate a composite directional reading from the full landscape of active gaps, structural pivots, and price position. When the bias score reads strongly bullish (above +33) and a bullish breakaway or continuation gap forms, this represents alignment between the gap classification system and the aggregate market structure model. When the bias reads neutral or contradicts a gap's direction, reduce position size or wait for the bias to confirm.
● Alert Tier System Workflow
Enable the Alert Tier System and configure your webhook action string in the Alert Action input field. Set up TradingView alerts using the three named alert conditions — Tier A, Tier B, and Tier C — sending each to your automation platform. Tier A alerts may be configured for automated entry consideration; Tier B alerts for manual review; Tier C alerts for awareness and context only. The JSON payload included in each webhook contains the ticker, timeframe, gap direction, gap type, alert tier, and entry price, formatted for direct consumption by algorithmic execution systems.
● Gap Merge Engine Workflow
Enable the Gap Merge feature when trading instruments with high gap frequency or when multiple session types produce overlapping zones. Merged zones display a combined label listing all constituent gap types (e.g., "SBG + RW") and represent a price range where multiple independent gap events have produced coincident imbalance. These merged zones carry compounded analytical weight relative to either gap type in isolation.
● Heatmap Reading
Scan the Gap Cluster Heatmap section of the dashboard to identify price bins with peak density. These "Super Magnet Zones" represent price areas where the aggregate collection of currently tracked gaps — from all sources and timeframes — is most concentrated. When price approaches a high-density heatmap bin from either direction, consider it a high-probability interaction zone for potential support, resistance, or reversal behavior.
⚙️ Inputs and Settings
Island: Configuration
Smart Gap: Filters
Smart Gap: Vol Delta
Gap Symmetry Index
Smart Gap: Session Filter
Trend Bias Engine
Alert Tier System
IPO Lines
Dashboard
Gap Cluster Heatmap
Session Overlap Amplifier
Smart Gap: Multi-Timeframe
Smart Gap: Visuals
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Auction Market Theory and Price Gap Formation
The conceptual foundation of Smart Gap Concepts Pro is rooted in Auction Market Theory as formalized through the Market Profile work of J. Peter Steidlmayer and elaborated by James Dalton in "Mind Over Markets." Auction Market Theory posits that price moves are the expression of ongoing auctions between buyers and sellers seeking to establish value. A price gap — defined as a range of price at which no transactions occur between two consecutive periods — represents a failure of the auction process: one side of the market moved so decisively that no counterparty was willing to engage at any price within that range. This failure to facilitate trade creates what Steidlmayer described as an "unfair price area" — a zone that the market is statistically likely to revisit as the auction seeks to resolve the uncompleted trade facilitation. The indicator's gap zone tracking system directly operationalizes this concept, maintaining each unresolved gap as an active reference zone until price returns to validate or fill it.
● Structure-Based Gap Classification and the Wyckoff Method
The classification of gaps relative to structural pivot events draws directly from the analytical lineage of Richard Wyckoff's Method of Reading the Tape, later systematized within the Smart Money Concepts framework. Wyckoff identified specific phases of market accumulation and distribution cycles, within which price movement relative to prior swing highs and lows carried diagnostic significance. A gap that coincides with the penetration of a prior swing high — particularly on elevated volume — is understood within this framework as a Sign of Strength: evidence of institutional accumulation breaking through supply. The Structural Breakaway and Structural Continuation Gap classifications within this indicator directly reflect this analytical tradition, incorporating structural pivot violation as a necessary condition for the highest-tier gap classification. The distinction between a Change of Character (first break against the prior trend, interpreted as tentative) and a Break of Structure (continuation of the emerging trend, interpreted as confirmation) reflects the nuanced reading of market phase transitions that Wyckoff analysis demands.
● Volume Analysis and the Kyle (1985) Market Impact Framework
The volume qualification filters embedded in the gap detection logic are informed by Albert Kyle's 1985 landmark paper "Continuous Auctions and Insider Trading," which formalized the relationship between trade size, price impact, and information content. Kyle's lambda — a measure of the price sensitivity of the market to order flow — provides the theoretical basis for the interpretation of volume spikes accompanying gap events. A gap formed on anomalously high volume is, within this framework, evidence of a large, informed order flow event that caused a permanent relocation of price rather than a transient liquidity imbalance. The volume spike multiplier input operationalizes this concept by requiring that the volume accompanying a gap exceed a configurable multiple of the recent rolling average. The Volume Delta filter further refines this by evaluating the directional composition of volume — distinguishing between gaps produced by balanced high volume (ambiguous) and gaps produced by directionally skewed volume (high information content).
● Exhaustion Gap Theory and Trend Duration Analysis
The Exhaustion Gap classification within this indicator corresponds to the analytical concept documented by Thomas Bulkowski in "Encyclopedia of Chart Patterns" and by Edwards and Magee in "Technical Analysis of Stock Trends" — a gap that appears in the terminal phase of a trend following an extended directional run, typically accompanied by climactic volume. Academic research on price momentum and mean reversion provides a complementary framework: Jegadeesh and Titman's work on return reversals following extended momentum periods demonstrates that trend continuation probabilities decrease as the trend matures. The Trend Maturity input implements this concept by requiring a minimum elapsed time since the most recent structural anchor before a gap can receive the Exhaustion classification, filtering out premature exhaustion labeling in early-stage trend moves.
● Japanese Candlestick Window Patterns and Eastern Technical Tradition
The Rising Window and Falling Window classifications are direct implementations of the candlestick gap concepts documented by Steve Nison in "Japanese Candlestick Charting Techniques," adapted from centuries of Japanese rice market trading practice. In the Eastern technical tradition, a window (Ma in Japanese) is understood not merely as a price gap but as a zone of tested support or resistance carrying cultural and psychological weight for practitioners of this methodology. The integration of window gap tracking into the same detection and scoring framework as Western structural gap analysis creates a synthetic multi-tradition view of price gap significance.
● Island Reversal Patterns and Exhaustion Theory
The Island Reversal detection engine implements the pattern as defined in classical Western technical analysis literature, most rigorously treated in the work of Harold McKinley Gartley and subsequently by John Murphy in "Technical Analysis of the Financial Markets." The Island Reversal is understood as a manifestation of exhaustion theory: a cluster of price activity that has become suspended between two opposing gaps represents a market that briefly escaped its prior trend context, was rejected at the extremes, and then re-engaged the prior trend through the closing gap event. The volume requirements applied to both the opening and closing gaps within the indicator's Island Reversal engine reflect the classical interpretation that both events must carry institutional-grade conviction for the pattern to carry predictive weight.
● Probability Scoring and Behavioral Finance
The Magnet Probability Scoring system embedded in each gap zone draws theoretical support from behavioral finance research on the "magnetic" properties of prominent price levels. The research of Lo and MacKinlay (1988) on price dependencies in equity markets and the subsequent work documenting the predictability of price returning to high-volume or structurally significant levels underpins the multi-factor scoring model. The three components of the score — proximity, age, and touch count — correspond to three distinct behavioral phenomena: the gravitational pull of price toward unfilled imbalance zones, the increasing significance of zones that survive multiple bars without resolution, and the reinforcement of zone significance through repeated price interaction.
● Gap Symmetry and Market Microstructure
The Mirror Gap Detector operationalizes concepts from market microstructure theory, specifically the notion of equilibrium price discovery. Research by Madhavan (2000) in "Market Microstructure: A Survey" and by O'Hara in "Market Microstructure Theory" documents the tendency of markets to establish equilibrium zones that are tested from multiple directions before a durable price level is established. Two gaps of opposing direction and near-equal size at proximate price levels represent the market's repeated reference to the same value area from both sides of the auction — a microstructural indicator of zone significance that transcends any single directional interpretation.
● Session Dynamics and the London Fix Effect
The session filter and session overlap amplifier are grounded in the well-documented academic and practitioner literature on intraday seasonality in financial markets. Research by Andersen and Bollerslev (1998) on intraday periodicity in volatility documents the systematic clustering of significant price moves at and around major session transitions. The London–New York overlap in particular is widely recognized as the highest-liquidity, highest-volatility window in the global foreign exchange and equity index futures markets. Gaps that form during this window are therefore produced in a price discovery environment with maximum participant diversity, lending them greater analytical weight than gaps formed in illiquid overnight sessions.
● Tiered Alert Architecture and Information Hierarchy
The three-tier alert classification system reflects the Grinold and Kahn framework from "Active Portfolio Management," which distinguishes between signals of varying information coefficient. A Tier A alert represents a convergence of multiple independent signal sources — structural confirmation, volume validation, session reference price interaction, and higher-timeframe agreement — analogous to a high-IC signal in the Grinold-Kahn framework: one where the probability of the signal reflecting genuine alpha is materially higher than baseline. Tier B and Tier C alerts correspond to progressively lower signal-to-noise environments. The tiered architecture allows practitioners to calibrate position sizing and execution urgency to the conviction level of each detected event.
⚠️ Disclaimer
This indicator is provided strictly for educational and informational purposes. Nothing produced by this tool constitutes financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument. All outputs are analytical aids intended to support a trader's independent decision-making process and do not guarantee any specific trading outcome. Past patterns and historical gap behavior do not guarantee future results. Trading financial instruments carries substantial risk of loss. We expressly disclaim all liability for any trading losses, financial damages, or other consequences arising directly or indirectly from the use of this indicator or any reliance placed upon its outputs. Users assume full and sole responsibility for all trading decisions made in connection with this tool. Always conduct your own research and consult a qualified financial professional before making any trading or investment decision.
✨ Originality and Utility
● Beyond Binary Gap Detection
Most gap-detection tools on the market operate on a single binary principle: a gap exists, or it does not. Smart Gap Concepts Pro rejects this primitive framing entirely. Every detected gap passes through a multi-criteria evaluation that weighs price structure, volume conditions, trend maturity, directional bias, and session context simultaneously before it is classified. The result is a four-tier taxonomy that gives each gap a meaningful identity rather than a mere existence flag.
● Unified Gap Ecosystem in One Tool
What typically requires three or four separate indicators — gap detection, structure analysis, multi-timeframe overlay, and session filtering — is unified here into a single, cohesive system. The indicator tracks current-timeframe gaps, higher-timeframe gaps, Japanese candlestick window gaps (both rising and falling), and Island Reversal patterns, all within the same visual canvas and managed through a shared state architecture. No cross-indicator synchronization is required. No conflicting signals from separate tools. One indicator, one complete picture.
● Proprietary Scoring and Probability Engine
Each gap on the chart is not merely drawn and forgotten. The indicator continuously evaluates every active gap zone using a dynamic scoring system that accounts for price proximity, zone age, and the number of times price has interacted with the zone. This scoring converts gap zones from static annotations into living probability fields, updated bar by bar, expressing the likelihood that price will return to each zone. This transforms the indicator from a detection tool into a forward-looking decision support system.
● Structural Context Through Trend Bias
An optional cross-gap trend bias engine synthesizes structural market direction, gap population data, and price positioning relative to active zones into a single composite bias score. This score, displayed as a directional arrow and percentage, gives traders an at-a-glance read of whether the current gap landscape supports bullish or bearish continuation — without requiring the user to manually interpret the relationship between structure and gap distribution.
● Mirror Gap Symmetry Detection
The indicator includes a proprietary symmetry detection engine that identifies when a newly formed gap mirrors a prior gap of opposite direction in both size and price proximity. These Mirror Gap pairings highlight zones of structural tension where the market has expressed opposing imbalances of nearly identical magnitude, a configuration that carries significant confluence weight in price action and auction market analysis.
● Tiered Alert Architecture
Alerts are not binary. The indicator classifies each gap signal into one of three priority tiers — A, B, or C — based on a confluence scoring model that considers gap type, structural alignment, session open price interaction, volume conditions, and higher-timeframe echo presence. Tier A alerts represent the highest-confidence setups; Tier C alerts flag standard detections. All alerts are delivered via structured JSON webhook payloads for seamless integration with external automation systems.
🔬 Methodology and Concepts
● Gap Classification Framework
Structural Breakaway Gap (SBG) — A gap that forms simultaneously with a confirmed break of a prior structural pivot level, representing the transition from one market phase to another. An SBG occurring after a period of bearish structure signals a potential shift in auction control. An SBG emerging from a bullish structure signals potential continuation of the dominant regime. The SBG is distinguished from all other gap types by the presence of a structural pivot violation — without that structural event, the gap cannot receive this classification. The distinction between a breakaway associated with a Change of Character versus one aligned with a Break of Structure is preserved and displayed separately, giving traders the ability to distinguish between counter-trend reversals and trend-following entries.
Structural Continuation Gap (SCG) — A gap that forms in alignment with the prevailing structural bias and coincides with a structural confirmation event. Where the Structural Breakaway Gap marks the initiation of a new phase, the Structural Continuation Gap confirms that the market has accepted the new regime and is expanding the move. Traders seeking to add to existing positions in the direction of structure will find the SCG a reliable entry context.
Runaway Gap (RA) — A gap that forms in a trending environment without satisfying the criteria for structural classification or exhaustion. Often appearing at the midpoint of a trend leg, runaway gaps reflect unchallenged directional momentum. They are the most common gap type in strongly trending markets and represent zones where price moved so rapidly that no meaningful resistance or support was established. The indicator identifies these zones and tracks them as high-probability retest targets.
Exhaustion Gap (EX) — A gap that forms in a market that has demonstrated elevated volume conditions and has been trending for an extended period relative to the most recent structural anchor. Exhaustion gaps typically appear near the terminal phase of a trend leg and are associated with climactic price behavior — a final burst of directional energy before the market reverses or enters a consolidation phase. The indicator surfaces exhaustion gap conditions through the joint evaluation of volume intensity and trend duration, without disclosing the specific thresholds or calculation method used.
● Window Gap Classification
Rising Window (RW) — Derived from Japanese candlestick methodology, a Rising Window occurs when the low of the current bar exceeds the high of the prior bar, leaving an uncontested price range that acts as potential support on any pullback. The indicator tracks all rising window formations, computes their midpoint levels, and scores them continuously for revisitation probability. Rising windows that overlap with existing classified gaps are detected and flagged accordingly, elevating their analytical weight.
Falling Window (FW) — The bearish counterpart to the Rising Window. A Falling Window forms when the high of the current bar falls below the low of the prior bar. These zones act as potential resistance on any recovery. Like Rising Windows, they are tracked, scored, and managed across the life of the chart.
● Island Reversal Pattern
The indicator incorporates a dedicated Island Reversal detection engine operating in parallel with the primary gap classification system. An Island Reversal forms when a price cluster becomes isolated between two gaps of opposite direction — a gap up that separates a cluster from prior price action, followed by a gap down that closes the island. The reverse configuration (gap down, isolation, gap up) produces a bullish Island Bottom. This pattern carries significant reversal weight and is confirmed only when specific volume conditions are met on both the opening and closing gap events, ensuring that low-quality pattern matches are filtered out.
● Gap Magnet Probability Scores
Every active gap zone carries a continuous probability score displayed directly on the chart. The score reflects three inputs: how close current price is to the zone's midpoint, how old the zone is relative to the chart history, and how many times price has interacted with the zone's boundaries. These inputs are blended into a single percentage figure rendered in a color that shifts from red through amber to teal as the score increases. A high score indicates a zone with strong revisitation likelihood based on current conditions; a low score flags a zone that may be becoming irrelevant. Scores update on every bar.
● Gap Cluster Heatmap
The integrated heatmap sub-panel within the dashboard aggregates all active gap levels — current-timeframe gaps, window gaps, higher-timeframe gaps, and session open price levels — into a price-binned density map. Each bin represents a price range, and the count of gap-derived levels falling within that range is visualized as a filled bar. Bins with the highest concentration of overlapping levels are highlighted at full intensity; sparse bins appear at reduced intensity. The bin corresponding to the current price is highlighted to orient the user within the density distribution. "Super Magnet Zones" identified by the heatmap represent price areas where multiple independent gap events have produced overlapping levels — the most significant areas of potential price attraction on the chart.
● Multi-Timeframe Gap Overlay
When the higher-timeframe gap overlay is enabled, the indicator requests classified gap data from a user-selected higher timeframe and renders those zones on the current chart using dashed-border boxes. Higher-timeframe gaps are distinguished from current-timeframe gaps visually to prevent ambiguity. Only confirmed higher-timeframe gap events are displayed — the rendering logic ensures that intra-period, unconfirmed data is never used, maintaining the integrity of the overlay across all chart configurations.
● Session Open Price Tracker (IPO Lines)
The indicator can track and display the opening price of the Asia, London, and New York trading sessions as dynamic horizontal lines that extend forward in time from the moment of each session's opening bell. These lines expire automatically after a user-defined number of bars. When a session opening price falls within the range of any active gap zone, the affected gap box is visually marked — a configuration the indicator identifies as a high-confluence area where a significant institutional reference level and an unresolved price imbalance occupy the same range simultaneously.
● Gap Symmetry Index (Mirror Gap Detector)
The Mirror Gap Detector evaluates each newly classified gap against all existing active gaps of the opposite direction. When a new gap's size and price midpoint fall within configurable ATR-based tolerances of an existing opposite-direction gap, a Mirror Gap pairing is confirmed and labeled on the chart with a symmetry marker. Mirror gaps reflect balanced market structure — opposing imbalances of near-identical magnitude that suggest the market has repeatedly valued the same price area from both directions. These pairings often act as equilibrium references around which price oscillates.
● Session Filter
Every gap and window detection can be filtered by trading session. When the session filter is enabled, only gaps formed during allowed sessions are displayed. Each session receives a distinct border color on its gap boxes, providing immediate visual differentiation between Asia, London, and New York gaps. This allows traders to evaluate whether specific session environments consistently produce higher-quality gap signals on their instrument.
● Session Overlap Amplifier
An optional overlay marks gaps that form specifically during the London–New York or Asia–London overlap windows. Gaps produced during session overlaps often carry elevated significance due to the simultaneous participation of multiple major market centers. When a gap is detected during an overlap period, its box receives an enhanced border and a session overlap tag.
● Cross-Gap Trend Bias Engine
The Trend Bias Engine produces a composite directional score by synthesizing three inputs: the structural pivot bias derived from the price structure analysis layer, the directional balance of all active gaps on the chart (bullish count versus bearish count), and the position of current price relative to the largest active gap zone. These inputs are weighted and blended into a normalized score ranging from fully bearish to fully bullish. The score is displayed in the top-left panel as a directional arrow and percentage value, color-coded by conviction level.
● Alert Tier Classification
Each gap detection event receives a tier classification — A, B, or C — through a multi-factor confluence model. Tier A is reserved for gap events that simultaneously satisfy structural alignment, volume confirmation, session open price zone interaction, and higher-timeframe echo presence. Tier B includes events with partial confluence — such as merged gap zones, higher-timeframe agreement, or session overlap conditions. Tier C represents standard detections that meet the base classification criteria but do not satisfy the higher-conviction filters. The current tier is displayed in the dashboard and transmitted in the JSON webhook payload.
● Gap Merge Engine
When enabled, the merge engine identifies overlapping or closely clustered gap zones — both within a single pool (standard gaps or window gaps) and across pools — and consolidates them into a single unified zone. Merged zones inherit a combined label and an extended price range. The merge tolerance parameter controls the maximum price-distance gap between two boxes that can still qualify for merging. Cross-pool merges unify standard classified gaps with window gaps when their price ranges overlap, reflecting the analytical equivalence of simultaneous gap conditions.
🎨 Visual Guide
● Gap Zone Boxes
Each classified gap is rendered as a filled box spanning from the gap's lower boundary to its upper boundary. The fill color encodes the gap type: blue-family tones for Structural Breakaway Gaps, violet-family tones for Structural Continuation Gaps, amber-family tones for Runaway Gaps, and crimson-family tones for Exhaustion Gaps. All fill colors include a transparency level that allows underlying price action to remain visible through the zone. Boxes extend forward by a user-defined number of bars to express the zone's forward relevance. When price fills a gap zone past its midpoint, the box is automatically removed from the chart.
● Gap Zone Text Labels
Each box displays a compact classification label ("SBG", "SCG", "RA", "EX" for standard gaps; "RW" and "FW" for window gaps). Below the classification label, the current Magnet Probability Score is displayed as a percentage. The label color shifts dynamically: teal indicates a high-probability revisitation zone, amber indicates moderate probability, and red indicates low probability. This color-coded scoring system makes it possible to scan the chart at a glance and identify which active zones carry the most forward weight.
● Window Gap Boxes
Rising and Falling Window gaps are rendered in distinct colors — a cool green-family tone for bullish windows and a warm red-family tone for bearish windows — allowing immediate visual differentiation from the four classified smart gap types. Window gaps receive the same probability scoring and session filtering treatment as classified gaps, and their boxes are extended forward by a separately configurable extension value.
● Island Reversal Boxes and Labels
When an Island Reversal pattern is confirmed, the isolated price cluster is enclosed in a box spanning from the cluster's leftmost bar to the breakaway gap bar. The box is colored green for bullish Island Bottoms and red for bearish Island Tops, with high transparency to preserve chart legibility. A text label reading "ISLAND REV" is positioned above or below the box, color-matched to the pattern direction, and offset vertically by one ATR unit to prevent label overlap with the cluster's price range.
● Mirror Gap Labels
When the Mirror Gap Detector identifies a symmetry pairing, a small label reading "⟷ Mirror" is placed at the level of the newer gap. The label style is a downward-pointing callout, with a deep background color and a lavender-family text color chosen to stand out from standard gap box labels without competing visually with classification labels.
● Session Overlap Borders
Gaps detected during the London–New York overlap receive a bright cyan-family border. Gaps detected during the Asia–London overlap receive a bright violet-family border. The border width is elevated to two pixels to ensure the session overlap designation is visible even when multiple boxes occupy adjacent price ranges.
● Session-Specific Borders
When the session filter is active, each gap box receives a thin border in the color of the session during which it was formed: a soft violet for Asia, a sky blue for London, and a warm amber for New York. This border appears independently of the session overlap amplifier borders, stacking visually to indicate both origin session and overlap status when applicable.
● IPO Lines (Session Open Price Tracker)
Each tracked session open price is rendered as a dashed horizontal line in the color corresponding to the session that produced it: violet-adjacent for Asia, sky-adjacent for London, amber-adjacent for New York. Lines extend forward from the moment of the session open and expire after the configured number of bars. When an IPO line falls within an active gap zone, that gap's border is replaced with a bright white-adjacent line at elevated width, and the box text is updated to include the "IPOxGAP" marker.
● Higher-Timeframe Gap Boxes
HTF gap zones are rendered with a dashed border in a neutral gray-family color, distinguishing them from solid-bordered current-timeframe boxes. The fill uses a higher transparency level to allow current-timeframe content to remain visible through the HTF overlay. A yellow text label within each HTF box identifies the gap type and its timeframe origin with an "[HTF]" suffix.
● Unified Dashboard
The dashboard panel anchors to a user-selected screen corner and displays a structured table of real-time information. Rows include: current trend bias with directional label and color, the type and direction of the most recently detected gap, the top and bottom price levels of the most recent gap formatted to tick precision, the current ATR value, the count of active standard gaps and window gaps with inline bar-graph fill indicators, the current alert tier, the count of active higher-timeframe gaps, and the structural pivot bias state. A footer row displays the indicator version and copyright.
● Gap Cluster Heatmap Panel
Appended below the dashboard rows, the heatmap panel renders one row per price bin. Each row displays the bin's midpoint price, a bar-graph fill indicating the density of gap-derived levels within that price range, and a numeric count. High-density bins use warm red-family text; mid-density bins use amber; low-density bins use blue. The bin containing the current price receives a highlighted teal background to anchor the user's attention to the current market position within the density distribution.
● Trend Bias Engine Panel
When enabled, a separate compact panel in the top-left corner of the screen displays the composite bias score as a directional arrow (⬆ for bullish, ⬇ for bearish, ↔ for neutral) followed by the numeric score expressed as a percentage. The text color shifts between teal (bullish conviction), red (bearish conviction), and gray (neutral). The panel has a dark background and teal border to distinguish it from the main dashboard.
📖 How to Use
● Initial Configuration
Begin by loading the indicator on your preferred chart and timeframe. Navigate to the Smart Gap: Filters group within the settings panel and configure the Structure Lookback Left and Right values to match the granularity of structure you wish to detect. Shorter lookback values produce more frequent pivot identifications on faster-moving instruments; longer values filter to only the most significant swing highs and lows. Set the Volume Avg Length and Volume Spike Multiplier to values appropriate to your instrument's typical volume behavior — most major instruments perform well with the default settings.
● Gap Zone Interpretation Workflow
When a new gap box appears on the chart, first read its classification label. An SBG appearing at a major structural level, confirmed on higher timeframes, and carrying a Tier A alert designation represents the highest-confidence context the indicator can produce. An RA or EX gap in isolation, without structural alignment, carries a lower baseline weight. Next, observe the box's Magnet Probability Score. A freshly formed gap will typically carry a moderate score reflecting its proximity to current price; this score will evolve as bars pass and price either approaches or retreats from the zone. High scores on aged zones that have survived multiple tests without being filled indicate unusually strong supply or demand imbalance.
● Multi-Timeframe Workflow
Enable the HTF overlay and select a timeframe one or two steps above your current chart (for example, use the daily chart if you trade on the one-hour). When an HTF gap box appears on the screen, any current-timeframe gap that forms within the same price range as an HTF box carries confluence from both timeframes. These dual-timeframe confluence zones are among the highest-weight configurations the indicator can identify.
● Session Open Price Workflow
Enable the IPO Lines option and configure which sessions are relevant to your instrument. On pairs or instruments with well-defined session dynamics (major forex pairs, equity index futures), session open prices frequently act as reference levels that attract price revisitation. When an IPO line falls within an active gap zone, the resulting "IPOxGAP" marker flags a configuration where a session reference level and an unresolved imbalance occupy the same range — a particularly high-confluence setup for entries in the direction aligned with current structural bias.
● Trend Bias Engine Workflow
Enable the Trend Bias Engine to generate a composite directional reading from the full landscape of active gaps, structural pivots, and price position. When the bias score reads strongly bullish (above +33) and a bullish breakaway or continuation gap forms, this represents alignment between the gap classification system and the aggregate market structure model. When the bias reads neutral or contradicts a gap's direction, reduce position size or wait for the bias to confirm.
● Alert Tier System Workflow
Enable the Alert Tier System and configure your webhook action string in the Alert Action input field. Set up TradingView alerts using the three named alert conditions — Tier A, Tier B, and Tier C — sending each to your automation platform. Tier A alerts may be configured for automated entry consideration; Tier B alerts for manual review; Tier C alerts for awareness and context only. The JSON payload included in each webhook contains the ticker, timeframe, gap direction, gap type, alert tier, and entry price, formatted for direct consumption by algorithmic execution systems.
● Gap Merge Engine Workflow
Enable the Gap Merge feature when trading instruments with high gap frequency or when multiple session types produce overlapping zones. Merged zones display a combined label listing all constituent gap types (e.g., "SBG + RW") and represent a price range where multiple independent gap events have produced coincident imbalance. These merged zones carry compounded analytical weight relative to either gap type in isolation.
● Heatmap Reading
Scan the Gap Cluster Heatmap section of the dashboard to identify price bins with peak density. These "Super Magnet Zones" represent price areas where the aggregate collection of currently tracked gaps — from all sources and timeframes — is most concentrated. When price approaches a high-density heatmap bin from either direction, consider it a high-probability interaction zone for potential support, resistance, or reversal behavior.
⚙️ Inputs and Settings
Island: Configuration
- Trend Lookback — Defines the period used to assess the prevailing trend condition relative to which Island Reversal patterns are evaluated. Longer values capture broader trend context; shorter values are more responsive to recent price behavior.
- Volume Spike Factor — The multiplier applied to average volume when determining whether a gap associated with an Island Reversal formation qualifies as a volume spike. Higher values require more extreme volume confirmation.
- Max Island Duration (Bars) — The maximum number of bars the system will monitor an active island formation before invalidating the pattern. Formations that exceed this duration are abandoned regardless of their current state.
Smart Gap: Filters
- Min Gap Size (Points) — The minimum price range a gap must span to be processed. Gaps smaller than this threshold are ignored entirely. Useful for filtering micro-gaps on low-resolution charts.
- Structure Lookback Left — The number of bars to the left of a candidate structural pivot used in the pivot identification process. Controls how significant a pivot must be relative to its left-side context.
- Structure Lookback Right — The number of bars to the right of a candidate structural pivot used in the confirmation process. Larger values require more confirmed right-side context before a pivot is accepted.
- Volume Avg Length — The period over which average volume is calculated for use in gap volume spike detection.
- Volume Spike Multiplier — The multiple of average volume a bar must exceed for its associated gap to qualify as volume-confirmed.
- Trend Maturity (Bars) — The minimum number of bars that must have elapsed since the most recent structural pivot for a gap to qualify as an Exhaustion classification. Prevents premature Exhaustion labeling early in a trend.
- Max Visible Gaps — The maximum number of standard gap zones retained on the chart simultaneously. When this limit is reached, the oldest zones are removed as new ones are detected.
- Box Extension — The number of bars by which standard classified gap boxes are extended forward to the right of the detection bar.
- Window Gap Box Extension — The number of bars by which Rising and Falling Window gap boxes are extended forward.
- Enable Gap Merge — Activates the gap merge engine, which consolidates overlapping or adjacent gap zones both within and across gap pools.
- Gap Merge Tolerance (Points) — The maximum price-distance separation between two gap zones that still qualifies them for merging. A value of zero restricts merging to zones that directly overlap.
Smart Gap: Vol Delta
- Enable Vol Delta Filter — Activates an additional directional volume filter that evaluates the balance of buying versus selling pressure within the bar associated with each gap. When enabled, a gap must reflect directionally consistent volume pressure to be classified.
- Min Imbalance Ratio — The minimum directional volume imbalance ratio required to pass the volume delta filter. Values above the midpoint threshold require progressively stronger directional volume alignment.
Gap Symmetry Index
- Enable Mirror Gap Detector — Activates the symmetry detection engine that identifies gap pairings of opposite direction with near-equal size and proximate price levels.
- Size Tolerance (ATR mult) — The maximum difference in size between two gaps, expressed as a multiple of the current ATR, for them to qualify as a mirror pairing. Smaller values require tighter size matching.
- Level Proximity (ATR mult) — The maximum distance between the midpoints of two candidate mirror gaps, expressed as a multiple of ATR. Smaller values require the gaps to be closer in price.
Smart Gap: Session Filter
- Enable Session Filter — When active, restricts the display of gap zones to only those formed during the permitted sessions defined below.
- Show Asia Gaps — Permits gaps formed during the Asia session to be displayed when the session filter is active.
- Show London Gaps — Permits gaps formed during the London session to be displayed when the session filter is active.
- Show NY Gaps — Permits gaps formed during the New York session to be displayed when the session filter is active.
Trend Bias Engine
- Enable Trend Bias Engine — Activates the composite directional bias scoring system and displays the bias panel in the top-left corner of the screen.
Alert Tier System
- Enable Alert Tier System — Activates the multi-tier alert classification engine and enables the webhook-ready JSON alert payload system.
- Alert Action — A user-defined string injected into the JSON payload as the "action" field. Used to route alerts to the correct handler within an external automation system (e.g., "buy", "sell", "gap").
IPO Lines
- Enable IPO Lines — Activates the session opening price tracker.
- Track Asia Open — When enabled, the Asia session opening price is tracked and displayed as a dashed line.
- Track London Open — When enabled, the London session opening price is tracked and displayed as a dashed line.
- Track NY Open — When enabled, the New York session opening price is tracked and displayed as a dashed line.
- IPO Line Max Bars — The number of bars each session opening price line remains visible before expiring automatically.
Dashboard
- Show Dashboard — Toggles the unified dashboard and heatmap panel on and off.
- Position — Selects the screen corner to which the dashboard is anchored: Top Right, Top Left, Bottom Right, or Bottom Left.
Gap Cluster Heatmap
- Price Bins — Defines the number of equal-width price bins into which the heatmap distributes all active gap-derived levels. More bins provide finer granularity; fewer bins consolidate density into broader ranges.
Session Overlap Amplifier
- Enable Session Overlap Amplifier — Activates visual amplification for gaps detected during session overlap windows.
- London-NY Overlap — When enabled, gaps detected during the London–New York overlap window receive the corresponding border treatment.
- Asia-London Overlap — When enabled, gaps detected during the Asia–London overlap window receive the corresponding border treatment.
Smart Gap: Multi-Timeframe
- Show Higher Timeframe Gaps — Activates the multi-timeframe gap overlay and requests classified gap data from the selected higher timeframe.
- Higher Timeframe — The timeframe from which gap data is sourced for the HTF overlay. Any standard TradingView timeframe is supported.
Smart Gap: Visuals
- Breakaway Gap (Start) — Fill color for Structural Breakaway Gap zones.
- Continuation Gap (BOS) — Fill color for Structural Continuation Gap zones.
- Runaway Gap (Middle) — Fill color for Runaway Gap zones.
- Exhaustion Gap (End) — Fill color for Exhaustion Gap zones.
- Bullish Window Color — Fill color for Rising Window gap zones.
- Bearish Window Color — Fill color for Falling Window gap zones.
- Mirror Gap Label Color — Text color of the Mirror Gap symmetry label.
- Asia Border Color — Border color applied to gap boxes formed during the Asia session.
- London Border Color — Border color applied to gap boxes formed during the London session.
- NY Border Color — Border color applied to gap boxes formed during the New York session.
- Asia IPO Line — Color of the Asia session opening price line.
- London IPO Line — Color of the London session opening price line.
- NY IPO Line — Color of the New York session opening price line.
- HCZ Border (IPOxGAP) — Border color applied to gap zones that contain an active session opening price level.
- Density Low — Text color used in heatmap bins with low gap-level density.
- Density Mid — Text color used in heatmap bins with medium gap-level density.
- Density High — Text color used in heatmap bins with high gap-level density.
- Label Color — Default text color for heatmap price labels.
- Background — Background color of heatmap rows.
- London-NY Border Color — Border color applied to gaps detected during the London–New York session overlap.
- Asia-London Border Color — Border color applied to gaps detected during the Asia–London session overlap.
- HTF Box Border — Border color of higher-timeframe gap zone boxes.
- HTF Text Color — Text color of labels within higher-timeframe gap zone boxes.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Auction Market Theory and Price Gap Formation
The conceptual foundation of Smart Gap Concepts Pro is rooted in Auction Market Theory as formalized through the Market Profile work of J. Peter Steidlmayer and elaborated by James Dalton in "Mind Over Markets." Auction Market Theory posits that price moves are the expression of ongoing auctions between buyers and sellers seeking to establish value. A price gap — defined as a range of price at which no transactions occur between two consecutive periods — represents a failure of the auction process: one side of the market moved so decisively that no counterparty was willing to engage at any price within that range. This failure to facilitate trade creates what Steidlmayer described as an "unfair price area" — a zone that the market is statistically likely to revisit as the auction seeks to resolve the uncompleted trade facilitation. The indicator's gap zone tracking system directly operationalizes this concept, maintaining each unresolved gap as an active reference zone until price returns to validate or fill it.
● Structure-Based Gap Classification and the Wyckoff Method
The classification of gaps relative to structural pivot events draws directly from the analytical lineage of Richard Wyckoff's Method of Reading the Tape, later systematized within the Smart Money Concepts framework. Wyckoff identified specific phases of market accumulation and distribution cycles, within which price movement relative to prior swing highs and lows carried diagnostic significance. A gap that coincides with the penetration of a prior swing high — particularly on elevated volume — is understood within this framework as a Sign of Strength: evidence of institutional accumulation breaking through supply. The Structural Breakaway and Structural Continuation Gap classifications within this indicator directly reflect this analytical tradition, incorporating structural pivot violation as a necessary condition for the highest-tier gap classification. The distinction between a Change of Character (first break against the prior trend, interpreted as tentative) and a Break of Structure (continuation of the emerging trend, interpreted as confirmation) reflects the nuanced reading of market phase transitions that Wyckoff analysis demands.
● Volume Analysis and the Kyle (1985) Market Impact Framework
The volume qualification filters embedded in the gap detection logic are informed by Albert Kyle's 1985 landmark paper "Continuous Auctions and Insider Trading," which formalized the relationship between trade size, price impact, and information content. Kyle's lambda — a measure of the price sensitivity of the market to order flow — provides the theoretical basis for the interpretation of volume spikes accompanying gap events. A gap formed on anomalously high volume is, within this framework, evidence of a large, informed order flow event that caused a permanent relocation of price rather than a transient liquidity imbalance. The volume spike multiplier input operationalizes this concept by requiring that the volume accompanying a gap exceed a configurable multiple of the recent rolling average. The Volume Delta filter further refines this by evaluating the directional composition of volume — distinguishing between gaps produced by balanced high volume (ambiguous) and gaps produced by directionally skewed volume (high information content).
● Exhaustion Gap Theory and Trend Duration Analysis
The Exhaustion Gap classification within this indicator corresponds to the analytical concept documented by Thomas Bulkowski in "Encyclopedia of Chart Patterns" and by Edwards and Magee in "Technical Analysis of Stock Trends" — a gap that appears in the terminal phase of a trend following an extended directional run, typically accompanied by climactic volume. Academic research on price momentum and mean reversion provides a complementary framework: Jegadeesh and Titman's work on return reversals following extended momentum periods demonstrates that trend continuation probabilities decrease as the trend matures. The Trend Maturity input implements this concept by requiring a minimum elapsed time since the most recent structural anchor before a gap can receive the Exhaustion classification, filtering out premature exhaustion labeling in early-stage trend moves.
● Japanese Candlestick Window Patterns and Eastern Technical Tradition
The Rising Window and Falling Window classifications are direct implementations of the candlestick gap concepts documented by Steve Nison in "Japanese Candlestick Charting Techniques," adapted from centuries of Japanese rice market trading practice. In the Eastern technical tradition, a window (Ma in Japanese) is understood not merely as a price gap but as a zone of tested support or resistance carrying cultural and psychological weight for practitioners of this methodology. The integration of window gap tracking into the same detection and scoring framework as Western structural gap analysis creates a synthetic multi-tradition view of price gap significance.
● Island Reversal Patterns and Exhaustion Theory
The Island Reversal detection engine implements the pattern as defined in classical Western technical analysis literature, most rigorously treated in the work of Harold McKinley Gartley and subsequently by John Murphy in "Technical Analysis of the Financial Markets." The Island Reversal is understood as a manifestation of exhaustion theory: a cluster of price activity that has become suspended between two opposing gaps represents a market that briefly escaped its prior trend context, was rejected at the extremes, and then re-engaged the prior trend through the closing gap event. The volume requirements applied to both the opening and closing gaps within the indicator's Island Reversal engine reflect the classical interpretation that both events must carry institutional-grade conviction for the pattern to carry predictive weight.
● Probability Scoring and Behavioral Finance
The Magnet Probability Scoring system embedded in each gap zone draws theoretical support from behavioral finance research on the "magnetic" properties of prominent price levels. The research of Lo and MacKinlay (1988) on price dependencies in equity markets and the subsequent work documenting the predictability of price returning to high-volume or structurally significant levels underpins the multi-factor scoring model. The three components of the score — proximity, age, and touch count — correspond to three distinct behavioral phenomena: the gravitational pull of price toward unfilled imbalance zones, the increasing significance of zones that survive multiple bars without resolution, and the reinforcement of zone significance through repeated price interaction.
● Gap Symmetry and Market Microstructure
The Mirror Gap Detector operationalizes concepts from market microstructure theory, specifically the notion of equilibrium price discovery. Research by Madhavan (2000) in "Market Microstructure: A Survey" and by O'Hara in "Market Microstructure Theory" documents the tendency of markets to establish equilibrium zones that are tested from multiple directions before a durable price level is established. Two gaps of opposing direction and near-equal size at proximate price levels represent the market's repeated reference to the same value area from both sides of the auction — a microstructural indicator of zone significance that transcends any single directional interpretation.
● Session Dynamics and the London Fix Effect
The session filter and session overlap amplifier are grounded in the well-documented academic and practitioner literature on intraday seasonality in financial markets. Research by Andersen and Bollerslev (1998) on intraday periodicity in volatility documents the systematic clustering of significant price moves at and around major session transitions. The London–New York overlap in particular is widely recognized as the highest-liquidity, highest-volatility window in the global foreign exchange and equity index futures markets. Gaps that form during this window are therefore produced in a price discovery environment with maximum participant diversity, lending them greater analytical weight than gaps formed in illiquid overnight sessions.
● Tiered Alert Architecture and Information Hierarchy
The three-tier alert classification system reflects the Grinold and Kahn framework from "Active Portfolio Management," which distinguishes between signals of varying information coefficient. A Tier A alert represents a convergence of multiple independent signal sources — structural confirmation, volume validation, session reference price interaction, and higher-timeframe agreement — analogous to a high-IC signal in the Grinold-Kahn framework: one where the probability of the signal reflecting genuine alpha is materially higher than baseline. Tier B and Tier C alerts correspond to progressively lower signal-to-noise environments. The tiered architecture allows practitioners to calibrate position sizing and execution urgency to the conviction level of each detected event.
⚠️ Disclaimer
This indicator is provided strictly for educational and informational purposes. Nothing produced by this tool constitutes financial advice, investment advice, trading advice, or a recommendation to buy or sell any financial instrument. All outputs are analytical aids intended to support a trader's independent decision-making process and do not guarantee any specific trading outcome. Past patterns and historical gap behavior do not guarantee future results. Trading financial instruments carries substantial risk of loss. We expressly disclaim all liability for any trading losses, financial damages, or other consequences arising directly or indirectly from the use of this indicator or any reliance placed upon its outputs. Users assume full and sole responsibility for all trading decisions made in connection with this tool. Always conduct your own research and consult a qualified financial professional before making any trading or investment decision.
Release Note
NEW FEATURESGap Type Visibility Controls
- A dedicated settings group now lets you show or hide each gap classification independently: Structural Breakaway, Structural Continuation, Runaway, Exhaustion, Rising Window and Falling Window.
- The filter governs higher-timeframe gaps as well, so one choice controls the entire chart rather than just the working timeframe.
- Hidden types are excluded everywhere - chart, dashboard counters, bias reading and alert stream - so what you see is exactly what the tool is acting on.
Gap Cluster Merge Tolerance
- Gap consolidation now accepts an adjustable tolerance, allowing zones that sit close to one another to merge into a single labeled area even when they do not strictly overlap.
- Keeping the tolerance at its lowest setting preserves the previous strict-overlap behaviour, so existing setups are unaffected until you choose otherwise.
- Delivers materially cleaner charts on instruments that produce dense clusters of small gaps.
SIGNAL INTEGRITY
- Repaint protection: gap, window and island evaluations now resolve only on confirmed bars, so a signal that appears mid-bar cannot disappear or change classification after the close.
- Volume confirmation is now measured against the same point in history as the gap being assessed, removing a misalignment that could over-rate or under-rate the bars that matter most.
- Higher-timeframe echo is validated against your chart timeframe, so the confluence boost applies only when the selected higher timeframe genuinely sits above the one you are trading.
- Session-filtered gaps are now skipped outright instead of being drawn invisibly, so dashboard counts, bias readings and alerts reflect only the sessions you actually trade.
VISUALS AND DASHBOARD
- IPO x Gap confluence no longer overwrites a gap's label - the confluence flag is appended beneath the gap type and magnet score, so full context is retained on the highest-conviction zones.
- Institutional open lines now anchor to the true Tokyo, London and New York opening bars, remaining correct through daylight-saving shifts and across instruments.
- Dashboard capacity meters now scale to your own Max Visible Gaps setting rather than fixed internal ceilings, making the fill level an honest reading of how loaded the chart is.
- Prices and volatility readouts throughout the dashboard now follow the instrument's native tick precision instead of a fixed decimal count.
- Heatmap intensity now reads on a consistent absolute scale, so a hot row means the same degree of clustering on every chart and every timeframe.
- Island Reversal boxes and labels are now managed and capped like every other drawing pool, keeping long histories clean and preventing drawing-limit exhaustion.
HOW TO USE
- Gap label, first line: the gap classification. Second line: the magnet score, colour-coded from weak to strong pull. Third line, when present: the IPO confluence flag, marking a gap that overlaps an institutional opening price - the highest-attention zones on the chart.
- A neutral placeholder in place of a magnet score means volatility context is not yet available for ranking. The zone is still valid, simply unranked for the moment.
ALERTS AND AUTOMATION
- Webhook payloads now carry a UTC timestamp for the signal bar, letting downstream systems order, deduplicate and audit events without inferring time from receipt.
- The custom alert action field is sanitised before it enters the payload, preventing malformed messages when unusual characters are entered.
- Alerts fire only for gaps that pass your type and session filters, so automation follows precisely what is displayed on screen.
- Tier classification is now driven by real events rather than inferred markers, making Tier A and Tier B assignments meaningfully stricter and more trustworthy.
REFINEMENTS
- Magnet scores now express how relevant a zone is right now instead of accumulating with age, so long-standing gaps no longer drift toward inflated readings.
- Mirror Gap detection posts a single label per confirmed pairing rather than one per candidate match, ending duplicate label stacking on busy charts.
- Dashboard, heatmap and bias panels render once per chart update instead of on every historical bar, cutting load times and freeing headroom on deep histories.
- Higher-timeframe calculations are bounded to a working history window, materially reducing computation on long charts.
- Visible-gap caps now apply across every pool, including window gaps and higher-timeframe gaps, keeping the chart within predictable limits.
- Island Reversal inputs are now range-bounded, preventing values that could produce unusable output.
Release Note
Smart Gap Concepts Pro - Update SummaryMajor Features
- Full Color Customization - The dashboard, Trend Bias panel, gap cluster heatmap, Island Reversal boxes and labels, gap box text, and Mirror Gap labels now take their colors from the settings. Header, rows, labels, values, dividers, and the bullish, bearish, caution and neutral state colors can all be matched to your chart theme.
- Island Reversals Toggle - Island Reversal boxes and labels can now be switched on or off from the settings. They were previously always shown.
- Gap Cluster Heatmap Toggle - The heatmap section of the dashboard can now be hidden on its own while the rest of the dashboard stays visible.
- Standard Chart Protection - On Heikin Ashi, Renko, Kagi, Point and Figure, Range and Line Break charts the indicator now stops with a clear message instead of drawing gap levels, dashboard prices and alert values from synthetic prices.
Minor Features and Improvements
- Capacity Bars with Percentage - The Active Gaps and Window Gaps rows now use a finer bar and show the fill level as a percentage next to it.
- Finer Heatmap Bars - Heatmap density bars have more steps, so busy price bands are easier to tell apart.
- Readable Timeframe in the Header - The dashboard header shows the chart timeframe in a compact, familiar format such as hours, days or weeks.
- Smarter Bias Panel Placement - When the dashboard sits in the top-left corner, the Trend Bias panel moves out of the way automatically so the two never overlap.
- Tooltips on Every Setting - Nearly all inputs now explain what they control, including session window times, how volume filters behave on symbols with no volume data, and what each alert option affects.
Refinements
- Webhook Entry Price - The entry price in the webhook payload now reflects the close of the bar on which the alert fires.
- Honest Empty States - Alert Tier and ATR now show a dash until a real value exists, instead of a placeholder tier or a blank reading on the first bars.
- Volume Reliability - High-volume classification no longer passes when average volume data is missing.
- Heatmap Current Price Row - The current price row is now highlighted correctly when price sits at the very top of the mapped range.
- Gap Merge - Merging of overlapping gaps has been refined for more predictable consolidation.
- Input Refinements - The Island trend lookback now has a sensible upper limit, and the Smart Gap volume spike multiplier adjusts in finer steps.
Performance
- Session open lines are now capped, keeping long histories light.
- Mirror Gap detection, session open checks and the Trend Bias calculation do less repeated work on each update.
How to Use
- Capacity percentage - Shows how full the visible gap history is relative to your maximum. A low reading means few open gaps remain on the chart; a high reading means the chart is carrying many unresolved gaps.
- Dash in Alert Tier or ATR - No qualifying gap has formed yet, or not enough bars exist for a reading. It fills in on its own once data is available.
ใช้งานได้ในพื้นที่แบบชำระเงิน
อินดิเคเตอร์นี้ใช้ได้เฉพาะสมาชิก MarkitTick เท่านั้น เข้าร่วมเพื่อสามารถเข้าถึงสคริปต์นี้และสคริปต์อื่นๆ ของ MarkitTick
💡 Proprietary indicators. Original research. Built by analysts who trade.
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
ใช้งานได้ในพื้นที่แบบชำระเงิน
อินดิเคเตอร์นี้ใช้ได้เฉพาะสมาชิก MarkitTick เท่านั้น เข้าร่วมเพื่อสามารถเข้าถึงสคริปต์นี้และสคริปต์อื่นๆ ของ MarkitTick
💡 Proprietary indicators. Original research. Built by analysts who trade.
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน