Skip to content

/roc

Calculates the Rate of Change (ROC) indicator for the last 100 bars of an asset, given a timeframe.

Syntax

/roc asset time_frame
/roc asset time_frame period
Parameter Required Default Description
asset yes — Asset code. See Asset format.
time_frame yes — M5, M15, M30, H1 or D1. See Timeframes.
period no 12 Period used by the indicator.

Example

/roc BTC/USDT D1 12

Output of the /roc command for BTC/USDT on the D1 timeframe