變動率100 (ROC100)
百分比風格變動率的 QuantNexus 指標頁面。
Route: /quantnexus/indicators/roc100/
作用
ROC100 以 100 為基準衡量回看週期內的價格變動。
公式
ROC100 = ((Price / Price_n) - 1) * 100
參數
period- 預設12
C++23 API
#include <nonabt/indicators/roc100.hpp>
auto roc100 = std::make_unique<nonabt::ROC100>(data().close(), 12);
常見用法
- 當你需要以 100 為基準的輸出時,像使用 ROC 一樣使用它。
- 有助於跨資產的動量比較。
- 與閾值規則或背離分析配合使用。
