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

老师您好请帮我改一下指标 [博易POBO]

咨询内容:

老师您好请帮我改一下指标

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA/2);
 AH:=HHV(MACD,13*1);
 AL:=LLV(MACD,13*0.3);
 STICKLINE1(MACD>0 ,MACD,0,1,0),COLOR0000AA,LINETHICK1;
 STICKLINE1(MACD<0 ,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=SMA(MACD,34,1);
 //PARTLINE(,趋势线>REF(趋势线,1),RGB(255,255,0),趋势线<REF(趋势线,1),RGB(0,80,255)),LINETHICK1;
DRAWCOLORLINE(趋势线>REF(趋势线,1),趋势线,RGB(255,255,0),RGB(0,80,255)),LINETHICK1;
 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);
 STICKLINE1(MACD>0,0.000001,0.000003,15,0),COLORRED;
 STICKLINE1(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
DRAWCOLORLINE(K>REF(K,1),K,RGB(255,0,0),RGB(0,255,0));
DRAWCOLORLINE(D>REF(D,1),D,RGB(255,0,0),RGB(0,255,0));
DRAWCOLORLINE(J>REF(J,1),J,RGB(255,0,0),RGB(0,255,0));
 STICKLINE1(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
 STICKLINE1(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
 STICKLINE1(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,'ICO4');
DRAWICON(CROSSDOWN(REF(MACD,2),MACD),MACD,'ICO5');

 

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

博易技术人员: DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 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;
趋势线:=SMA(MACD,34,1);
 partLINE2(趋势线,趋势线>REF(趋势线,1),COLOR00FFFF,趋势线<REF(趋势线,1),COLORFF5000),LINETHICK1;
 FILLRGN(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1)),COLOR00FFFF;
 FILLRGN(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1)),COLORFF5800;
 K:=SMA(MACD,2,1);
 D:=SMA(K,2,1);
 J:SMA(D,2,1);
 STICKLINE(MACD>0,0.000001,0.000003,15,0),COLORRED;
 STICKLINE(MACD<0,0.000001,0.000003,15,0),COLORGREEN;
partLINE2(k,K>REF(K,1),COLOR0000FF,K<REF(K,1),COLOR00FF00);
partLINE2(d,D>REF(D,1),COLOR0000FF,D<REF(D,1),COLOR00FF00);
partLINE2(j,J>REF(J,1),COLOR0000FF,J<REF(J,1),COLOR00FF00);


 STICKLINE(REF(MACD,1)<MACD,MACD,REF(MACD,1),7,0),COLORYELLOW;
 STICKLINE(MACD=AH,AH,K,8,0),LINETHICK1,COLORRED;
 STICKLINE(REF(MACD,2)>MACD,MACD,REF(MACD,1),8,1),COLORGREEN;
DRAWICON(CROSS(MACD,AH),MACD,4);
DRAWICON(CROSS(MACD,REF(MACD,2)),MACD,5); 来源 程序化久久网

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


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

相关文章

    没有相关内容