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.**
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.