indicator_stoch_rsi
Calculate the Stochastic RSI indicator for a price array over a specified period. Requires at least twice the period length of data points.
Instructions
随机 RSI (Stochastic RSI)。需要至少 2×interval 个数据点(如 interval=14 则需 ~28 个,不足会返回错误)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | 价格数组 | |
| interval | Yes | 计算周期 |