麻烦老师将文华指标改为博易用,多谢! [博易POBO]
咨询内容:
DDEA: EMA(DDIF,9),COLORWHITE,LINETHICK2,NODRAW;
DMACD: (DDIF-DDEA)*2,COLORGRAY,LINETHICK1,NODRAW;
零上缩放:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上缩放,0,DMACD,3.4,0),COLORYELLOW;
零下放缩:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下放缩,0,DMACD,3.5,0),COLORWHITE;
上穿0轴:= REF(DMACD,1)<0 AND DMACD>0;
STICKLINE(上穿0轴,0,DMACD,3.5,-1),COLORYELLOW;
下穿0轴:= REF(DMACD,1)>0 AND DMACD<0;
STICKLINE(下穿0轴,0,DMACD,3.5,-1),COLORWHITE;
零上红缩柱:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上红缩柱,0,DMACD,3.5,0),COLORCYAN;
零下绿翻绿:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下绿翻绿,0,DMACD,3.5,0),COLORCYAN;
AA1:=DMACD<REF(DMACD,1);
AA2:=DMACD>=REF(DMACD,1) ;
STICKLINE(DMACD>0,0,DMACD,1.5,0),COLOR0000CC;
STICKLINE(DMACD>0,0,DMACD,1,0),COLOR0000FF;
STICKLINE(DMACD>0,0,DMACD,0.5,0),COLORCC66FF;
STICKLINE(AA1,0,DMACD,1.3,1),COLORRED;
STICKLINE(DMACD<0,0,DMACD,1.5,0),COLOR006400;
STICKLINE(DMACD<0,0,DMACD,1,0),COLOR009600;
STICKLINE(DMACD<0,0,DMACD,0.5,0),COLOR00C800;
STICKLINE(AA2 AND DMACD<0,0,DMACD,1.3,1),COLORGREEN;
快线DIF: DDIF,COLORGRAY,LINETHICK2;
IF(DDIF>=REF(DDIF,1),DDIF,NULL),COLORRED,LINETHICK3;
IF(DDIF<REF(DDIF,1),DDIF,NULL),COLORCYAN,LINETHICK3;
FILLRGN(DDEA>REF(DDEA,1),DDEA,REF(DDEA,1),RGB(255,100,255));
FILLRGN(DDEA<REF(DDEA,1),DDEA,REF(DDEA,1),RGB(0,64,255));
DDEA: EMA(DDIF,9),COLORWHITE,LINETHICK2,NODRAW;
DMACD: (DDIF-DDEA)*2,COLORGRAY,LINETHICK1,NODRAW;
零上缩放:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上缩放,0,DMACD,3.4,0),COLORYELLOW;
零下放缩:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下放缩,0,DMACD,3.5,0),COLORWHITE;
上穿0轴:= REF(DMACD,1)<0 AND DMACD>0;
STICKLINE(上穿0轴,0,DMACD,3.5,-1),COLORYELLOW;
下穿0轴:= REF(DMACD,1)>0 AND DMACD<0;
STICKLINE(下穿0轴,0,DMACD,3.5,-1),COLORWHITE;
零上红缩柱:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上红缩柱,0,DMACD,3.5,0),COLORCYAN;
零下绿翻绿:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下绿翻绿,0,DMACD,3.5,0),COLORCYAN;
AA1:=DMACD<REF(DMACD,1);
AA2:=DMACD>=REF(DMACD,1) ;
STICKLINE(DMACD>0,0,DMACD,1.5,0),COLOR0000CC;
STICKLINE(DMACD>0,0,DMACD,1,0),COLOR0000FF;
STICKLINE(DMACD>0,0,DMACD,0.5,0),COLORCC66FF;
STICKLINE(AA1,0,DMACD,1.3,1),COLORRED;
STICKLINE(DMACD<0,0,DMACD,1.5,0),COLOR006400;
STICKLINE(DMACD<0,0,DMACD,1,0),COLOR009600;
STICKLINE(DMACD<0,0,DMACD,0.5,0),COLOR00C800;
STICKLINE(AA2 AND DMACD<0,0,DMACD,1.3,1),COLORGREEN;
快线DIF: DDIF,COLORGRAY,LINETHICK2;
IF(DDIF>=REF(DDIF,1),DDIF,DRAWNULL),COLORRED,LINETHICK3;
IF(DDIF<REF(DDIF,1),DDIF,DRAWNULL),COLORCYAN,LINETHICK3;
FILLRGN(DDEA>REF(DDEA,1),DDEA,REF(DDEA,1)),COLORFF64FF;
FILLRGN(DDEA<REF(DDEA,1),DDEA,REF(DDEA,1)),COLORFF4000; 多谢老师! 来源 程序化久久网
麻烦老师将文华指标改为博易用,多谢!
DDIF: (EMA(CLOSE,12)-EMA(CLOSE,26)),COLORYELLOW,LINETHICK2,NODRAW;DDEA: EMA(DDIF,9),COLORWHITE,LINETHICK2,NODRAW;
DMACD: (DDIF-DDEA)*2,COLORGRAY,LINETHICK1,NODRAW;
零上缩放:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上缩放,0,DMACD,3.4,0),COLORYELLOW;
零下放缩:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下放缩,0,DMACD,3.5,0),COLORWHITE;
上穿0轴:= REF(DMACD,1)<0 AND DMACD>0;
STICKLINE(上穿0轴,0,DMACD,3.5,-1),COLORYELLOW;
下穿0轴:= REF(DMACD,1)>0 AND DMACD<0;
STICKLINE(下穿0轴,0,DMACD,3.5,-1),COLORWHITE;
零上红缩柱:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上红缩柱,0,DMACD,3.5,0),COLORCYAN;
零下绿翻绿:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下绿翻绿,0,DMACD,3.5,0),COLORCYAN;
AA1:=DMACD<REF(DMACD,1);
AA2:=DMACD>=REF(DMACD,1) ;
STICKLINE(DMACD>0,0,DMACD,1.5,0),COLOR0000CC;
STICKLINE(DMACD>0,0,DMACD,1,0),COLOR0000FF;
STICKLINE(DMACD>0,0,DMACD,0.5,0),COLORCC66FF;
STICKLINE(AA1,0,DMACD,1.3,1),COLORRED;
STICKLINE(DMACD<0,0,DMACD,1.5,0),COLOR006400;
STICKLINE(DMACD<0,0,DMACD,1,0),COLOR009600;
STICKLINE(DMACD<0,0,DMACD,0.5,0),COLOR00C800;
STICKLINE(AA2 AND DMACD<0,0,DMACD,1.3,1),COLORGREEN;
快线DIF: DDIF,COLORGRAY,LINETHICK2;
IF(DDIF>=REF(DDIF,1),DDIF,NULL),COLORRED,LINETHICK3;
IF(DDIF<REF(DDIF,1),DDIF,NULL),COLORCYAN,LINETHICK3;
FILLRGN(DDEA>REF(DDEA,1),DDEA,REF(DDEA,1),RGB(255,100,255));
FILLRGN(DDEA<REF(DDEA,1),DDEA,REF(DDEA,1),RGB(0,64,255));
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DDIF: (EMA(CLOSE,12)-EMA(CLOSE,26)),COLORYELLOW,LINETHICK2,NODRAW;DDEA: EMA(DDIF,9),COLORWHITE,LINETHICK2,NODRAW;
DMACD: (DDIF-DDEA)*2,COLORGRAY,LINETHICK1,NODRAW;
零上缩放:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上缩放,0,DMACD,3.4,0),COLORYELLOW;
零下放缩:= REF(DMACD,2)>REF(DMACD,1) AND DMACD>REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下放缩,0,DMACD,3.5,0),COLORWHITE;
上穿0轴:= REF(DMACD,1)<0 AND DMACD>0;
STICKLINE(上穿0轴,0,DMACD,3.5,-1),COLORYELLOW;
下穿0轴:= REF(DMACD,1)>0 AND DMACD<0;
STICKLINE(下穿0轴,0,DMACD,3.5,-1),COLORWHITE;
零上红缩柱:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)>0;
STICKLINE(零上红缩柱,0,DMACD,3.5,0),COLORCYAN;
零下绿翻绿:= REF(DMACD,2)<REF(DMACD,1) AND DMACD<REF(DMACD,1) AND REF(DMACD,1)<0;
STICKLINE(零下绿翻绿,0,DMACD,3.5,0),COLORCYAN;
AA1:=DMACD<REF(DMACD,1);
AA2:=DMACD>=REF(DMACD,1) ;
STICKLINE(DMACD>0,0,DMACD,1.5,0),COLOR0000CC;
STICKLINE(DMACD>0,0,DMACD,1,0),COLOR0000FF;
STICKLINE(DMACD>0,0,DMACD,0.5,0),COLORCC66FF;
STICKLINE(AA1,0,DMACD,1.3,1),COLORRED;
STICKLINE(DMACD<0,0,DMACD,1.5,0),COLOR006400;
STICKLINE(DMACD<0,0,DMACD,1,0),COLOR009600;
STICKLINE(DMACD<0,0,DMACD,0.5,0),COLOR00C800;
STICKLINE(AA2 AND DMACD<0,0,DMACD,1.3,1),COLORGREEN;
快线DIF: DDIF,COLORGRAY,LINETHICK2;
IF(DDIF>=REF(DDIF,1),DDIF,DRAWNULL),COLORRED,LINETHICK3;
IF(DDIF<REF(DDIF,1),DDIF,DRAWNULL),COLORCYAN,LINETHICK3;
FILLRGN(DDEA>REF(DDEA,1),DDEA,REF(DDEA,1)),COLORFF64FF;
FILLRGN(DDEA<REF(DDEA,1),DDEA,REF(DDEA,1)),COLORFF4000; 多谢老师! 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容