X_1:=SUM(vol,5)/CAPITAL<=4 AND HHV(CLOSE,5)/LLV(CLOSE,5)<10.4 AND Abs(OPEN-CLOSE)/(HIGH-LOW)<5 AND CLOSE!=OPEN;
X_2:=COUNT(X_1,120);
X_3:=CLOSE>MA(CLOSE,5) AND (MA(CLOSE,5)>=MA(CLOSE,10) OR MA(CLOSE,10)>MA(CLOSE,20));
X_4:=MA(CLOSE,10);
X_5:=MA(CLOSE,54);
X_6:=(CLOSE-X_5)/X_5<0.1;
X_7:=(CLOSE-X_4)/X_4<0.3;
X_8:=(X_6=1 AND X_7=1)*0.2;
X_9:=(X_8=0 AND REF(X_8,1)=0.2 AND REF(COUNT(X_8=0.2,10)=10,1)=1)*(-0.1);
X_10:=WINNER(CLOSE)<0.7;
X_11:=COUNT(REF(HHV(HIGH,90)/LLV(LOW,90),1)<1.5,90);
X_12:=REF(LLV(LOW,90),20)1.05;
X_13:=CLOSE/LLV(LOW,250)<1.15;
X_14:=COUNT(X_13,250);
X_15:=(CLOSE/REF(CLOSE,1)-1)*100;
X_16:=BETWEEN(SUM(X_15,20),1,5);
X_17:=MA(CLOSE,60);
X_18:=(HIGH-CLOSE)/CLOSE*100;
X_19:=VOL=HHV(VOL,BARSCOUNT(CLOSE));
X_20:=X_16 AND MA(CLOSE,5)>=MA(CLOSE,10) AND MA(CLOSE,10)>=MA(CLOSE,20) AND MA(CLOSE,20)>=MA(CLOSE,60) AND X_11>60 AND CLOSE>=MA(CLOSE,10) AND X_17>REF(X_17,1) AND X_18<5 AND X_19=0 AND LOW>MA(CLOSE,10);
X_21:=VOL/100<50000 AND OPEN!=CLOSE;
统计地量:=COUNT(X_21,250);
关注:=统计地量>90 AND X_10>0.9 AND X_16 AND X_18<5 AND X_19=0 AND LOW>MA(CLOSE,10);
买入:X_2>=30 AND X_3 AND CLOSE>OPEN OR (X_11>30 AND X_12) AND X_10>0.9 AND X_14>20 AND X_9=(-0.1) AND X_18<5 AND X_19=0 OR 关注>0;