{主图}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
XG:CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1);
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0,0),COLORYELLOW;
DRAWICON(XG,L*0.94,38);
{幅图}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
XG:CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1) NODRAW;
STICKLINE(XG,0,8,2,0),COLORYELLOW;
{选股}
A:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)
-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
A1:=EMA(A,30);
CROSS(A,A1) AND A<-63 AND REF(VOL=LLV(VOL,3),1);