indicator_sma
Calculate the simple moving average of a price series to identify trend direction by averaging prices equally over a specified period.
Instructions
简单移动平均线(SMA)。对周期内所有价格等权平均。用于识别趋势方向
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | 价格序列(收盘价) | |
| interval | Yes | 计算周期 |