Trader Functions
PHP Manual

trader_roc

(PECL trader >= 0.2.0)

trader_rocRate of change : ((price/prevPrice)-1)*100

Description

array trader_roc ( array $real [, integer $timePeriod ] )

Warning

This function is currently not documented; only its argument list is available.

Parameters

real

timePeriod

Return Values

Returns an array with calculated data or false on failure.


Trader Functions
PHP Manual