您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

老师帮忙修改到博弈能使用 [博易POBO]

咨询内容:

老师帮忙修改到博弈能使用

DIFF : EMA(CLOSE,8) - EMA(CLOSE,13);
DEA  : EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;//DIFF减DEA的2倍画柱状线
A1:=BARSLAST(CROSS(DIFF>0&&DEA>0,0.5))+1;
A2:=BARSLAST(CROSS(DIFF<0&&DEA<0,0.5))+1;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=1,0.5),DIFF,'注意'),COLORRED;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=2,0.5),DIFF,'背离'),COLORRED;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=3,0.5),DIFF,'注意'),COLORRED;


DRAWTEXT(A2<A1&&CROSS(COUNT(CROSSDOWN(DIFF,DEA),A2)=1,0.5),DIFF,'要跌'),COLORGREEN;
DRAWTEXT(A2<A1&&CROSS(COUNT(CROSSDOWN(DIFF,DEA),A2)=2,0.5),DIFF,'背离'),COLORGREEN;
DRAWTEXT(A2<A1&&CROSS(COUNT(CROSSDOWN(DIFF,DEA),A2)=3,0.5),DIFF,'注意'),COLORGREEN;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: DIFF : EMA(CLOSE,8) - EMA(CLOSE,13);
DEA  : EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;//DIFF减DEA的2倍画柱状线
A1:=BARSLAST(CROSS(DIFF>0&&DEA>0,0.5))+1;
A2:=BARSLAST(CROSS(DIFF<0&&DEA<0,0.5))+1;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=1,0.5),DIFF,'注意'),COLORRED;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=2,0.5),DIFF,'背离'),COLORRED;
DRAWTEXT(A2>A1&&CROSS(COUNT(CROSS(DIFF,DEA),A1)=3,0.5),DIFF,'注意'),COLORRED;


DRAWTEXT(A2<A1&&CROSS(COUNT(CROSS(DEA,DIFF),A2)=1,0.5),DIFF,'要跌'),COLORGREEN;
DRAWTEXT(A2<A1&&CROSS(COUNT(CROSS(DEA,DIFF),A2)=2,0.5),DIFF,'背离'),COLORGREEN;
DRAWTEXT(A2<A1&&CROSS(COUNT(CROSS(DEA,DIFF),A2)=3,0.5),DIFF,'注意'),COLORGREEN; 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容