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

请老师改一下 [博易POBO]

咨询内容:

请老师改一下

XA_1:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);

XA_2:=EMA(XA_1,5);

XA_3:=REFDATE(REF(HHV(HIGH,96),5),DATE);

XA_4:=REFDATE(REF(LLV(LOW,96),5),DATE);

XA_5:=(XA_3+XA_4)/2;

顶:IF(XA_1>0 AND XA_1-XA_2<=0,XA_3,XA_3),COLORGREEN,LINETHICK3;

腰:IF(XA_1>0 AND XA_1-XA_2<=0,XA_5,XA_5),COLORGREEN,LINETHICK3;

底:IF(XA_1>0 AND XA_1-XA_2<=0,XA_4,XA_4),COLORGREEN,LINETHICK3;

五:IF(CURRBARSCOUNT=6,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORWHITE,LINETHICK3;

十:IF(CURRBARSCOUNT=11,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;

二十:IF(CURRBARSCOUNT=21,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORRED,LINETHICK3;

三十:IF(CURRBARSCOUNT=31,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORCYAN,LINETHICK3;

六十:IF(CURRBARSCOUNT=61,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;

九十:IF(CURRBARSCOUNT=91,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;

高1:IF(XA_1>0 AND XA_1-XA_2>0,XA_3,DRAWNULL),COLORRED,LINETHICK3;

中1:IF(XA_1>0 AND XA_1-XA_2>0,XA_5,DRAWNULL),COLORRED,LINETHICK3;

低1:IF(XA_1>0 AND XA_1-XA_2>0,XA_4,DRAWNULL),COLORRED,LINETHICK3;
 

 

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

博易技术人员: XA_1:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
XA_2:=EMA(XA_1,5);
XA_3:=REFDATE(REF(HHV(HIGH,96),5),DATE);
XA_4:=REFDATE(REF(LLV(LOW,96),5),DATE);
XA_5:=(XA_3+XA_4)/2;
顶:IF(XA_1>0 AND XA_1-XA_2<=0,XA_3,XA_3),COLORGREEN,LINETHICK3;
腰:IF(XA_1>0 AND XA_1-XA_2<=0,XA_5,XA_5),COLORGREEN,LINETHICK3;
底:IF(XA_1>0 AND XA_1-XA_2<=0,XA_4,XA_4),COLORGREEN,LINETHICK3;
五:IF(DATACOUNT-BARPOS=6,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORWHITE,LINETHICK3;
十:IF(DATACOUNT-BARPOS=11,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
二十:IF(DATACOUNT-BARPOS=21,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORRED,LINETHICK3;
三十:IF(DATACOUNT-BARPOS=31,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORCYAN,LINETHICK3;
六十:IF(DATACOUNT-BARPOS=61,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
九十:IF(DATACOUNT-BARPOS=91,LOW*0.992-0.02,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
高1:IF(XA_1>0 AND XA_1-XA_2>0,XA_3,DRAWNULL),COLORRED,LINETHICK3;
中1:IF(XA_1>0 AND XA_1-XA_2>0,XA_5,DRAWNULL),COLORRED,LINETHICK3;
低1:IF(XA_1>0 AND XA_1-XA_2>0,XA_4,DRAWNULL),COLORRED,LINETHICK3; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容