RegimeMatrix
- Индикаторы
- Версия: 1.0
Regime Matrix is a multi-timeframe market-state indicator designed to classify current market conditions across selected timeframes. It displays a compact analytical panel directly on the chart and provides buffers for Expert Advisors through iCustom().
The indicator helps traders evaluate whether the market is trending, ranging, compressed, expanding, or overextended. Each timeframe is calculated independently, allowing short-term and higher-timeframe conditions to be compared in a single view.
Panel Columns
- TF — the analyzed timeframe.
- STATE — the detected market regime.
- LONG — a directional bias score from 0 to 100. Higher values indicate stronger long-side conditions.
- SHORT — a directional bias score from 0 to 100. Higher values indicate stronger short-side conditions.
- VOL — a normalized volatility score. Values near 1.00 indicate normal volatility, values below 1.00 indicate reduced volatility, and values above 1.00 indicate elevated volatility. VOL does not refer to trading volume or tick volume.
Market States
- Neutral — no dominant market condition is detected.
- Trend Up — the current structure is biased upward.
- Trend Down — the current structure is biased downward.
- Range — no strong directional dominance is detected.
- Compression — volatility is relatively compressed.
- Expansion — volatility is elevated compared to recent conditions.
- Overextension Up — price is extended upward relative to the current structure.
- Overextension Down — price is extended downward relative to the current structure.
How to Interpret the Values
LONG and SHORT are analytical bias scores, not trade signals. Values from 0 to 30 usually indicate weak conditions, 30 to 60 neutral or moderate conditions, 60 to 80 strong conditions, and 80 to 100 very strong conditions.
LONG and SHORT do not have to add up to 100. Certain regimes may reduce both scores, while unstable volatility conditions may keep both sides active.
For VOL, values below 0.75 usually indicate compression, values around 1.00 indicate normal volatility, values above 1.35 indicate expansion, and values above 2.00 indicate highly elevated volatility.
Input Parameters
- Enable Panel — enables or disables the on-chart panel.
- Panel Corner — selects the chart corner used as the panel anchor.
- Panel X — horizontal distance from the selected corner.
- Panel Y — vertical distance from the selected corner.
- Timeframe 1–7 — defines the timeframes displayed in the matrix.
- Maximum Bars — defines the maximum number of bars used for the indicator buffers.
Indicator Buffers
- Buffer 0 — Regime
- Buffer 1 — Long Bias
- Buffer 2 — Short Bias
- Buffer 3 — Trend Score
- Buffer 4 — Volatility Score
- Buffer 5 — Extension Score
Regime values: 0 — Neutral, 1 — Trend Up, 2 — Trend Down, 3 — Range, 4 — Compression, 5 — Expansion, 6 — Overextension Up, 7 — Overextension Down.
Important Note
Regime Matrix is an analytical market-state indicator. It does not draw arrows or direct buy/sell signals, does not guarantee future price movement, and should not be used as a standalone trading system. Always use proper risk management.
