stats_stats_moving_average
Calculate simple or exponential moving averages from an array of values. Specify window size for SMA or alpha for EMA.
Instructions
[stats] Moving average. kind: simple (SMA) or exponential (EMA, alpha=0.3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| window | No | ||
| kind | No | ||
| alpha | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |