timePeriod can be from 1 (not from 2)
Working correctly, and tis is common need to calculate change from previos period.
(PECL trader >= 0.2.0)
trader_rocr — Ratio del ritmo de cambio: (precio/precioAnterior)
real
Array de valores reales.
timePeriod
Número del periodo. Rango válido desde 2 hasta 100000.
Devuelve un array con los datos calculados o false en caso de error.
timePeriod can be from 1 (not from 2)
Working correctly, and tis is common need to calculate change from previos period.