X_2:=VOL/MA(VOL,5)>2 AND VOL/MA(VOL,40)>2.2 AND VOL>REF(HHV(IF(CLOSE>REF(CLOSE,1),VOL,0),20),1);
X_3:=VOL/CAPITAL*100>3 AND MA(CLOSE,33)>REF(MA(CLOSE,33),1) AND MA(CLOSE,10)>MA(CLOSE,33) AND LOW/MA(CLOSE,5)<1.002 AND LOW/MA(CLOSE,10)<1.002 AND REF(CLOSE,1)/REF(CLOSE,2)<1.01 AND CLOSE/REF(CLOSE,1)>1.03 AND CLOSE<100 AND REF(CLOSE,1)/REF(LLV(LOW,5),1)<1.2 AND NOT(REF(CLOSE,70)/REF(CLOSE,71)<0.902 AND REF(CLOSE,70)=REF(LOW,70) AND REF(OPEN,70)=REF(HIGH,70)) AND REF(MA(CLOSE,60)>REF(MA(CLOSE,60),1),1) AND REF(MA(CLOSE,60)>REF(MA(CLOSE,60),1),2) AND CLOSE>MA(CLOSE,60) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND (CAPITAL<10000000 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,50)>1,1) AND CAPITAL>9400000 OR (CAPITAL<1600000 AND EVERY(MA(CLOSE,60)>REF(MA(CLOSE,60),1),5))) AND CLOSE>OPEN;
X_4:=X_1 AND X_2 AND X_3;
X_5:=REF(EVERY(MA(CLOSE,120)>REF(MA(CLOSE,120),1),30) AND CLOSE<100 AND CLOSE
X_6:=REF(EVERY(MA(CLOSE,250)>REF(MA(CLOSE,250),1),30) AND CLOSE
X_7:=REF(CLOSE,1)/REF(HHV(HIGH,30),2)<0.5 AND X_5 AND REF(OPEN,1)/REF(CLOSE,1)>1.035 AND REF(CLOSE,1)/REF(CLOSE,2)<0.905 AND CAPITAL<5500000 AND CLOSE>REF(OPEN,1) AND CLOSE/REF(CLOSE,1)>1.05 AND LLV(LOW,3)/REF(HHV(HIGH,30),1)<0.5 AND EVERY(MA(CLOSE,5)>MA(CLOSE,120),20) AND CLOSE>OPEN;
X_8:=CLOSE/MA(CLOSE,250)>1.03 AND CLOSE/REF(CLOSE,1)>1.05 AND X_6 AND LLV(LOW,3)/REF(HHV(HIGH,30),1)<0.75 AND CLOSE/REF(OPEN,1)>0.995 AND CAPITAL<5500000 AND REF(CLOSE,1)/REF(CLOSE,2)<0.905 AND CLOSE>OPEN AND REF(OPEN,1)/REF(CLOSE,1)>1.035;
X_9:=X_7 OR X_8;
X_10:=OPENREF(HHV(MAX(CLOSE,OPEN),10),1) AND OPEN/REF(OPEN,1)<0.975 AND OPEN/REF(OPEN,2)<0.975 AND OPEN/REF(CLOSE,1)<0.975 AND OPEN/REF(CLOSE,2)<0.975 AND VOL>REF(HHV(VOL,10),1) AND VOL/REF(VOL,1)>3;
暴利主升:X_9 OR X_4 OR X_10;