Moving Average with Variable Period (MAVP).
ta_mavpta.stub.php| Parameter | Type | Description |
|---|---|---|
$values |
float[] | |
$periods |
float[] | |
$minPeriod |
int | Default 2 |
$maxPeriod |
int | Default 30 |
$maType |
int | Default TA_MA_TYPE_SMA |
| **array<int,float | null>** |
Values aligned to input indexes (leading nulls).