indicator_atr
Calculate Average True Range (ATR) from high, low, close candle data. Specify interval and optional smoothing type (EMA, RMA, SMA, WMA, WSMA) to measure market volatility.
Instructions
平均真实范围 (ATR)。需要至少 interval 个数据点
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candles | Yes | HLC 数组 | |
| interval | Yes | 计算周期 | |
| smoothingType | No | 平滑类型 |