trader_sinh

(PECL trader >= 0.2.0) Vector Trigonometric Sinh array trader_sinh ( array $real ) Calculates the hyperbolic sine for each value in real and returns the resulting array. Parameters: real Array of real values. Returns: Returns an array with calculated data or false on failure.

trader_sin

(PECL trader >= 0.2.0) Vector Trigonometric Sin array trader_sin ( array $real ) Calculates the sine for each value in real and returns the resulting array. Parameters: real Array of real values. Returns: Returns an array with calculated data or false on failure.

trader_set_unstable_period

(PECL trader >= 0.2.2) Set unstable period void trader_set_unstable_period ( integer $functionId, integer $timePeriod ) Influences unstable period factor for functions, which are sensible to it. More information about unstable periods can be found on the » TA-Lib API documentation page. Parameters: functionId Function ID the factor should be set for. TRADER_FUNC_UNST_

trader_set_compat

(PECL trader >= 0.2.2) Set compatibility mode void trader_set_compat ( integer $compatId ) Set compatibility mode which will affect the way calculations are done by all the extension functions. Parameters: compatId Compatibility Id. TRADER_COMPATIBILITY_* series of constants should be used. Returns: No value is returned.

trader_sarext

(PECL trader >= 0.2.0) Parabolic SAR - Extended array trader_sarext ( array $high, array $low [, float $startValue [, float $offsetOnReverse [, float $accelerationInitLong [, float $accelerationLong [, float $accelerationMaxLong [, float $accelerationInitShort [, float $accelerationShort [, float $accelerationMaxShort ]]]]]]]] ) Parameters: high High price, array of real

trader_sar

(PECL trader >= 0.2.0) Parabolic SAR array trader_sar ( array $high, array $low [, float $acceleration [, float $maximum ]] ) Parameters: high High price, array of real values. low Low price, array of real values. acceleration Acceleration Factor used up to the Maximum value. Valid range from 0 to TR

trader_rsi

(PECL trader >= 0.2.0) Relative Strength Index array trader_rsi ( array $real [, integer $timePeriod ] ) Parameters: real Array of real values. timePeriod Number of period. Valid range from 2 to 100000. Returns: Returns an array with calculated data or false on failure.

trader_rocr

(PECL trader >= 0.2.0) Rate of change ratio: (price/prevPrice) array trader_rocr ( array $real [, integer $timePeriod ] ) Parameters: real Array of real values. timePeriod Number of period. Valid range from 2 to 100000. Returns: Returns an array with calculated data or false on failure.

trader_rocr100

(PECL trader >= 0.2.0) Rate of change ratio 100 scale: (price/prevPrice)*100 array trader_rocr100 ( array $real [, integer $timePeriod ] ) Parameters: real Array of real values. timePeriod Number of period. Valid range from 2 to 100000. Returns: Returns an array with calculated data or false on failure.

trader_rocp

(PECL trader >= 0.2.0) Rate of change Percentage: (price-prevPrice)/prevPrice array trader_rocp ( array $real [, integer $timePeriod ] ) Parameters: real Array of real values. timePeriod Number of period. Valid range from 2 to 100000. Returns: Returns an array with calculated data or false on failure.