indicator_adx
Compute the Average Directional Index (ADX) to assess trend strength using HLC candles and a specified interval, with optional smoothing.
Instructions
平均趋向指数 (ADX)。需要至少 2×interval 个数据点(如 interval=14 则需 ~27 个,不足会返回错误)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candles | Yes | HLC 数组 | |
| interval | Yes | 计算周期 | |
| smoothingType | No | 平滑类型 |