(PECL trader >= 0.2.0)
trader_adosc — Chaikin A/D Oscillator
$high
,$low
,$close
,$volume
,$fastPeriod
= ?,$slowPeriod
= ?
high
高價,浮點數數組。
low
低價,浮點數數組。
close
收盤價,浮點數數組。
volume
成交量,浮點數數組。
fastPeriod
Number of period for the fast MA. Valid range from 2 to 100000.
slowPeriod
Number of period for the slow MA. Valid range from 2 to 100000.
Returns an array with calculated data or false on failure.