indicator_dx
Calculate the Directional Movement Index (DX) to measure trend strength from high, low, close candle data. Specify interval and optional smoothing type.
Instructions
方向性运动指标 (DX)。需要至少 2×interval 个数据点(如 interval=14 则需 ~27 个)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candles | Yes | HLC 数组 | |
| interval | Yes | 计算周期 | |
| smoothingType | No | 平滑类型 |