Trader trader_sarext

(PECL trader >= 0.2.0)

trader_sarext — Parabolic 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
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.

반환 값

계산된 데이터가 있는 배열을 반환하거나 실패 시 false를 반환합니다.