[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-hullmovingaverageosc-zh":3},"# 赫尔移动平均振荡器 (HMA Oscillator)\n\n> HMA 动量扩张的 StratCraft 指标页面。\n\n**Route**: `\u002Findicators\u002Fhullmovingaverageosc\u002F`\n\n## 作用\n\nHULLMOVINGAVERAGEOSC 衡量价格偏离赫尔移动平均线（HMA）的程度。\n\n## 公式\n\n`振荡器 = 价格 - HMA(period)`\n\n## 参数\n\n- `period` - 默认 `30`\n- `_movav` - 默认 `WMA`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fhullmovingaverageosc.hpp>\nauto hmaOsc = std::make_unique\u003Cnonabt::HULLMOVINGAVERAGEOSC>(data().close(), 30, \"WMA\");\n```\n\n## 常见用法\n\n- 使用零轴进行动量确认。\n- 与 HMA 或 HMA 包络线（envelope bands）配合使用以检测扩张。\n- 对回调时机和短期均值回归非常有用。\n"]