{附图公式}
A1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
A2:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A3:=BARSLAST(CROSS(30,A1)) 2 AND BARSLAST(CROSS(A1,50))
A4:=BARSLAST(CROSS(A2,A1)) 2 AND A1
A5:=A1 60 AND A2
A6:=BARSLAST(CROSS(50,A1)) 3 AND BARSLAST(CROSS(A1,50))
A7:=BARSLAST(CROSS(A2,A1)) 2 AND A1
A8:=A6 AND A7 AND MA(C,60) REF(MA(C,60),1);
A9:=MA(C,10) REF(MA(C,10),1) AND C O AND REF(C O,1);
A10:=REF(C O,2) AND MA(C,5) REF(MA(C,5),1) AND C/REF(C,1) 1.03 AND H/C 1.01;
波段抓牛:=A3 AND A4 AND A5 OR A8 AND A9 AND A10;
STICKLINE(波段抓牛,45,0,4,0),COLORRED;
DRAWTEXT(波段抓牛,22,'---波段抓牛'),COLORRED;
STICKLINE(波段抓牛,40,25,1,0),COLORYELLOW;
STICKLINE(波段抓牛,25,10,2,0),COLOR00FF00;
STICKLINE(波段抓牛,10,0,2,0),COLORBLUE;
STICKLINE(波段抓牛,25,15,0.5,0),COLORRED;
STICKLINE(波段抓牛,15,6,1,0),COLOR00FF00;
STICKLINE(波段抓牛,6,0,2,0),COLORBLUE;