(PECL trader >= 0.2.0)
trader_adosc — Chaikin A/D Oscillator
$high
, array $low
, array $close
, array $volume
[, int $fastPeriod
[, int $slowPeriod
]] )
high高价,浮点数数组。
low低价,浮点数数组。
close收盘价,浮点数数组。
volume成交量,浮点数数组。
fastPeriodNumber of period for the fast MA. Valid range from 2 to 100000.
slowPeriodNumber of period for the slow MA. Valid range from 2 to 100000.
Returns an array with calculated data or false on failure.