AI Block: Volatility Regime — what it is and how to use it in trading
Definition
Volatility Regime (volatility.regime) is an AI block that classifies the current market's volatility state into one of four values: Low (calm), Normal, High, or Extreme.
How it works in the builder
An enum operand encoded Low=0, Normal=1, High=2, Extreme=3 — compared to a constant with a normal operator (e.g. volatility.regime == 2). Like the other AI blocks, it is read from a precomputed cache and always evaluates false in backtest.
What it looks like on the chart
Drawn as a 4-segment Low/Norm/High/Extr gauge — the active regime's segment is highlighted, the other three are dimmed.
Typical use
Typical condition: volatility.regime <= 1 as a "trade only in a calm or normal regime" filter, excluding extreme conditions. Available only in LIVE strategies and only on the Pro plan.
Common pitfalls
The regime is a categorical reading, not a plain number — arithmetic operators (>, <) only make sense because of the ordered encoding (0-3); compare it deliberately (e.g. <= 1), not as an arbitrary numeric condition.
This block is available in the strategy builder
137 no-code blocks — build an entry condition with this term and test it on history
Historical results do not guarantee future ones. The service is an informational and analytical tool, not an individual investment recommendation; trades are not executed.