ABC1:=3;
ABC2:=6; ABC3:=12; ABC4:=24; 熊市区:MA((2*L+C)/3,20),COLORCYAN,NODRAW; 牛市区:MA((H+2*C)/3,20),COLORRED,NODRAW; STICKLINE(熊市区,熊市区,L,0,-1),COLORLICYAN; STICKLINE(C>牛市区,熊市区,L,0,-1),COLOR0090FF; STICKLINE(C>熊市区 AND C<> DRAWBAND(熊市区,RGB(60,60,60),牛市区,RGB(60,60,60)); STICKLINE(C>熊市区 AND C<> STICKLINE(C>熊市区 AND C>=O,O,C,3,1),COLORRED; STICKLINE(C>熊市区 AND C>=O,H,C,0,0),COLORRED; STICKLINE(C>熊市区 AND C<> STICKLINE(C>熊市区 AND C<> 买入:=CROSS(C,牛市区); STICKLINE(C>熊市区 AND C<> STICKLINE(C>熊市区 AND C<> 卖出:=CROSS(熊市区,C); STICKLINE(C<牛市区 and="">牛市区><熊市区 and="" c="">O,O,C,2.5,1),COLORGREEN;熊市区> STICKLINE(C<牛市区 and="">牛市区><熊市区 and="" c<="">熊市区> STICKLINE(C<牛市区 and="">牛市区><熊市区 and="" c<="">熊市区> STICKLINE(C<牛市区 and="">牛市区><熊市区 and="" c="">O,C,H,0,1),COLORGREEN;熊市区> STICKLINE(C<> STICKLINE(C<牛市区 and="">牛市区><熊市区 and="" c="">O,O,L,0,1),COLORGREEN;熊市区> STICKLINE(C>牛市区,熊市区,牛市区,2,0),COLOR0090FF; DRAWICON(买入,L*1.0,5); DRAWICON(卖出,H*1.01,6);