roc property
Rate of change indicator (ROC). The indicator value for each point is defined as:
(C - Cn) / Cn * 100
where: C
is the close value of the point of the same x in the
linked series and Cn
is the close value of the point n
periods
ago. n
is set through period.
This series requires linkedTo
option to be set.
Configuration options for the series are given in three levels:
- Options for all series in a chart are defined in the plotOptions.series object.
- Options for all
roc
series are defined in plotOptions.roc. - Options for one single series are given in the series instance array.
API Docs: https://api.highcharts.com/highstock/plotOptions.roc
Implementation
HighchartsROCSeriesOptions? roc;