OPEN-SOURCE SCRIPT
ATK/DEF Session Equilibrium State

ATK/DEF - Session Equilibrium State is a session-based market analysis framework built around three defined market sessions: Asia, London, and New York.
The core structure consists of three independent session moving averages. Each moving average is assigned to a specific market session and calculated according to the selected moving-average type and length.
### Core Structure
* **Asia Session MA**
Independent moving average for the Asia session.
* **London Session MA**
Independent moving average for the London session.
* **New York Session MA**
Independent moving average for the New York session.
* **Session-Based MA Structure**
Three independent moving averages representing the three defined market sessions.
* **Global MA Reference**
Optional global moving average for additional structural reference.
* **Breakout / Fakeout State**
Records Break Up, Break Down, and Fakeout conditions based on the relationship between price and the corresponding session moving average.
* **Session State Panel**
Displays the defined state, direction, and result for each session.
### Session Equilibrium Framework
The framework uses independent moving-average structures to observe the relationship between price and the corresponding market session.
Asia, London, and New York are treated as separate session layers, with each layer maintaining its own moving-average structure and defined state conditions.
Breakout and Fakeout classifications are generated from the price and moving-average conditions defined within the script.
### Analytical Purpose
This script is intended solely for market observation, quantitative analysis, and defined decision-making.
Market direction and structural interpretation remain subject to the own analysis and decision-making.
**Market observation, quantitative analysis, and defined decision-making only.**
The core structure consists of three independent session moving averages. Each moving average is assigned to a specific market session and calculated according to the selected moving-average type and length.
### Core Structure
* **Asia Session MA**
Independent moving average for the Asia session.
* **London Session MA**
Independent moving average for the London session.
* **New York Session MA**
Independent moving average for the New York session.
* **Session-Based MA Structure**
Three independent moving averages representing the three defined market sessions.
* **Global MA Reference**
Optional global moving average for additional structural reference.
* **Breakout / Fakeout State**
Records Break Up, Break Down, and Fakeout conditions based on the relationship between price and the corresponding session moving average.
* **Session State Panel**
Displays the defined state, direction, and result for each session.
### Session Equilibrium Framework
The framework uses independent moving-average structures to observe the relationship between price and the corresponding market session.
Asia, London, and New York are treated as separate session layers, with each layer maintaining its own moving-average structure and defined state conditions.
Breakout and Fakeout classifications are generated from the price and moving-average conditions defined within the script.
### Analytical Purpose
This script is intended solely for market observation, quantitative analysis, and defined decision-making.
Market direction and structural interpretation remain subject to the own analysis and decision-making.
**Market observation, quantitative analysis, and defined decision-making 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.