trader_adosc
(PECL trader >= 0.2.0)
trader_adosc — Chaikin A/D Oscillator
说明
trader_adosc(
array
array
array
array
int
int
): array
array
$high,array
$low,array
$close,array
$volume,int
$fastPeriod = ?,int
$slowPeriod = ?): array
参数
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.