indicator_atr
Calculate Average True Range (ATR) to measure market volatility from HLC candles. Supports EMA, RMA, SMA, WMA, and WSMA smoothing methods.
Instructions
平均真实范围(ATR)。测量波动率,不判断方向。支持 EMA/RMA/SMA/WMA/WSMA 平滑算法
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candles | Yes | HLC K 线数组 [{high, low, close}] | |
| period | No | 计算周期 | |
| smoothingType | No | EMA |