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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。