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

trader_macdext

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

MACD with controllable MA type

Description

trader_macdext(array $real, [int $fastPeriod], [int $fastMAType], [int $slowPeriod], [int $slowMAType], [int $signalPeriod], [int $signalMAType]): array

Parameters

real

Real

fastPeriod

Period

fastMAType

Type

slowPeriod

Period

slowMAType

Type

signalPeriod

Period

signalMAType

Type

Return Values

Returns an array with calculated data or false on failure.

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