indicator_atr_direct
Calculate Average True Range (ATR) directly from Binance kline data, supporting EMA, RMA, SMA, WMA, and WSMA smoothing algorithms for volatility assessment.
Instructions
ATR 直连版:获取 K 线后直接计算平均真实范围,支持 EMA/RMA/SMA/WMA/WSMA 5 种平滑算法
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 交易对符号 | |
| klineInterval | No | K 线周期 | 1h |
| klineLimit | No | K 线数量 | |
| period | No | 计算周期 | |
| smoothingType | No | EMA |