X_1:=MA(CLOSE,2);
X_2:=SMA(CLOSE,8.5,1);
X_3:=SMA(CLOSE,13.5,1);
X_4:=SMA(CLOSE,3,1);
X_5:=X_1>REF(X_1,1) AND X_4>REF(X_4,1) AND X_2>REF(X_2,1) AND X_3>REF(X_3,1);
X_6:=X_1>X_4 AND X_4>X_2 AND X_2>X_3;
X_7:=X_6 AND X_5;
X_8:=20;
X_9:=30;
X_10:=100*((HHV(HIGH,X_8)-LLV(LOW,X_8))/LLV(LOW,X_8))<X_9;
X_11:=VOL>MA(VOL,20);
X_12:=(COST(85)+COST(15))/2;
X_13:=(COST(75)+COST(25))/2;
X_14:=(COST(65)+COST(35))/2;
X_15:=(COST(55)+COST(45))/2;
X_16:=(COST(95)+COST(5))/2;
X_17:=(X_12+X_13+X_14+X_15+X_16)/5;
X_18:=(COST(90)+COST(10))/2;
X_19:=(COST(80)+COST(20))/2;
X_20:=(COST(70)+COST(30))/2;
X_21:=(COST(60)+COST(40))/2;
X_22:=COST(50);
X_23:=(X_18+X_19+X_20+X_21+X_22)/5;
X_24:=(X_17+X_23)/2;
X_25:=(X_24/REF(X_24,1)-1)*1000;
X_26:=EMA(X_25,10);
X_27:=(HIGH+LOW+CLOSE)/3;
X_28:=(X_27-MA(X_27,30))/(0.015*AVEDEV(X_27,30));
X_29:=X_7 AND X_10 AND X_11 AND X_26>0 AND X_28>170;
X_30:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_31:=(8*X_30+7*REF(X_30,1)+6*REF(X_30,2)+5*REF(X_30,3)+4*REF(X_30,4)+3*REF(X_30,5)+2*REF(X_30,6)+REF(X_30,8))/36;
X_32:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>X_31;
X_33:=FILTER(X_32,5);
X_34:=IF(BARSLAST(X_33)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(X_33)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(X_33)=3 AND CLOSE>REF(HIGH,3),1,0)));
X_35:=X_34=1;
X_36:=IF(BARSLAST(X_33)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(X_33)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(X_33)=3 AND CLOSE>REF(LOW,3),1,0)));
X_37:=X_36=1;
X_38:=X_37 AND X_35;
X_39:=FILTER(X_38,3);
X_40:=EMA(WINNER(CLOSE)*70,3);
X_41:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_42:=X_41/(X_40+X_41)*100;
X_43:=X_40/(X_40+X_41)*100;
X_44:=INTPART(X_42);
X_45:=INTPART(X_43);
X_46:=2;
X_47:=34;
X_48:=100*(CLOSE-LLV(LOW,X_47))/(HHV(CLOSE,X_47)-LLV(LOW,X_47));
X_49:=AMOUNT/CLOSE/(HHV(AMOUNT,X_47)/HHV(CLOSE,X_47));
X_50:=IF(X_49>1,1,X_49)*100;
X_51:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_52:=MA(X_51,12);
X_53:=1;
X_54:=LLV(LOW,10);
X_55:=HHV(HIGH,25);
X_56:=EMA((CLOSE-X_54)/(X_55-X_54)*4,4)*X_53*30;
X_57:=X_50>=90 AND X_48>80 AND X_52<90;
X_58:=BARSLAST(CROSS(X_56,X_52))<40;
X_59:=CLOSE/REF(CLOSE,1)>1+0.01*X_46;
X_60:=X_57 AND X_58 AND (CLOSE>OPEN OR CLOSE/REF(CLOSE,1)>1.05) AND X_59;
X_61:=IF(CROSS(X_45,X_44),120,0);
X_62:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,35)>REF(MA(CLOSE,35),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1);
X_63:=X_61 AND X_60 AND X_62 AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,35) AND MA(CLOSE,35)>MA(CLOSE,60);
X_64:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_65:=X_39 OR X_63;
X_66:=X_29 AND X_65;
X_67:=X_29 AND CROSS(X_26,0) AND COUNT(X_65,5)>0;
X_68:=REF(OPEN,6)+REF(CLOSE,6)+REF(HIGH,7)+REF(LOW,7)+REF(OPEN,7)+REF(CLOSE,7)+REF(HIGH,8)+REF(LOW,8)+REF(OPEN,8)+REF(CLOSE,8)+REF(HIGH,9)+REF(LOW,9)+REF(OPEN,9)+REF(CLOSE,9)+REF(HIGH,10)+REF(LOW,10)+REF(OPEN,10)+REF(CLOSE,10);
X_69:=(HIGH+LOW+OPEN+CLOSE+REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+REF(CLOSE,1)+REF(HIGH,2)+REF(LOW,2)+REF(OPEN,2)+REF(CLOSE,2)+REF(HIGH,3)+REF(LOW,3)+REF(OPEN,3)+REF(CLOSE,3)+REF(HIGH,4)+REF(LOW,4)+REF(OPEN,4)+REF(CLOSE,4)+REF(HIGH,5)+REF(LOW,5)+REF(OPEN,5)+REF(CLOSE,5)+REF(HIGH,6)+REF(LOW,6)+X_68)/46;
X_70:=MA(X_69,60);
X_71:=X_70+2*STD(X_69,60);
X_72:=X_70+1.7*STD(X_69,60);
X_73:=MIN(X_71,X_72);
X_74:=(((HIGH+LOW)/2+(CLOSE+OPEN))/3+5*HIGH)/6;
X_75:=EMA(X_74,270)+(1+180/270)*STD(X_74,180);
X_76:=EMA(X_74,270)-(1+180/270)*STD(X_74,180);
X_77:=(X_75/X_76-1)*100;
X_78:=X_77<56 AND (COUNT(CLOSE>X_73,10)>=7 OR COUNT(CROSS(CLOSE,X_73),5)>=1 OR COUNT(CROSS(CLOSE,X_76),15)>=1);
选股:X_78 AND (X_66 OR X_67),COLORRED,LINETHICK2;