Board logo

标题: ima()函数中的移位数的作用 [打印本页]

作者: 龙听    时间: 2017-10-30 14:40     标题: ima()函数中的移位数的作用

请问ima()函数中的移位数的作用是?

double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
symbol - 通货标识
timeframe - 时间线
period - 周期
ma_shift - 移动平均线位移
ma_method - 移动平均线模式
applied_price - 应用价格类型
shift - 位移数

ma_shift - 移动平均线位移------ 就是均线整体平移..+向前,-向后
shift - 位移数 ---------如果shift=5就是说从前面第五根开始再往前计算平均值.最近的5根不计算在内.




欢迎光临 龙听期货论坛 (http://www.qhlt.cn/) Powered by Discuz! 7.2