indicators_regime
Classify market regime by analyzing trend and volatility from price data, detecting bullish/bearish/neutral trends and high/low/normal volatility with change signals.
Instructions
Trend + volatility regime + composite risk classification.
Use when classifying market regime (trending vs ranging, high vs low volatility). Provide a price series. Returns: trend regime (bullish/bearish/neutral), volatility regime (high/low/normal), and regime change signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | Array of price data | |
| sma_period | No | SMA period for trend detection | |
| vol_window | No | Window for rolling volatility calculation |