php8.5
Home/ Manual/ trader / functions/ trader_stoch

trader_stoch

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

Stochastic

Description

trader_stoch(array $high, array $low, array $close, [int $fastK_Period], [int $slowK_Period], [int $slowK_MAType], [int $slowD_Period], [int $slowD_MAType]): array

Parameters

high

High

low

Low

close

Close

fastK_Period

Period

slowK_Period

Period

slowK_MAType

Type

slowD_Period

Period

slowD_MAType

Type

Return Values

Returns an array with calculated data or false on failure.

Source: reference/trader/functions/trader-stoch.xml · from the official PHP manual (php/doc-en)