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根不计算在内.

本博客所有文章如无特别注明均为原创。作者:天泓评测
分享到:更多

相关推荐

发表评论

路人甲 表情
Ctrl+Enter快速提交

网友评论(0)