通达信精选指标——起爆先兆主图
DRAWTEXT_FIX(1,0.00,1,0,"所属行业:")COLOR0080FF;DRAWTEXT_FIX(1,0.08,1,0,HYBLOCK)COLOR0080FF;DRAWTEXT_FIX(1,0.14,1,0,"所属地区:")COLOR00FFFF;DRAWTEXT_FIX(1,0.22,1,0,DYBLOCK)COLOR00FFFF;MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20)LINETHICK2;MA4:MA(CLOSE,60);MA5:MA(CLOSE,120);MA6:MA(CLOSE,238);DRAWTEXT(CROSS(MA4,MA5),MA5*0.985,"牛度")COLORLIGRAY;涨停:=(CLOSE/REF(CLOSE,1)-1)*100>10-3.);STICKLINE(涨停,O,C,3,0),COLOR009999;STICKLINE(涨停,O,C,2,0),COLOR00DDDD;STICKLINE(涨停,O,C,1,0),COLOR00FFFF;STICKLINE(涨停,O,C,0.5,0),COLORYELLOW;STICKLINE(涨停,O,C,0.2,0),COLORYELLOW;N:=10;T1:=CONST(HHVBARS(V,N));M:=10;Q1:=CONST(REF(HHVBARS(V,M),T1+1)+T1+1);Q0:IF(CURRBARSCOUNT<=T1+M+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,Q1)),DRAWNULL),COLOR009900;IF(CURRBARSCOUNT=Q1+1,Q0,DRAWNULL)LINETHICK5,CIRCLEDOT,COLOR00CC00;M1:=CONST(LLVBARS(V,M));M0:IF(CURRBARSCOUNT<=M+7,CONST(IF(M1=0,O,REF(O,M1))),DRAWNULL)LINETHICK2,COLORMAGENTA; IF(CURRBARSCOUNT=M1+1,M0,DRAWNULL)LINETHICK3,COLORYELLOW,CIRCLEDOT;DRAWTEXT(ISLASTBAR,M0," 纵轴1位置")COLORLIMAGENTA;DRAWTEXT(ISLASTBAR,MA2,"关注均线角度");
①:公式代码复制过来难免造成部分格式错误。如出现公式导入错误,请及时私信留言笔者领取nt6文件可直接导入!如果对于指标感兴趣或者有疑问的可以与我一起交流学习!指标源码导入就可以使用。 ②:创作不易,希望大家对于我的文章能够关注和转发,后期也会给大家分享更多好用的指标以及其他股票知识的! |