OPEN-SOURCE SCRIPT
ATK/DEF Temporal Equilibrium Hierarchy

ATK/DEF - Temporal Equilibrium Hierarchy is a multi-timeframe market analysis framework that organizes LMA-based market structure into hierarchical temporal layers.
The framework uses Weekly, Daily, 4H, and 1H LMA layers. Each layer is derived from a liquidity-weighted moving-average calculation using a selectable volatility definition based on True Range, High-Low range, or absolute price change.
### Core Framework
* **Temporal LMA Layers**
Weekly, Daily, 4H, and 1H LMA structures provide separate temporal layers.
* **LMA-Based Structure**
Each layer includes LMA direction, price position relative to the LMA, and slope transition states.
* **Layer Pressure**
Relative ordering between 1H, 4H, Daily, and Weekly LMAs defines Full, Partial, or Neutral pressure states.
* **LMA Compression**
The spread between the four LMA layers is measured relative to their average to classify Compression, Expansion, or Neutral states.
* **Push Validation**
The relationship between price and the 1H LMA, together with 1H LMA slope, defines the displayed push state.
* **Trend State**
The 1H LMA slope provides the defined Uptrend, Downtrend, or Sideways classification.
* **Session Context**
Asia, Europe, and America session windows are displayed alongside the temporal LMA structure.
### Temporal Decision Architecture
The framework organizes multiple timeframes into a layered structure rather than relying on a single moving average.
The LMA layers provide the primary output for temporal direction, structure, pressure, compression, push state, and trend classification. These defined states are presented together to form a multi-dimensional market analysis view.
All classifications are generated from the mathematical conditions defined within the script.
### Analytical Purpose
This script is intended solely for **market observation, quantitative analysis, and user-defined decision-making**.
**Market observation, quantitative analysis, and user-defined decision-making only.**
The framework uses Weekly, Daily, 4H, and 1H LMA layers. Each layer is derived from a liquidity-weighted moving-average calculation using a selectable volatility definition based on True Range, High-Low range, or absolute price change.
### Core Framework
* **Temporal LMA Layers**
Weekly, Daily, 4H, and 1H LMA structures provide separate temporal layers.
* **LMA-Based Structure**
Each layer includes LMA direction, price position relative to the LMA, and slope transition states.
* **Layer Pressure**
Relative ordering between 1H, 4H, Daily, and Weekly LMAs defines Full, Partial, or Neutral pressure states.
* **LMA Compression**
The spread between the four LMA layers is measured relative to their average to classify Compression, Expansion, or Neutral states.
* **Push Validation**
The relationship between price and the 1H LMA, together with 1H LMA slope, defines the displayed push state.
* **Trend State**
The 1H LMA slope provides the defined Uptrend, Downtrend, or Sideways classification.
* **Session Context**
Asia, Europe, and America session windows are displayed alongside the temporal LMA structure.
### Temporal Decision Architecture
The framework organizes multiple timeframes into a layered structure rather than relying on a single moving average.
The LMA layers provide the primary output for temporal direction, structure, pressure, compression, push state, and trend classification. These defined states are presented together to form a multi-dimensional market analysis view.
All classifications are generated from the mathematical conditions defined within the script.
### Analytical Purpose
This script is intended solely for **market observation, quantitative analysis, and user-defined decision-making**.
**Market observation, quantitative analysis, and user-defined decision-making only.**
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.