Documentation / @finchart/indicators / roc
Function: roc()
roc(
source,options?):Roc
Defined in: indicators/src/factories.ts:1648
Rate of Change (ROC) — the close against the close period bars back, as a percentage, and an sma of that as its signal. null for the first period bars and wherever the close it compares against is 0 (the canonical KLineChart writes 0 there — a reading where there is none).
Parameters
source
Source<OHLC>
options?
RocOptions = {}