(PECL trader >= 0.2.0)
trader_sarext — Parabolic SAR - Extended
$high,$low,$startValue = ?,$offsetOnReverse = ?,$accelerationInitLong = ?,$accelerationLong = ?,$accelerationMaxLong = ?,$accelerationInitShort = ?,$accelerationShort = ?,$accelerationMaxShort = ?
high高价,浮点数数组。
low低价,浮点数数组。
startValueStart value and direction. 0 for Auto, >0 for Long, <0 for Short. Valid range from TRADER_REAL_MIN to TRADER_REAL_MAX.
offsetOnReversePercent offset added/removed to initial stop on short/long reversal. Valid range from 0 to TRADER_REAL_MAX.
accelerationInitLongAcceleration Factor initial value for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationLongAcceleration Factor for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationMaxLongAcceleration Factor maximum value for the Long direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationInitShortAcceleration Factor initial value for the Short direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationShortAcceleration Factor for the Short direction. Valid range from 0 to TRADER_REAL_MAX.
accelerationMaxShortAcceleration 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.