编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « trader_ppo
  • trader_rocp »
  • PHP Manual
  • Trader 函数
  • Rate of change : ((price/prevPrice)-1)*100

trader_roc

(PECL trader >= 0.2.0)

trader_roc — Rate of change : ((price/prevPrice)-1)*100

说明

trader_roc ( array $real [, int $timePeriod ] ) : array

参数

real

浮点数数组。

timePeriod

Number of period. Valid range from 2 to 100000.

返回值

Returns an array with calculated data or false on failure.

相关文章
php runkit 函数 change a function s namephp 杂项 函数 get or set vt100 support for the specified stream associated to an output buffer of a windows console.php trader 函数 vector trigonometric acosphp trader 函数 absolute price oscillatorphp trader 函数 average pricephp trader 函数 commodity channel indexphp trader 函数 dojiphp trader 函数 identical three crowsphp trader 函数 rising/falling three methodsphp trader 函数 pearson s correlation coefficient r php trader 函数 median pricephp trader 函数 midpoint price over periodphp trader 函数 percentage price oscillatorphp trader 函数 rate of change price/prevprice 1 *100php trader 函数 rate of change percentage price prevprice /prevpricephp trader 函数 rate of change ratio price/prevprice php trader 函数 rate of change ratio 100 scale price/prevprice *100php trader 函数 1 day rate of change roc of a triple smooth emaphp trader 函数 typical pricephp trader 函数 weighted close price
关注编程学问公众号
编程学问网 湘ICP备20001732号