GoLang trader_mama

request it (37)
GoLang replacement for PHP's trader_mama [edit | history]



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

PHP trader_mama

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

trader_mama

(PECL trader >= 0.2.0)

trader_mamaMESA Adaptive Moving Average

Description

array trader_mama ( array $real [, float $fastLimit [, float $slowLimit ]] )

Parameters

real

Array of real values.

fastLimit

Upper limit use in the adaptive algorithm. Valid range from 0.01 to 0.99.

slowLimit

Lower limit use in the adaptive algorithm. Valid range from 0.01 to 0.99.

Return Values

Returns an array with calculated data or false on failure.