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

请老师帮助修改 [博易POBO]

咨询内容:

请老师帮助修改

DIFF:=EMA(CLOSE,13) - EMA(CLOSE,34);
DEA:=EMA(DIFF,13);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=EMA(MACD,34);
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORYELLOW;
IF(趋势线<=REF(趋势线,1),趋势线,DRAWNULL),COLORFF5000;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1),RGB(255,255,0));
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1),RGB(0,88,255));
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:=SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,3,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,3,0),COLORGREEN;
IF(K>REF(K,1),K,DRAWNULL),COLORRED;
IF(K<=REF(K,1),K,DRAWNULL),COLORGREEN;
IF(D>REF(D,1),D,DRAWNULL),COLORRED;
IF(D<=REF(D,1),D,DRAWNULL),COLORGREEN;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J<=REF(J,1),J,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),3,0),COLORYELLOW;
STICKLINE(MACD=AH,AH,K,3,0),LINETHICK1,COLORRED;
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),3,1),COLORGREEN;

 

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

博易技术人员: DIFF:=EMA(CLOSE,13) - EMA(CLOSE,34); 
DEA:=EMA(DIFF,13); 
MACD:=2*(DIFF-DEA/2); 
AH:=HHV(MACD,13*1); 
AL:=LLV(MACD,13*0.3); 
STICKLINE(MACD>0,MACD,0,1,0),COLOR0000AA,LINETHICK1; 
STICKLINE(MACD<0,MACD,0,1,0),COLOR008800,LINETHICK1; 
趋势线:=EMA(MACD,34); 
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORYELLOW;
IF(趋势线<=REF(趋势线,1),趋势线,DRAWNULL),COLORFF5000;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR0000FF;
FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FF00;
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:=SMA(D,2,1);
STICKLINE(MACD>0,0.000001,0.000003,3,0),COLORRED;
STICKLINE(MACD<0,0.000001,0.000003,3,0),COLORGREEN;
IF(K>REF(K,1),K,DRAWNULL),COLORRED;
IF(K<=REF(K,1),K,DRAWNULL),COLORGREEN;
IF(D>REF(D,1),D,DRAWNULL),COLORRED;
IF(D<=REF(D,1),D,DRAWNULL),COLORGREEN;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK2;
IF(J<=REF(J,1),J,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),3,0),COLORYELLOW; 
STICKLINE(MACD=AH,AH,K,3,0),LINETHICK1,COLORRED; 
STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),3,1),COLORGREEN; 谢谢老师 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容