百分比價格振盪器 (PPO)
歸一化移動平均線價差的 QuantNexus 指標頁面。
Route: /quantnexus/indicators/ppo/
作用
PPO 衡量兩條移動平均線之間的百分比差異。
公式
PPO = ((EMA(period1) - EMA(period2)) / EMA(period2)) * 100
參數
period1- 預設12period2- 預設26_movav- 預設ExponentialMovingAverageperiod_signal- 預設9
C++23 API
#include <nonabt/indicators/ppo.hpp>
auto ppo = std::make_unique<nonabt::PPO>(data().close(), 12, 26, "ExponentialMovingAverage", 9);
常見用法
- 使用信號線進行交叉進場和出場。
- 比較具有不同價格規模的資產之間的價差。
- 將其與趨勢確認或動量過濾器配合使用。
