近期大涨的大连圣亚,再教一个看股性的重点:
五彩副图指标通达信源码:
M1:MA(C,64),COLORCYAN;
M2:MA(C,256),COLORRED;ZT:=H/REF(C,1)>=1.095;
DRAWICON(CROSS(M1,M2),M1,1),COLORRED;
DRAWICON(CROSS(M2,M1),M2,2),COLORGREEN;
DRAWTEXT(ZT,HIGH*1.02,'M'),COLORMAGENTA;
STICKLINE(C>0,L,H,0.1,0),COLORGRAY;
STICKLINE(C>0,O,C,2,0),COLORGRAY;
A01:='399300$CLOSE';
B2:=(A01-REF(A01,1))/REF(A01,1)*100;
B3:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(B2<-0.3 AND B3>0,O,C,2.5,1),COLORMAGENTA;
STICKLINE(B2<-0.8 AND B3>0,O,C,2.5,1),COLORCYAN;
STICKLINE(B2<-1.2 AND B3>0,O,C,2.5,1),COLORGREEN;
STICKLINE(B2<-2.5 AND B3>0,O,C,2.5,1),COLORYELLOW;
STICKLINE(B2<-0.3 AND B3>0,H,L,0.1,0),COLORMAGENTA;
STICKLINE(B2<-0.8 AND B3>0,H,L,0.1,0),COLORCYAN;
STICKLINE(B2<-1.2 AND B3>0,H,L,0.1,0),COLORGREEN;
STICKLINE(B2<-2.5 AND B3>0,H,L,0.1,0),COLORYELLOW;
A1:=HHV(H,144);
A2:=LLV(L,144);
K1:(0.618*A1 0.382*A2),DOTLINE,COLORGRAY;
K2:(0.5*A1 0.5*A2),DOTLINE,COLORMAGENTA;
K3:(0.382*A1 0.618*A2),DOTLINE,COLORWHITE;
K4:(0.809*A1 0.191*A2),DOTLINE,COLORGRAY;
K5:(0.191*A1 0.809*A2),DOTLINE,COLORGRAY;
{百分比收敛}
DRAWICON((H>K2 AND L<K5) OR (H>K4 AND L<K2) OR (H>K1 AND L<K3)AND ((B2<-0.4 AND B3>0) OR ZT),H,5);
B1:=CONST(HHV(H,128));
B02:=CONST(HHVBARS(H,128) 1);
B03:=CONST(LLV(LOW,B02));
B4:=B03/B1;
B5:=B4*100-100;
B6:=CONST(BARSLAST(L=B03)) 1;
DRAWNUMBER(CURRBARSCOUNT=B6,B03,B5);
调整幅度:B5,NODRAW;
IF(B5<=-25,B5,DRAWNULL),NODRAW,COLORRED;
KZ:=K4/K5*100-100;
百分比:KZ,NODRAW;
IF(百分比<33,百分比,DRAWNULL),NODRAW,COLORRED;
ZT1:=C/REF(C,1)*100-100;
ZT2:=ZT1>=9.85 AND REF(ZT1,1)<9.8 AND DYNAINFO(26)/DYNAINFO(3)<1.11;
TJ1:=C>=HHV(H,200) AND C/HHV(H,200)<1.05;
DRAWTEXT(ZT2 AND C>=A1 AND 百分比<33,C*1.01,'高1'),COLORYELLOW;
DRAWTEXT(ZT2 AND C>M2 AND TJ1,C*1.03,'高2'),COLORWHITE;
DRAWICON(CROSS(M1,K3) AND C>M1,M1,25);
——————————————
联系客服