OPEN-SOURCE SCRIPT
ATK/DEF Temporal Session Swing State Engine

ATK/DEF — Temporal Session Swing Structure is a quantitative market observation framework built around **Session + Factors + Structure**.
The system organizes market structure into three hierarchical levels:
* **MAJOR Structure** — 4-Hour
* **MINOR Structure** — 1-Hour
* **MICRO Structure** — 15-Minute
These three structural layers are evaluated across **Asia, London, and New York sessions**, allowing the dashboard to display how market conditions are distributed across different structural levels.
### Core Framework
**Session + Factor + Structure**
The system combines session context with multiple quantitative factors, including:
* Multi-timeframe price position
* Swing structure
* Volume relationships
* Liquidity ratios
* ATR expansion and contraction
* Swing frequency
* Swing alternation
* Swing efficiency
* Swing testing structure
* Swing acceptance
* Session high / low structure
* Session breakout states
The dashboard organizes these factors into a structured view rather than relying on a single timeframe or isolated market condition.
### Major / Minor / Micro Structure
The three structural levels provide a hierarchical representation of market movement:
**MICRO → MINOR → MAJOR**
Each layer represents a different structural scale, while the dashboard presents their relationships together with the current session environment.
This framework is designed to reduce isolated timeframe interpretation by combining multiple structural observations into a quantitative display.
### Session Structure
Asia, London, and New York are treated as independent market environments.
For each session, the system records and evaluates:
* Session High
* Session Low
* Session Open
* Session Close
* Session range
* Session breakout state
* Session structural conditions
Session information is displayed together with the Major, Minor, and Micro structural layers.
### Quantitative Dashboard
The dashboard integrates the calculated factors into several observation layers, including:
**Position → Swing Structure → Frequency → Efficiency → Testing → Acceptance → Volatility**
The framework focuses on how price interacts with defined session ranges and structural bol, while the dashboard provides the corresponding multi-timeframe context.
### Market Observation
This indicator is designed for **market observation, quantitative analysis, and defined decision making**.
**For market observation, quantitative analysis, and defined decision making only.**
The system organizes market structure into three hierarchical levels:
* **MAJOR Structure** — 4-Hour
* **MINOR Structure** — 1-Hour
* **MICRO Structure** — 15-Minute
These three structural layers are evaluated across **Asia, London, and New York sessions**, allowing the dashboard to display how market conditions are distributed across different structural levels.
### Core Framework
**Session + Factor + Structure**
The system combines session context with multiple quantitative factors, including:
* Multi-timeframe price position
* Swing structure
* Volume relationships
* Liquidity ratios
* ATR expansion and contraction
* Swing frequency
* Swing alternation
* Swing efficiency
* Swing testing structure
* Swing acceptance
* Session high / low structure
* Session breakout states
The dashboard organizes these factors into a structured view rather than relying on a single timeframe or isolated market condition.
### Major / Minor / Micro Structure
The three structural levels provide a hierarchical representation of market movement:
**MICRO → MINOR → MAJOR**
Each layer represents a different structural scale, while the dashboard presents their relationships together with the current session environment.
This framework is designed to reduce isolated timeframe interpretation by combining multiple structural observations into a quantitative display.
### Session Structure
Asia, London, and New York are treated as independent market environments.
For each session, the system records and evaluates:
* Session High
* Session Low
* Session Open
* Session Close
* Session range
* Session breakout state
* Session structural conditions
Session information is displayed together with the Major, Minor, and Micro structural layers.
### Quantitative Dashboard
The dashboard integrates the calculated factors into several observation layers, including:
**Position → Swing Structure → Frequency → Efficiency → Testing → Acceptance → Volatility**
The framework focuses on how price interacts with defined session ranges and structural bol, while the dashboard provides the corresponding multi-timeframe context.
### Market Observation
This indicator is designed for **market observation, quantitative analysis, and defined decision making**.
**For market observation, quantitative analysis, and defined decision making only.**
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。