趋向指标 (DMI)
DMI 的 QuantNexus 指标页面。
Route: /quantnexus/indicators/dmi/
作用
DMI 通过比较方向性运动来确定上升或下降趋势压力哪个更强。
公式
DMI 在回看周期内比较正向和负向的方向性运动组件。
参数
period- 默认14movav- 默认SmoothedMovingAverage
C++23 API
#include <nonabt/indicators/dmi.hpp>
auto dmi = std::make_unique<nonabt::DMI>(data(), 14, "SmoothedMovingAverage");
常见用法
- 将 DMI 用作趋势方向过滤器。
- 与 ADX 配合使用以衡量趋势强度。
- 在突破和趋势跟踪系统中非常有用。
实用模式
当正向方向性运动占主导地位时,系统往往倾向于多头确认。
