X_1:=HHV(CLOSE,2);
X_2:=LLV(CLOSE,2);
X_3:=MA(CLOSE,3);
X_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_5:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_6:=REF(X_5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_7:=REF(X_6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_8:=REF(X_7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_9:=REF(X_8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_10:=REF(X_9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_11:=REF(X_10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_12:=REF(X_11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_13:=REF(X_12,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_14:=REF(X_13,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_15:=REF(X_14,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_17:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
X_18:=REF(X_17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_25:=REF(X_24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_26:=REF(X_25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_27:=REF(X_26,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_28:=REF(X_27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_29:=REF(X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28,1) AND X_5;
X_30:=REF(X_5 OR X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16,1) AND X_17;
X_31:=X_5 OR X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16;
X_32:=IF(X_31,X_2,DRAWNULL);
X_33:=X_32;
X_34:=REF(X_32,1);
X_35:=X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28;
X_36:=IF(X_35,X_1,DRAWNULL);
X_37:=X_36;
X_38:=REF(CLOSE AND X_36,1);
X_39:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_40:=EMA(X_39,9);
X_41:=(X_39-X_40)*2;
X_42:=IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,LLV(LOW,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL);
X_43:=BARSLAST(CLOSE>REF(CLOSE,1)*1.095 AND CLOSE=HIGH);
X_44:=BARSLAST(CLOSE<REF(CLOSE,1)*1.095 AND CLOSE>REF(CLOSE,1)*1.08);
X_45:=BARSLAST(CLOSE<REF(CLOSE,1)*1.08 AND CLOSE>REF(CLOSE,1)*1.07);
X_46:=BARSLAST(CLOSE<REF(CLOSE,1)*1.07 AND CLOSE>REF(CLOSE,1)*1.06);
X_47:=BARSLAST(CLOSE<REF(CLOSE,1)*1.06 AND CLOSE>REF(CLOSE,1)*1.05);
X_48:=COUNT(X_43=0,100)=0;
X_49:=COUNT(X_44=0,100)=0;
X_50:=COUNT(X_45=0,100)=0;
X_51:=COUNT(X_46=0,100)=0;
X_52:=COUNT(X_47=0,100)=0;
X_53:=CLOSE>REF(CLOSE,1)*1.05;
X_54:=REF(X_43,1)>100 AND REF(X_44,1)>100 AND REF(X_45,1)>100 AND REF(X_46,1)>100 AND REF(X_47,1)>80 AND X_53;
X_55:=HHV(MACD.MACD*100,200);
X_56:=LLV(MACD.MACD*100,200);
X_57:=MA(CLOSE,5);
X_58:=MA(CLOSE,10);
X_59:=MA(CLOSE,20);
X_60:=MA(CLOSE,60);
X_61:=MIN(MIN(X_57,X_58),X_59)>X_60;
X_62:=BARSLAST(X_54 AND X_55<60 AND X_56>(-55));
X_63:=BARSSINCEN(MIN(MIN(X_57,X_58),X_59)>X_60,X_62+1);
X_64:=CROSS(X_62=0 AND X_61 OR X_63=0,0.5);
X_65:=COUNT(X_64,30)=2 AND X_64;
X_66:=FILTER(10,10);
X_67:=REF(HIGH,BARSLAST(X_66));
X_68:=VOL/REF(VOL,1)>=1.9;
X_69:=CROSS(CLOSE,X_67);
X_70:=X_68 AND X_69;
X_71:=BARSLAST(X_70);
X_72:=HHVBARS(X_39,300);
X_73:=SQJZ;
X_74:=BARSLAST(CROSS(X_73>=REF(X_73,1),0.5));
X_75:=EXPMA(CLOSE,25);
X_76:=EVERY(RANGE(CLOSE/REF(CLOSE,1),0.97,1.05),X_74+1);
X_77:=(HHV(HIGH,X_74+1)-LLV(LOW,X_74+1))/LLV(LOW,X_74+1)*100;
X_78:=EVERY(MAX(CLOSE,OPEN)/X_73<1.02,X_74+1);
X_79:=ATAN((X_75/REF(X_75,X_74)-1)*100)*180/3.141593;
X_80:=CROSS(X_39>=REF(X_39,X_72),0.5) AND X_77<17 AND X_76 AND X_78;
X_81:=X_80 AND X_79>75;
X_82:=REF(CLOSE,1);
X_83:=(CLOSE-X_82)/X_82*100;
X_84:=X_83-REF(X_83,1);
X_85:=CROSS(X_84,9.8);
X_86:=REF(VOL,1);
X_87:=VOL/X_86;
X_88:=X_87-REF(X_87,1);
X_89:=CROSS(X_88,500);
X_90:=X_85 AND X_89;
X_91:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_92:=CROSS(X_91,20);
X_93:=REF(CROSS(MA(CLOSE,5),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,5));
X_94:=REF(CROSS(MA(CLOSE,10),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,10));
X_95:=REF(CROSS(MA(CLOSE,20),CLOSE),1) AND CROSS(CLOSE,MA(CLOSE,20));
X_96:=X_93 OR X_94 OR X_95;
X_97:=REF(CLOSE,2)/REF(CLOSE,1)>=1.045 AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_96;
X_98:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_99:=(20*X_98+19*REF(X_98,1)+18*REF(X_98,2)+17*REF(X_98,3)+16*REF(X_98,4)+15*REF(X_98,5)+14*REF(X_98,6)+13*REF(X_98,7)+12*REF(X_98,8)+11*REF(X_98,9)+10*REF(X_98,10)+9*REF(X_98,11)+8*REF(X_98,12)+7*REF(X_98,13)+6*REF(X_98,14)+5*REF(X_98,15)+4*REF(X_98,16)+3*REF(X_98,17)+2*REF(X_98,18)+REF(X_98,20))/210;
X_100:=EMA(X_99,13);
X_101:=EMA(CLOSE,5);
X_102:=EMA(X_101,8);
X_103:=EMA(X_102,13);
X_104:=EMA(X_103,50);
X_105:=REF(CLOSE,1)<REF(X_100,1) AND CLOSE>X_100;
X_106:=CLOSE/REF(CLOSE,1)>1+0.01*9;
X_107:=X_100/X_104<1+0.01*20;
X_108:=X_105 AND X_106 AND X_107 AND X_97;
X_109:=LLV(LOW,5);
X_110:=HHV(HIGH,5);
X_111:=EMA((CLOSE-X_109)/(X_110-X_109)*100,4);
X_112:=IF(X_111>REF(X_111,1) AND X_39>X_40 AND (X_108 OR X_92 OR X_90 OR X_81 OR CURRBARSCOUNT=CONST(X_71)+2 OR X_65 OR (CCI<=100 AND LOW<=X_42)),100,0);
选股:X_112 AND (X_38 OR X_37);