indicator_adx_direct
Calculate the Average Directional Index (ADX) with +DI and -DI from Binance futures kline data. Specify symbol, interval, period, and smoothing type.
Instructions
ADX 直连版:获取 K 线后直接计算平均趋向指数,同时返回 +DI 和 -DI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 交易对符号 | |
| klineInterval | No | K 线周期 | 1h |
| klineLimit | No | K 线数量 | |
| period | No | 计算周期 | |
| smoothingType | No | EMA |