[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-roc-en":3},"# Rate Of Change (ROC)\n\n> StratCraft indicator page for the ROC momentum oscillator.\n\n**Route**: `\u002Findicators\u002Froc\u002F`\n\n## What It Does\n\nROC measures how quickly price is changing over a lookback period. It is a momentum indicator that can be used for trend strength or divergence analysis.\n\n## Formula\n\n`ROC = ((Price \u002F Price_n) - 1) * 100`\n\n## Parameters\n\n- `period` - default `12`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Froc.hpp>\nauto roc = std::make_unique\u003Cnonabt::ROC>(data().close(), 12);\n```\n\n## Common Usage\n\n- Use ROC to detect momentum acceleration or deceleration.\n- Combine ROC with threshold rules around zero.\n- Helpful for identifying overextended moves.\n\n## Practical Pattern\n\nA rising ROC above zero suggests positive momentum; a falling ROC below zero suggests negative momentum.\n"]