OPEN-SOURCE SCRIPT
ATK/DEF Temporal Session State Engine

# ATK / DEF — Temporal Session State Engine
ATK / DEF — Temporal Session State Engine is a multi-timeframe and multi-session market analysis framework combining **HTF / MTF / LTF** data with three major market sessions:
**Asia · Europe · America**
The engine dynamically processes multiple timeframe structures and session data to build a unified view of market conditions.
Its analysis framework includes:
**Behavior · Direction · Momentum · Drive · Liquidity · Breakout · High / Low Structure**
Multiple calculated conditions are organized into a structured **Temporal Session State** framework, allowing market conditions across different timeframes and sessions to be viewed through a unified dashboard.
## Core Features
* HTF / MTF / LTF multi-timeframe analysis
* Monthly / Weekly / Daily / 4H / 1H data layers
* Asia / Europe / America session framework
* Dynamic session-based market analysis
* Multi-factor market condition classification
* Direction and momentum state
* Drive and liquidity state
* Breakout and session range observation
* Swing High / Low structure
* Multi-layer analytical dashboard
* Configurable swing and session display settings
## Framework
The core design combines **timeframe structure + session structure + multiple calculated market states** into a unified analytical framework.
The dashboard provides a compact view of the calculated conditions across different temporal layers and the three major market sessions.
ATK / DEF is designed for **market observation, analysis, and customizable decision-making reference**.
All displayed states and values are generated from the indicator's internal calculations and configured parameters. They are analytical references and should not be interpreted as definitive measurements of market intent, institutional activity, capital flow, or future market behavior.
**No trad sigs. Market analysis only.**
ATK / DEF — Temporal Session State Engine is a multi-timeframe and multi-session market analysis framework combining **HTF / MTF / LTF** data with three major market sessions:
**Asia · Europe · America**
The engine dynamically processes multiple timeframe structures and session data to build a unified view of market conditions.
Its analysis framework includes:
**Behavior · Direction · Momentum · Drive · Liquidity · Breakout · High / Low Structure**
Multiple calculated conditions are organized into a structured **Temporal Session State** framework, allowing market conditions across different timeframes and sessions to be viewed through a unified dashboard.
## Core Features
* HTF / MTF / LTF multi-timeframe analysis
* Monthly / Weekly / Daily / 4H / 1H data layers
* Asia / Europe / America session framework
* Dynamic session-based market analysis
* Multi-factor market condition classification
* Direction and momentum state
* Drive and liquidity state
* Breakout and session range observation
* Swing High / Low structure
* Multi-layer analytical dashboard
* Configurable swing and session display settings
## Framework
The core design combines **timeframe structure + session structure + multiple calculated market states** into a unified analytical framework.
The dashboard provides a compact view of the calculated conditions across different temporal layers and the three major market sessions.
ATK / DEF is designed for **market observation, analysis, and customizable decision-making reference**.
All displayed states and values are generated from the indicator's internal calculations and configured parameters. They are analytical references and should not be interpreted as definitive measurements of market intent, institutional activity, capital flow, or future market behavior.
**No trad sigs. Market analysis only.**
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.