{擒牛诀}
X_1:=REF(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,250)/REF(MA(CLOSE,250),1)>0.9995 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(HHV(HIGH,2),1)/LOW>1.1,1) AND OPEN/REF(CLOSE,1)<1.02 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND REF(CLOSE,1)/REF(OPEN,1)>0.92 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>0.98 AND REF(COUNT(REF(OPEN,1)=REF(CLOSE,1) AND REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)>1.015 AND OPEN/CLOSE>1.12 AND CLOSE/REF(CLOSE,1)<0.94,4)<1,1);
X_2:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.03 AND REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(CLOSE,1)<REF(LOW,2)) AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND REF(CLOSE,1)/REF(CLOSE,3)<0.992 AND CLOSE/REF(CLOSE,1)>1.02 AND REF(COUNT(OPEN=HIGH AND CLOSE/OPEN<0.97 AND OPEN/REF(CLOSE,1)>0.993,4)<1,1) AND REF(COUNT(OPEN/REF(CLOSE,1)<0.915 AND CLOSE/REF(CLOSE,1)<0.902,3)<1,1) AND REF(COUNT(OPEN=CLOSE AND CLOSE=LOW AND CLOSE/REF(CLOSE,1)<0.902,4)<1,1);
X_3:=X_1 AND X_2;
X_4:=CAPITAL<10000000 AND REF(COUNT(HHV(HIGH,10)/REF(LLV(LOW,10),1)>1.6 AND COUNT(CLOSE/REF(CLOSE,1)>1.098,10)>4,20)=0,1) AND REF(C.........省略