phpday 2027 - Call for Papers

trader_stochf

(PECL trader >= 0.2.0)

trader_stochf — Stochastic Fast

Опис

function trader_stochf(
    array $high,
    array $low,
    array $close,
    int $fastK_Period = ?,
    int $fastD_Period = ?,
    int $fastD_MAType = ?
): array

Параметри

high

Найвища ціна, масив дійсних значень.

low

Найнижча ціна, масив дійсних значень.

close

Ціна під час закриття, масив дійсних значень.

fastK_Period

Часовий проміжок побудови лінії Fast-K. Допустимі значення від 1 до 100000.

fastD_Period

Згладжування для створення лінії Fast-D. Допустимі значення від 1 до 100000, зазвичай дорівнює 3.

fastD_MAType

Тип рухомого середнього для Fast-D. Застовується одна з констант TRADER_MA_TYPE_*.

Значення, що повертаються

Returns an array with calculated data or false on failure.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top