# 指數移動平均振盪器 (EMA Oscillator)

> EMA 偏差動量的 StratCraft 指標頁面。

**Route**: `/indicators/exponentialmovingaverageosc/`

## 作用

EXPONENTIALMOVINGAVERAGEOSC 衡量價格偏離其指數移動平均線（EMA）的程度。

## 公式

`振盪器 = 價格 - EMA(period)`

## 參數

- `period` - 預設 `14`

## C++23 API

```cpp
#include <nonabt/indicators/exponentialmovingaverageosc.hpp>
auto emaOsc = std::make_unique<nonabt::EXPONENTIALMOVINGAVERAGEOSC>(data().close(), 14);
```

## 常見用法

- 用於發現偏離趨勢的動量擴張。
- 與趨勢過濾器或均值回歸觸發信號配合使用。
- 當你需要一個直接的 EMA 離散信號時非常有用。
