以下是通达信指标期待突破副图源码

{N:5,30,8;ZF:1,10,5;}
放量上涨:CLOSE/REF(CLOSE,1)>=1.01 AND VOL/REF(VOL,1)>=1.5 AND VOL>MA(VOL,5) AND REF(VOL,1)/REF(MA(VOL,5),1)<=1.8,STICK,COLORYELLOW,LINETHICK3;
箱体形成:((HHV(CLOSE,3)/LLV(CLOSE,N)-1)*100<=ZF AND (HHV(CLOSE,N)/LLV(CLOSE,3)-1)*100<=ZF)*0.3,COLOR00FF00,STICK,LINETHICK2;
STICKLINE(箱体形成 ,0 ,0.3 ,5 ,1 ),COLOR00FF00;
接近箱顶:(CLOSE/REF(HHV(CLOSE,N),2)<=1.02 AND HIGH/REF(HHV(CLOSE,N),2)>=0.98)*0.5,COLORWHITE,LINETHICK1;
P1:=BARSLAST(箱体形成);
P2:=BARSLAST(接近箱顶);
期待突破:(放量上涨>0 AND 接近箱顶>0 AND P1<=3 AND P2<=1)*2,COLORRED,LINETHICK2;
关注:(放量上涨>0 AND 接近箱顶>0),COLORFF00FF,LINETHICK2;
DRAWTEXT(期待突破>0 ,1.5 , ‘★买’),COLORYELLOW,LINETHICK2;
DRAWTEXT(关注 ,0.8 , ‘关注’),COLORWHITE,LINETHICK2;
趋势向上:(MA(CLOSE,30)>REF(MA(CLOSE,30),1))*0.2,STICK,COLOR0066FF,LINETHICK2;

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