[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-movingaveragesimpleosc-ja":3},"# 単純移動平均オシレーター (SMA Oscillator)\n\n> SMA からの価格乖離に関する StratCraft インジケーターページ。\n\n**Route**: `\u002Findicators\u002Fmovingaveragesimpleosc\u002F`\n\n## 機能\n\nMOVINGAVERAGESIMPLEOSC は、価格が単純移動平均線（SMA）からどれだけ離れているかを測定します。\n\n## 計算式\n\n`Oscillator = 価格 - SMA(期間)`\n\n## パラメーター\n\n- `period` - デフォルト `30`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fmovingaveragesimpleosc.hpp>\nauto smaOsc = std::make_unique\u003Cnonabt::MOVINGAVERAGESIMPLEOSC>(data().close(), 30);\n```\n\n## 主な使い方\n\n- ゼロラインを使用して、基準線に対する乖離の度合いを判断します。\n- トレンド方向や上位足のフィルターと組み合わせます。\n- 平均回帰（平均復帰）や押し目買いのセットアップに役立ちます。\n"]