array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.trader-adxr.php', 1 => 'trader_adxr', ), 'up' => array ( 0 => 'ref.trader.php', 1 => 'Trader 函数', ), 'prev' => array ( 0 => 'function.trader-adx.php', 1 => 'trader_adx', ), 'next' => array ( 0 => 'function.trader-apo.php', 1 => 'trader_apo', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/trader/functions/trader-adxr.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL trader >= 0.2.0)
trader_adxr — Average Directional Movement Index Rating
high
高价,浮点数数组。
low
低价,浮点数数组。
close
收盘价,浮点数数组。
timePeriod
Number of period. Valid range from 2 to 100000.
Returns an array with calculated data or false on failure.