indicator_mom
Calculate the momentum (MOM/MTM) indicator from a price array. Requires a price list and an interval period to compute momentum values.
Instructions
动量指标 (MOM/MTM)。需要至少 interval 个数据点
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | 价格数组 | |
| interval | Yes | 计算周期 |