变动率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 一样使用它。
- 有助于跨资产的动量比较。
- 与阈值规则或背离分析配合使用。
