(PECL trader >= 0.2.0)
trader_sarext — 抛物线 SAR - 扩展
$high,$low,$startValue = ?,$offsetOnReverse = ?,$accelerationInitLong = ?,$accelerationLong = ?,$accelerationMaxLong = ?,$accelerationInitShort = ?,$accelerationShort = ?,$accelerationMaxShort = ?
high最高价,实数值数组。
low最低价,实数值数组。
startValue起始值和方向。0 表示自动,>0 表示多头,<0 表示空头。有效范围从 TRADER_REAL_MIN 到 TRADER_REAL_MAX。
offsetOnReverse在空头/多头反转时加到/减去初始止损的百分比偏移量。有效范围从 0 到 TRADER_REAL_MAX。
accelerationInitLong多头方向的加速因子初始值。有效范围从 0 到 TRADER_REAL_MAX。
accelerationLong多头方向的加速因子。有效范围从 0 到 TRADER_REAL_MAX。
accelerationMaxLong多头方向的加速因子最大值。有效范围从 0 到 TRADER_REAL_MAX。
accelerationInitShort空头方向的加速因子初始值。有效范围从 0 到 TRADER_REAL_MAX。
accelerationShort空头方向的加速因子。有效范围从 0 到 TRADER_REAL_MAX。
accelerationMaxShort空头方向的加速因子最大值。有效范围从 0 到 TRADER_REAL_MAX。
如果成功,则返回包含计算数据的数组;如果失败,则返回 false。