atr
类别:波动率 · 标准指标 · 关键词:atr, ATR, 平均真实波幅, 真实波幅, 波动率, 止损, 波动幅度, 波动性
返回说明
需要解读说明时,使用 POST /api/indicators?explain=true,读取 indicators[响应key].explain。指标数值位于同一对象的 columns 和 data 中。
平均真实波幅,衡量市场波动强度,止损设置和仓位管理的核心工具
参数
| 参数 | 类型 | 默认值 |
|---|---|---|
period | int | 14 |
输出列
| 列名 | 含义 |
|---|---|
atr | — |
特征信号
此指标不提供独立特征信号。
仅描述真实波幅,不含方向或固定异常阈值;ATR 增减不是独立信号。
计算请求设置 signals: true 时,此指标的 signals 为 null;普通数值与绘图仍可使用。不会自动添加交叉、背离或买卖规则。
调用示例
bash
curl -X POST -H "Authorization: Bearer mq_xxx" \
-H "Content-Type: application/json" \
-d '{
"exchange": "binance",
"market": "perp",
"symbol": "BTCUSDT",
"interval": "5m",
"limit": 100,
"calc": [{"name": "atr", "params": {"period": 14}}]
}' \
https://api.mobiusquant.ai/api/indicators同类指标
bollinger · chande_kroll_stop · donchian_channels · fibonacci_bollinger_bands · historical_volatility · keltner_channels · linear_regression_channel · mass_index