[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-weightedmovingaverageosc-zh-tw":3},"# 加權移動平均振盪器 (WMA Oscillator)\n\n> 距離加權移動平均基準線距離的 StratCraft 指標頁面。\n\n**Route**: `\u002Findicators\u002Fweightedmovingaverageosc\u002F`\n\n## 作用\n\nWEIGHTEDMOVINGAVERAGEOSC 衡量價格偏離加權移動平均線（WMA）的程度。\n\n## 公式\n\n`振盪器 = 價格 - WMA(period)`\n\n## 參數\n\n- `period` - 預設 `30`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fweightedmovingaverageosc.hpp>\nauto wmaOsc = std::make_unique\u003Cnonabt::WEIGHTEDMOVINGAVERAGEOSC>(data().close(), 30);\n```\n\n## 常見用法\n\n- 使用零軸進行動量確認。\n- 與 WMA 或 WMA 包絡線（envelope bands）配合使用以檢測擴張。\n- 有助於回調時機和短期均值回歸的判斷。\n"]