[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-adaptivemovingaverageosc-zh-tw":3},"# 自適應移動平均振盪器 (AMA Oscillator)\n\n> 自適應移動平均振盪器的 StratCraft 指標頁面。\n\n**Route**: `\u002Findicators\u002Fadaptivemovingaverageosc\u002F`\n\n## 作用\n\n該振盪器衡量價格與自適應移動平均線之間的距離或關係。它對於趨勢響應和動量評估非常有用。\n\n## 公式\n\n該振盪器將價格行為與根據市場效率進行調整的自適應移動平均線進行比較。\n\n## 參數\n\n- `period` - 預設 `30`\n- `fast` - 預設 `2`\n- `slow` - 預設 `30`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fadaptivemovingaverageosc.hpp>\nauto amaosc = std::make_unique\u003Cnonabt::ADAPTIVEMOVINGAVERAGEOSC>(data(), 30, 2, 30);\n```\n\n## 常見用法\n\n- 用作趨勢\u002F動量振盪器。\n- 與零軸規則或交叉配合使用。\n- 當你需要自適應平滑而不是固定平均線時非常有用。\n\n## 實用模式\n\n正的振盪器讀數可以表明價格運行在自適應基準線之上；負值可能表明疲軟。\n"]