trader_mama

MESA Adaptive Moving Average

説明

array trader_mama(array $real, float $fastLimit = ?, float $slowLimit = ?)

パラメータ

real

実数値の配列。

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.

戻り値

Returns an array with calculated data or false on failure.