N:=20;
DD1:MA(CLOSE,5);
DD2:MA(CLOSE,10);
DD3:MA(CLOSE,20);
DD4:MA(CLOSE,30);
DD5:MA(CLOSE,60);
DD6:MA(CLOSE,120);
DD7:MA(CLOSE,250);
涨停:=(C-REF(C,1))/REF(C,1)>=0.098;
VAR10:=C=HHV(C,120) AND 涨停 AND O<C AND COUNT(涨停,10)>=1 AND COUNT(C=HHV(C,120),5)=1
AND COUNT(L>DD7,20)>=8;
VAR11:=C=HHV(C,120) AND 涨停 AND O<C AND COUNT(涨停,10)>=1 AND COUNT(C=HHV(C,120),5)=1
AND COUNT(L>DD7,20)>=8;
VAR12:=C=HHV(C,30) AND 涨停 AND COUNT(涨停,20)<=3 AND COUNT(C=HHV(C,30),5)=1
AND LLV(L,105)=LLV(L,120);
VAR1:=VAR10 OR VAR11 OR VAR12;
DRAWICON(VAR1,L*0.98,27);
DRAWICON(VAR1,L*0.96,26);
DRAWICON(VAR1,L*0.94,25);
DRAWTEXT(VAR1,L*0.92,'牛'),COLORYELLOW;
STICKLINE((C-REF(C,1))/REF(C,1)>=0.098,C,O,2,0),COLORMAGENTA;