indicator_adx
Calculate the Average Directional Index (ADX) to assess trend strength, with +DI and -DI lines. Values above 25 signal a strong trend.
Instructions
平均趋向指数(ADX)。0-100,>25 表强趋势。同时返回 +DI 和 -DI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candles | Yes | HLC K 线数组 [{high, low, close}] | |
| period | No | 计算周期 | |
| smoothingType | No | EMA |