OPEN-SOURCE SCRIPT

ATK/DEF MTF Regime Combo Day Structure

1 022
ATK/DEF MTF Regime Combo Day — Structure is a multi-timeframe market observation and regime analysis framework built around higher-timeframe market structure and a multi-layer decision-transfer architecture.

Unlike conventional indicator combinations that display several independent readings side by, this framework processes multiple market dimensions through a structured calculation hierary. Individual observations are transformed into factor scores, factor scores are combined into analytical modules, and the module results are then integrated into a composite market-state output.

The core concept is:

MTF Framework → Multi-Dimensional Analysis → Decision Transfer → Module State → Composite Score → Market Observation**

MTF Regime Framework

The MTF concept forms the upper analytical layer of the framework.

Rather than trating multi-timeframe analysis simply as a collection of separate timeframe readis, the higher-timeframe context is used as the structural environment in which the underlying market information is evaluated.

This allows price behavior, momentum, volatility, volume flow, structural pressure and market activity to be processed within a unified higher-timeframe framework.

The purpose is to provide a faster and more structured view of the market environment represented by the selected timeframe.

Decision-Transfer Architecture

The defining feature of the indicator is its decision-transfer structure.

Raw market information is not dictly converted into a final output. Instead, information paes through several analytical layers:

**Market Data**
→ **Individual Factors**
→ **Factor Scores**
→ **Analytical Modules**
→ **Module States**
→ **Composite Result**

This creates a hierchical analytical structure in which lower-level observations contribute to higher-level state calculations.

The resulting output therefore represents the combined relationship between multiple market dimensions rather than the readg of a single conventional indicator.

C1 — Direction / Momentum / Accumulation / Flow

C1 evaluates the underlying market condition through four dimensions:

* **Direction** — moving-average relationship, price position and directional movement.
* **Momentum** — RSI behavior and recent price change.
* **Accumulation** — price compression, Bollinger Band width and contraction conditions.
* **Flow** — CMF and MFI-based price-volume flow characteristics.

These components are individually scored and then combined into the C1 composite state.

C2 — Density / Breakdown / Vortex / Resistance

C2 focuses on structural price behavior and market positioning:

* **Density** — price-range density and relative volume activity.
* **Breakdown** — interaction with recent high and low ranges, including breakout and testing conditions.
* **Vortex** — candle body, upper/lower shadows and relative range behavior.
* **Resistance** — proxiity to recent structural high and low areas and repeated te behavior.

C2 combines these dimensions into a structural state representation.

### C3 — Radar / Frequency / Chaos / Tra

C3 focuses on price-action characteristics and changing market conditions:

* **Radar** — selected candle and price-action structures.
* **Frequency** — relative range activity and volume participation.
* **Chaos** — directional change frequency together with ADX-based market conditions.
* **Tra** — abnormal range interaction, faild breakout structures and wak breakout conditions.

C3 provides an additional layer for observing changes in market activity and price behavior.

Composite Scoring

Each factor is converted into a normalized score.

The individual factors are aggregated into C1, C2 and C3 module scores. The three module scores are subsequently combined into a Total Score.

The resulting score is classified into five grades:

**A — High State**
**B — Elevated State**
**C — Neutral State**
**D — Weak State**
**E — Low State**

The grades represent the calculated condition of the framework at the current observation point. They are not forecasts of future price behavior.

### Multi-Layer Market Observation

The dashboard presents both the individual factor readins and their higher-level results.

This allows the user to observe the relationship between:

**Factor → Module → State → Grade → Total Result**

The structure is intentionally designed so that the final result remains connected to the undeying analytical components rather than appearing as an isated number.

Swing Structure

The indicator also includes Swing High and Swing Low analysis.

Detected swing points are displayed as structural resistance and support references, while cosecutive swing points can be connected to provide a visual representation of the evolving price structure.

Swing parameters can be adjusted independently, allowing the structural layer to be adapted to different chart conditions.

FIFO Object Management

Historical labels and lines are managed through independent FIFO queues.

This keeps the number of chart objects within the configured limit while maintaining the most recent structural information. The object-management layer operates independently from the analytical scoring framework.

Configurable Parameters

The framework proides configurable parameters for:

* Moving averages
* RSI
* ATR
* Bollinger Bands
* Volume analysis
* DMI / ADX
* Swing High / Low detection
* Historical object limits

Parameter settings can be adjusted according to the characteristics of the market and chart environment being observed.

Intended Use

ATK/DEF MTF Regime Combo Day — Structure is designed as a market observation and analytical context tool.

Its purpose is to organize higher-timeframe information and convert multiple market characteristics into a structured set of calculated states and conclusions.

The indicator does not provide a guartee of fure market behavior and does not constute a predion of fure price movement. Its oputs are calculated observations based on the selected parameters and available market data.

The interptation of the displayed information remans the responsility of the indidual use.

**Core Architecture**

**MTF Higher-Timeframe Framework**
**+ Multi-Dimensional Market Analysis**
**+ Decision-Transfer Calculation**
**+ Structural Price Analysis**
**+ Composite State Classification**

= **Structured Market Observation**

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.