rolling_stats
Calculate rolling window statistics (mean, std, min, max, sum) for an indicator to smooth noise and identify trends.
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 |