Return value of this function is an array of arrays :
index [0]: MACD values
index [1]: Signal values
index [2]: Divergence values
(PECL trader >= 0.2.0)
trader_macd — Moving Average Convergence/Divergence
$real
[, int $fastPeriod
[, int $slowPeriod
[, int $signalPeriod
]]] ) : array
real
Tablica wartości zmiennoprzecinkowych.
fastPeriod
Numer okresu dla szybkiego MA. Wartość z zakresu od 2 do 100000.
slowPeriod
Numer okresu dla wolnego MA. Wartość z zakresu od 2 do 100000.
signalPeriod
Wygładzanie linii sygnału (numer okresu). Wartość z zakresu od 1 do 100000.
Returns an array with calculated data or false on failure.
Return value of this function is an array of arrays :
index [0]: MACD values
index [1]: Signal values
index [2]: Divergence values