略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: trader_sarext

2024-11-13

trader_sarext

(PECL trader >= 0.2.0)

trader_sarextParabolic SAR - Extended

说明

trader_sarext(
    array $high,
    array $low,
    float $startValue = ?,
    float $offsetOnReverse = ?,
    float $accelerationInitLong = ?,
    float $accelerationLong = ?,
    float $accelerationMaxLong = ?,
    float $accelerationInitShort = ?,
    float $accelerationShort = ?,
    float $accelerationMaxShort = ?
): array

参数

high

高价,浮点数数组。

low

低价,浮点数数组。

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.trader-sarext.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3