OPEN-SOURCE SCRIPT

ATK/DEF Temporal Session Swing State Engine

374
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.**

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.