在线检测未来函数
当前位置:
股旁网
>
通达信答疑
> 怎样计算DIF
怎样计算DIF
来源:Internet,编辑:股旁网,2012-08-31
编写条件:
请教各位前辈。MACD指标里想加入一条明日DIF在什么点位上出现上拐或下拐。请帮编出公式。谢谢了。
编写方法:
&n
bs
p;
dif:ema(c,12)-ema(c,26);
dea:ema(dif,9);
macd
:(dif-dea)*2,colorstick;
sf:=(325*ema(c,26)-297*ema(c,12)+351*dif)/28;
明日dif
拐点
:sf,nodraw;
相关文章