# 迪克森移動平均振盪器 (Dickson Moving Average Oscillator)

> 迪克森移動平均振盪器的 StratCraft 指標頁面。

**Route**: `/quantnexus/indicators/dicksonmovingaverageosc/`

## 作用

該振盪器衡量價格與迪克森移動平均線框架之間的差距。它對於動量和拉伸（stretch）分析非常有用。

## 公式

該振盪器將價格與迪克森移動平均基準線進行比較，並將差異表達為動量信號。

## 參數

- `period` - 預設 `30`
- `gainlimit` - 預設 `50`
- `hperiod` - 預設 `7`
- `_movav` - 預設 `EMA`
- `_hma` - 預設 `HMA`

## C++23 API

```cpp
#include <nonabt/indicators/dicksonmovingaverageosc.hpp>
auto dmaosc = std::make_unique<nonabt::DICKSONMOVINGAVERAGEOSC>(data().close(), 30, 50, 7, "EMA", "HMA");
```

## 常見用法

- 用作趨勢振盪器。
- 與零軸規則結合使用。
- 用於識別過度擴張。

## 實用模式

正值可能表明價格在迪克森基準線之上具有強度；負值可能表明疲軟。
