X_230:=MA(CLOSE,30);
X_244:=(3*CLOSE+OPEN+LOW+HIGH)/6;
X_245:=(20*X_244+19*REF(X_244,1)+18*REF(X_244,2)+17*REF(X_244,3)+16*REF(X_244,4)+15*REF(X_244,5)+14*REF(X_244,6)+13*REF(X_244,7)+12*REF(X_244,8)+11*REF(X_244,9)+10*REF(X_244,10)+9*REF(X_244,11)+8*REF(X_244,12)+7*REF(X_244,13)+6*REF(X_244,14)+5*REF(X_244,15)+4*REF(X_244,16)+3*REF(X_244,17)+2*REF(X_244,18)+REF(X_244,20))/210;
X_246:=MA(X_245,7);
X_247:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_248:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_249:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
X_250:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_249),0);
X_251:=MA(X_250,30);
X_252:=VOL;
X_253:=X_252>REF(HHV(X_252,30),1);
X_254:=X_250>X_251;
X_255:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(OPEN,1),1,0);
X_256:=HIGH>=HHV(HIGH,20);
X_257:=REF(X_255,1);
X_258:=COUNT(X_257,5)>=1;
X_259:=COUNT(X_257,13)>=1;
X_260:=OPEN<=REF(CLOSE,1) AND X_247<(-2);
X_261:=COUNT(X_260,2)>=1;
X_262:=X_258 AND X_247>2.5 AND REF(X_261,1) AND REF(X_247<2.4,1) AND X_230>0;
X_263:=X_262 AND COUNT(X_262,30)=1;
红钻:X_263;