[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-hullmovingaverageosc-zh-tw":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"]