MA4:=MA(CLOSE,30);
AA:=(C-REF(C,1))/REF(C,1)*100;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
Z:=REF(涨停,1) ;
W:=COUNT(Z ,5)>=1;
DK:=O<=REF(C,1) AND AA<-2;
W2:=COUNT(DK ,2)>=1;
至尊:=W AND AA>2.5 AND REF(W2,1) AND REF(AA<2.4,1) AND MA4>0;
钻石:至尊;