rolling_stats
Compute rolling window statistics for any indicator to smooth noise and highlight trends. Choose mean, standard deviation, min, max, or sum over a window of 2 to 100 periods.
Instructions
Rolling window statistics (mean/std/min/max/sum) for an indicator. Smooths noise, reveals trends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| indicator | Yes | ||
| window | No | Window size in periods (2-100) | |
| op | No | mean | std | min | max | sum | |
| time | No |