indicator_volatility_regime_direct
Classifies volatility regimes using Bollinger Bands bandwidth historical percentile. Identifies squeeze (pre-breakout low volatility) and expansion (high volatility) to assist position management.
Instructions
波动率状态分类直连版:基于 BB 带宽历史百分位,判断 squeeze(低波突破前兆)→ expansion(高波)。辅助仓位管理
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 交易对符号 | |
| klineInterval | No | K 线周期 | 1h |
| klineLimit | No | K 线数量 | |
| bbPeriod | No | BBands 周期 | |
| lookback | No | 历史比较窗口 |