array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.trader-ppo.php', 1 => 'trader_ppo', ), 'up' => array ( 0 => 'ref.trader.php', 1 => 'Trader İşlevleri', ), 'prev' => array ( 0 => 'function.trader-plus-dm.php', 1 => 'trader_plus_dm', ), 'next' => array ( 0 => 'function.trader-roc.php', 1 => 'trader_roc', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/trader/functions/trader-ppo.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL trader >= 0.2.0)
trader_ppo — Percentage Price Oscillator
real
Array of real values.
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.
mAType
Type of Moving Average. TRADER_MA_TYPE_* series of constants should be used.
Returns an array with calculated data or false on failure.