Name

CalcROC — Percentage rate of change

Synopsis

CalcROC (ARRAY,
  periods = 12,
  absmode = FALSE);

Returns

ARRAY

Parameters

Name Type Default Description
ARRAY array
periods number 12
absmode boolean FALSE

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/roc.html

Difference from AmiBroker: absmode=True not implemented

Percentage rate of change