GoLang trader_ma

request it (127)
GoLang replacement for PHP's trader_ma [edit | history]



Do you know a GoLang replacement for PHP's trader_ma? Write it!

PHP trader_ma

PHP original manual for trader_ma [ show | php.net ]

trader_ma

(PECL trader >= 0.2.0)

trader_maMoving average

Description

array trader_ma ( array $real [, int $timePeriod [, int $mAType ]] )

Parameters

real

Array of real values.

timePeriod

Number of period. Valid range from 2 to 100000.

mAType

Type of Moving Average. TRADER_MA_TYPE_* series of constants should be used.

Return Values

Returns an array with calculated data or false on failure.