以下是通达信逃顶绿箭波段类公式副图源码测试图

 

AR4:=SMA(AR3,3,1);

MMCD:=3*(AR3-AR4);

STICKLINE(MMCD>0,MMCD+45,45,0.0,0),COLORYELLOW;

STICKLINE(MMCD<0,MMCD+45,45,0.0,0),COLORGREEN;

DRAWTEXT(ISLASTBAR AND TJF>REF(TJF,1),TJF,’ ‘),COLOR0000FF;

DRAWTEXT(ISLASTBAR AND TJF<REF(TJF,1),TJF,’ ‘),COLORCYAN;

DRAWTEXT(ISLASTBAR,顶区,”),COLORFFFF00;

DRAWTEXT(ISLASTBAR,底区,”),COLOR208FFF;

DRAWICON(CROSS(TJF,89),TJF,2);

AL:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;

TRK:=EMA(EMA(CLOSE,13),13);

MTQ:=(TRK-REF(TRK,1))/REF(TRK,1)*1000;

VX1:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.005;

VX2:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.03;

VX3:=MTQ>REF(MTQ,1) AND MTQ<-0.2;

VX4:=CROSS(AL,EMA(AL,3)) AND AL<-0.3;

VX5:=FILTER(VX1 AND VX3 AND VX4,13);

VX6:=FILTER(VX2 AND VX3 AND VX4,13);

逃顶:CROSS(TJF,89);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。