OPEN-SOURCE SCRIPT
Quantum Structure | jjart

Quantum Structure
Quantum Structure is a visual market-structure indicator built around the
Indication → Correction → Continuation (ICC) framework.
In simple terms, it shows:
where structure is just beginning
where the market is pulling back or consolidating
where continuation starts
and where it’s simply better to keep your hands off the chart
The goal is fast market context awareness without constantly jumping between timeframes or manually piecing structure together.
What the Indicator Tracks
Price action is divided into four clear phases:
Indication — the initial structural break or trend initiation
Correction — pullback, consolidation, or accumulation after the move
Continuation — impulse in the direction of structure
Neutral / No Setup — periods without valid structural conditions
Each phase is highlighted directly on the chart so structure can be understood in seconds, not after three cups of coffee.
Core Capabilities
Market Structure & Phase Detection
automatic identification of structural breaks, corrections, and continuations
background shading for clear phase separation
invalidation logic when structure fails or breaks
Multi-Timeframe Context
higher-timeframe structure displayed on lower-timeframe charts
HTF indication levels shown as reference lines
current HTF phase visible in the information table
This keeps the bigger picture in view, even while working inside smaller moves.
Structure Event Visualization
visual markers for continuations and optional reversal structures
clear separation between trend-aligned and counter-structure events
ability to enable or disable reversal visualization
Volatility-Aware Structure Zones
structure-based support and resistance areas
optional ATR-adaptive zone sizing
configurable historical zones with visual hierarchy
Information Table
Displays:
current ICC phase
indication level
consolidation status
higher-timeframe context
Designed for fast situational awareness without overloading the chart.
Alerts
trigger only on real structural conditions
include ICC phases, continuations, and optional reversals
Flexible Configuration
ready-to-use profiles for scalping, intraday, swing, and entry execution
manual control over swing length, consolidation behavior, and volatility settings
higher-timeframe filtering and alignment
reversal visualization toggle
Default settings are practical starting points but can be adapted to any instrument or timeframe.
Lower Timeframe Logic Update
On 15-minute charts and below, the indicator now shifts focus
from full structure confirmation to entry detection.
When price breaks the most recent support or resistance, an ENTRY flag appears.
This helps:
time the end of corrections more precisely
align with higher-timeframe bias
detect early counter-trend reversals when alignment is missing
The final row of the table always keeps the HTF phase visible,
so broader structure context is never lost inside lower-timeframe noise.
Intended Purpose
This is a market-structure and contextual analysis tool,
not a magic “buy button.”
Trade decisions, risk management, and execution
always remain the trader’s responsibility.
Quantum Structure is a visual market-structure indicator built around the
Indication → Correction → Continuation (ICC) framework.
In simple terms, it shows:
where structure is just beginning
where the market is pulling back or consolidating
where continuation starts
and where it’s simply better to keep your hands off the chart
The goal is fast market context awareness without constantly jumping between timeframes or manually piecing structure together.
What the Indicator Tracks
Price action is divided into four clear phases:
Indication — the initial structural break or trend initiation
Correction — pullback, consolidation, or accumulation after the move
Continuation — impulse in the direction of structure
Neutral / No Setup — periods without valid structural conditions
Each phase is highlighted directly on the chart so structure can be understood in seconds, not after three cups of coffee.
Core Capabilities
Market Structure & Phase Detection
automatic identification of structural breaks, corrections, and continuations
background shading for clear phase separation
invalidation logic when structure fails or breaks
Multi-Timeframe Context
higher-timeframe structure displayed on lower-timeframe charts
HTF indication levels shown as reference lines
current HTF phase visible in the information table
This keeps the bigger picture in view, even while working inside smaller moves.
Structure Event Visualization
visual markers for continuations and optional reversal structures
clear separation between trend-aligned and counter-structure events
ability to enable or disable reversal visualization
Volatility-Aware Structure Zones
structure-based support and resistance areas
optional ATR-adaptive zone sizing
configurable historical zones with visual hierarchy
Information Table
Displays:
current ICC phase
indication level
consolidation status
higher-timeframe context
Designed for fast situational awareness without overloading the chart.
Alerts
trigger only on real structural conditions
include ICC phases, continuations, and optional reversals
Flexible Configuration
ready-to-use profiles for scalping, intraday, swing, and entry execution
manual control over swing length, consolidation behavior, and volatility settings
higher-timeframe filtering and alignment
reversal visualization toggle
Default settings are practical starting points but can be adapted to any instrument or timeframe.
Lower Timeframe Logic Update
On 15-minute charts and below, the indicator now shifts focus
from full structure confirmation to entry detection.
When price breaks the most recent support or resistance, an ENTRY flag appears.
This helps:
time the end of corrections more precisely
align with higher-timeframe bias
detect early counter-trend reversals when alignment is missing
The final row of the table always keeps the HTF phase visible,
so broader structure context is never lost inside lower-timeframe noise.
Intended Purpose
This is a market-structure and contextual analysis tool,
not a magic “buy button.”
Trade decisions, risk management, and execution
always remain the trader’s responsibility.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.