MOMENTUM & OSCILLATORS

ROC percent

The same change as rate-of-change, but left as a fraction rather than a percentage (0.

spec id: rocplength (default 12)

What does ROC percent measure?

The same change as rate-of-change, but left as a fraction rather than a percentage (0.05 instead of 5).

How is ROC percent calculated?

Take today's close, subtract the close from 12 candles ago, and divide by that old close.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use ROC percent in a bot?

In the builder, add an indicator of type rocp (parameters: length, default 12). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on ROC percent — the first backtest is free.

Run a free backtest