财务时间序列的移动平均值
movavg
已更新以接受数据输入作为矩阵,桌子
, or时间表
.
The syntax formovavg
has changed. There is no longer support for the input arguments带领
和落后
, only a singlewindowSize
受支持万博1manbetx,只有一个输出参数(嘛
)。如果要计算领先和滞后的移动平均值,则需要运行movavg
twice and adjust thewindowSize
.
计算财务时间序列的移动平均值(MA)。嘛
= movavg(数据
,type
,windowSize
)
adds an optional argument for嘛
= movavg(___,Initialpoints
)Initialpoints
.
[1] Achelis, S. B.Technical Analysis from A to Z.Second Edition. McGraw-Hill, 1995, pp. 184–192.