PROTECTED SOURCE SCRIPT
Multi-Layer Density Zones (Trend, Horizontal, Parabolic)

**Title:** Multi-Layer Density Zones (Trend, Horizontal, Parabolic)
**Summary:**
This advanced indicator visualizes market structure by identifying "Price Density Zones" across three different geometries simultaneously. Unlike standard Support/Resistance indicators, it calculates where price action has historically clustered relative to a baseline, using statistical distribution (Quantile) logic.
**Key Features:**
* **3 Distinct Layers:**
1. **Trend Layer (Oblique):** Automatically detects trend channels using Linear Regression or classic Start-End points. Ideal for identifying dynamic support/resistance in trending markets.
2. **Horizontal Layer:** Scans for classic static price levels where price has spent the most time.
3. **Parabolic Layer (Matrix-Based):** Uses advanced **Matrix Mathematics** to solve Polynomial Regression (up to degree 4). It fits curves ("U" or "S" shapes) to price action, capturing non-linear market cycles.
* **Quantile vs. Linear Mode:**
* *Quantile (Density Focused):* Zones are spaced based on data density. Areas with high price activity become narrower and more defined.
* *Linear:* Creates equally spaced parallel channels.
* **Interactive History:** You can select specific starting dates directly from the chart to analyze specific market phases.
* **Dynamic Visualization:** Uses gradient shading (`linefill`) to highlight zones; denser areas can be made more visible while sparse areas remain transparent.
**How to Use:**
Use the **Parabolic Layer** to catch market reversals where linear trends fail. Use the **Trend Layer** for channel trading and the **Horizontal Layer** for key breakout levels.
**Summary:**
This advanced indicator visualizes market structure by identifying "Price Density Zones" across three different geometries simultaneously. Unlike standard Support/Resistance indicators, it calculates where price action has historically clustered relative to a baseline, using statistical distribution (Quantile) logic.
**Key Features:**
* **3 Distinct Layers:**
1. **Trend Layer (Oblique):** Automatically detects trend channels using Linear Regression or classic Start-End points. Ideal for identifying dynamic support/resistance in trending markets.
2. **Horizontal Layer:** Scans for classic static price levels where price has spent the most time.
3. **Parabolic Layer (Matrix-Based):** Uses advanced **Matrix Mathematics** to solve Polynomial Regression (up to degree 4). It fits curves ("U" or "S" shapes) to price action, capturing non-linear market cycles.
* **Quantile vs. Linear Mode:**
* *Quantile (Density Focused):* Zones are spaced based on data density. Areas with high price activity become narrower and more defined.
* *Linear:* Creates equally spaced parallel channels.
* **Interactive History:** You can select specific starting dates directly from the chart to analyze specific market phases.
* **Dynamic Visualization:** Uses gradient shading (`linefill`) to highlight zones; denser areas can be made more visible while sparse areas remain transparent.
**How to Use:**
Use the **Parabolic Layer** to catch market reversals where linear trends fail. Use the **Trend Layer** for channel trading and the **Horizontal Layer** for key breakout levels.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.