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

改成博易大师 [博易POBO]

咨询内容:

改成博易大师

DIF1:=EMA(CLOSE,120) - EMA(CLOSE,360);
DEA1:=EMA(DIF1,90);
MACD1:(DIF1-DEA1)*2,COLORSTICK;
DIF11:=EMA(CLOSE,80) - EMA(CLOSE,90);
DEA11:=EMA(DIF11,12);
MACD11:(DIF11-DEA11)*2,COLORSTICK;
FILLRGN(DIF1>=DEA1,DIF1,DEA1,RGB(155,50,50));
FILLRGN(DIF1<DEA1,DIF1,DEA1,RGB(0,100,50));
DIF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIF,4.5);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE1(MACD11>0,0,MACD11,1.5,0),COLORFF0088;
STICKLINE1(MACD11<0,0,MACD11,1.5,0),COLOR00FFFF;
STICKLINE1(MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE1(MACD1<0,0,MACD1,1,0),COLORBLUE;
STICKLINE1(MACD>0,0,MACD,0.5,0),COLORYELLOW;
STICKLINE1(MACD<0,0,MACD,0.5,0),COLOR00DD00;
DIFFFF:DIF11,COLORFF0088,NODRAW;
DEAAAA:DEA11,COLOR00AAFF,NODRAW;
DIFFF:DIF1,COLORRED,NODRAW;
DEAAA:DEA1,COLORBLUE,NODRAW;
DIFF:DIF,COLORYELLOW,NODRAW;
DEAA:DEA,COLORGREEN,NODRAW;
动力线:MA(MACD1,5),COLORYELLOW,LINETHICK1;
中区:0,COLORBLUE,NODRAW;
主动:IF(MACD1>=动力线 AND 动力线<=中区,动力线,NULL),COLORYELLOW,LINETHICK2;
主拉:IF(动力线>=中区,动力线,NULL),COLORRED,LINETHICK2;
翻空:IF(动力线<中区 AND 动力线>MACD1,动力线,NULL),COLORGREEN,LINETHICK2;
AA:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
BB:=REF(CLOSE,AA+1)>CLOSE AND DIF1>REF(DIF1,AA+1) AND CROSS(DIF1,DEA1);
JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二金:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二金,DEA*1.04,15) ;
DRAWTEXT(二金,-0.02,' 2'),COLORFF00FF;
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,25);
VAR2:=EMA(VAR1,3);
VAR3:=VAR1>VAR2;
VAR4:=VAR1<VAR2;
STICKLINE1(VAR3,VAR1,VAR2,1,0),COLORRED;
STICKLINE1(VAR4,VAR1,VAR2,1,0),COLORGREEN;
 

 

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

博易技术人员: DIF1:=EMA(CLOSE,120) - EMA(CLOSE,360);
DEA1:=EMA(DIF1,90);
MACD1:(DIF1-DEA1)*2,COLORSTICK;
DIF11:=EMA(CLOSE,80) - EMA(CLOSE,90);
DEA11:=EMA(DIF11,12);
MACD11:(DIF11-DEA11)*2,COLORSTICK;
FILLRGN(DIF1>=DEA1,DIF1,DEA1),COLOR32329B;
FILLRGN(DIF1<DEA1,DIF1,DEA1),COLOR326400;
DIF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIF,4.5);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(MACD11>0,0,MACD11,1.5,0),COLORFF0088;
STICKLINE(MACD11<0,0,MACD11,1.5,0),COLOR00FFFF;
STICKLINE(MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1<0,0,MACD1,1,0),COLORBLUE;
STICKLINE(MACD>0,0,MACD,0.5,0),COLORYELLOW;
STICKLINE(MACD<0,0,MACD,0.5,0),COLOR00DD00;
DIFFFF:DIF11,COLORFF0088,NODRAW;
DEAAAA:DEA11,COLOR00AAFF,NODRAW;
DIFFF:DIF1,COLORRED,NODRAW;
DEAAA:DEA1,COLORBLUE,NODRAW;
DIFF:DIF,COLORYELLOW,NODRAW;
DEAA:DEA,COLORGREEN,NODRAW;
动力线:MA(MACD1,5),COLORYELLOW,LINETHICK1;
中区:0,COLORBLUE,NODRAW;
主动:IF(MACD1>=动力线 AND 动力线<=中区,动力线,DRAWNULL),COLORYELLOW,LINETHICK2;
主拉:IF(动力线>=中区,动力线,DRAWNULL),COLORRED,LINETHICK2;
翻空:IF(动力线<中区 AND 动力线>MACD1,动力线,DRAWNULL),COLORGREEN,LINETHICK2;
AA:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
BB:=REF(CLOSE,AA+1)>CLOSE AND DIF1>REF(DIF1,AA+1) AND CROSS(DIF1,DEA1);
JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二金:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二金,DEA*1.04,15) ;
DRAWTEXT(二金,-0.02,' 2'),COLORFF00FF;
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,25);
VAR2:=EMA(VAR1,3);
VAR3:=VAR1>VAR2;
VAR4:=VAR1<VAR2;
STICKLINE(VAR3,VAR1,VAR2,1,0),COLORRED;
STICKLINE(VAR4,VAR1,VAR2,1,0),COLORGREEN; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容