indicator_sma
Compute the simple moving average from price data and a specified interval to identify trends and smooth price fluctuations.
Instructions
简单移动平均线 (SMA)。需要至少 interval 个数据点
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | 价格数组 | |
| interval | Yes | 计算周期 |