wilder
语法
wilder(X, window)
TA-lib 系列函数参数说明和窗口计算规则请参考:TAlib
详情
例子
x=12.1 12.2 12.6 12.8 11.9 11.6 11.2
wilder(x,3);
# output
[,,12.299999999999998,12.466666666666668,12.27777777777778,12.051851851851854,11.767901234567903]
x=matrix(12.1 12.2 12.6 12.8 11.9 11.6 11.2, 14 15 18 19 21 12 10)
wilder(x,3);
col1 | col2 |
---|---|
12.3 | 15.6667 |
12.4667 | 16.7778 |
12.2778 | 18.1852 |
12.0519 | 16.1235 |
11.7679 | 14.0823 |