array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.trader-sarext.php', 1 => 'trader_sarext', ), 'up' => array ( 0 => 'ref.trader.php', 1 => 'Trader Funktionen', ), 'prev' => array ( 0 => 'function.trader-sar.php', 1 => 'trader_sar', ), 'next' => array ( 0 => 'function.trader-set-compat.php', 1 => 'trader_set_compat', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/trader/functions/trader-sarext.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL trader >= 0.2.0)
trader_sarext — Parabolic SAR - Extended
$high
,$low
,$startValue
= ?,$offsetOnReverse
= ?,$accelerationInitLong
= ?,$accelerationLong
= ?,$accelerationMaxLong
= ?,$accelerationInitShort
= ?,$accelerationShort
= ?,$accelerationMaxShort
= ?
high
High price, array of real values.
low
Low price, array of real values.
startValue
Start value and direction. 0 for Auto, >0 for Long, <0 for Short. Valid range from TRADER_REAL_MIN to TRADER_REAL_MAX.
offsetOnReverse
Percent offset added/removed to initial stop on short/long reversal. Valid range from 0 to TRADER_REAL_MAX.
accelerationInitLong
Acceleration Factor initial value for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationLong
Acceleration Factor for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationMaxLong
Acceleration Factor maximum value for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationInitShort
Acceleration Factor initial value for the Short direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationShort
Acceleration Factor for the Short direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationMaxShort
Acceleration Factor maximum value for the Short direction. Valid range from 0 to TRADER_REAL_MAX.
Returns an array with calculated data or false on failure.