VAR1:=CLOSE/REF(CLOSE,1)<1.06;
VAR2:=REF(VAR1,1)>0;
VAR3:=MAX(OPEN,CLOSE);
VAR4:=CLOSE>HHV(REF(VAR3,1),6);
VAR5:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
VAR6:=IF(VAR5>0,VAR5,0);
牛股主升:VAR2 AND VAR4 AND CROSS(VAR6,9);