indicator_dma
Calculates the dual moving average (DMA) indicator using two moving averages of different periods on price data. Smoothing methods include EMA, RMA, SMA, WMA, and WSMA.
Instructions
双均线 (DMA)。需要至少 max(short, long) 个数据点
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | 价格数组 | |
| short | Yes | 计算周期 | |
| long | Yes | 计算周期 | |
| smoothingType | No | 平滑类型 |