X_1:=3;
X_2:=IF(CODELIKE(2) AND DATE>1200823 OR CODELIKE(3),1,0);
X_3:=CLOSE>=ZTPRICE(REF(CLOSE,1),IF(X_2>0,0.2,0.1));
X_4:=MA(CLOSE,10)*(1+IF(X_2=1,20,10)/100);
X_5:=MA(MA(LOW,X_1),X_1);
X_6:=HHV(X_5,5);
致富线:=EMA(CLOSE,6)-EMA(CLOSE,13);
脱贫线:=REF(HHV(致富线,X_1),1);
选股:=REF(致富线>EMA(脱贫线,1) AND X_5>=REF(X_6,1) AND CLOSE>=X_4 AND X_3,1)*(OPEN>REF(CLOSE,1)*1.029)*(OPEN<REF(CLOSE,1)*1.069);
红加号:选股;