A0:=MA(L+(H-L)/2,5),CIRCLEDOT,COLORMAGENTA;
A1:=DRAWLINE(CURRBARSCOUNT=3, A0 ,CURRBARSCOUNT=2, A0 ,0),COLORYELLOW,LINETHICK2;
A2:=DRAWLINE(CURRBARSCOUNT=2, A0 ,CURRBARSCOUNT=1, A0 ,0),COLORRED,LINETHICK2;
A3:=DRAWLINE(CURRBARSCOUNT=3, A0 ,CURRBARSCOUNT=1, A0 ,0),COLORRED,LINETHICK2;
{DRAWBAND(A1,RGB(155,50,50),A3,RGB(250,250,0));
DRAWBAND(A2,RGB(100,50,50),A3,RGB(250,100,0));}
A4:=REF(A0,1);
DRAWTEXT(A0 A4 AND A2 A3,L,'买'),COLOR33FFCC;