老师,请您帮我改下MACD指标,谢谢 [博易POBO]
咨询内容:
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
A1:=DIFF<REF(DIFF,1) AND REF(DIFF,2)<REF(DIFF,1) AND DIFF>0;
A2:=DIFF>REF(DIFF,1) AND REF(DIFF,1)<REF(DIFF,2) AND DIFF<0;
DRAWTEXT(A1 AND C>O,DIFF,'顶背离');
DRAWTEXT(A2 AND C<O,DIFF,'底背离'); 谢谢老师还有这根线的背离BAR:2*(DIFF-DEA); 来源 程序化久久网
老师,请您帮我改下MACD指标,谢谢
老师,能把MACD指标发生背离时用文字显示出来吗?红绿柱创新低(高)股价不创新低(高),,黄白线不创新低(高),而股价创新低(高),红绿柱面积比前一段的面积小,而股价创新低(高)谢谢!
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
A1:=DIFF<REF(DIFF,1) AND REF(DIFF,2)<REF(DIFF,1) AND DIFF>0;
A2:=DIFF>REF(DIFF,1) AND REF(DIFF,1)<REF(DIFF,2) AND DIFF<0;
DRAWTEXT(A1 AND C>O,DIFF,'顶背离');
DRAWTEXT(A2 AND C<O,DIFF,'底背离'); 谢谢老师还有这根线的背离BAR:2*(DIFF-DEA); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容