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

trader_mavp

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

Moving average with variable period

Description

trader_mavp(array $real, array $periods, [int $minPeriod], [int $maxPeriod], [int $mAType]): array

Parameters

real

Real

periods

Periods

minPeriod

Period

maxPeriod

Period

mAType

Type

Return Values

Returns an array with calculated data or false on failure.

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