StratCraft

雙重指數移動平均振盪器 (DEMA Oscillator)

DEMA 振盪器的 QuantNexus 指標頁面。

Route: /quantnexus/indicators/doubleexponentialmovingaverageosc/

作用

該振盪器衡量雙重指數移動平均線周圍的動量關係,對於低滯後的趨勢分析非常有用。

公式

該振盪器將價格與 DEMA 基準線進行比較,並將距離表達為動量風格的振盪器。

參數

  • period - 預設 30
  • _movav - 預設 EMA

C++23 API

#include <nonabt/indicators/doubleexponentialmovingaverageosc.hpp>
auto demaosc = std::make_unique<nonabt::DOUBLEEXPONENTIALMOVINGAVERAGEOSC>(data().close(), 30, "EMA");

常見用法

  • 用作趨勢/動量振盪器。
  • 與零軸邏輯或交叉配合使用。
  • 有助於檢測轉折點。

實用模式

高於零的振盪器值可能表明看漲壓力;低於零可能表明看跌壓力。