X_1:=(CLOSE*2+HIGH+LOW)/4*10;
X_2:=EMA(X_1,13)-EMA(X_1,34);
X_3:=EMA(X_2,5);
X_4:=2*(X_2-X_3)*5.5;
X_5:=0;
X_6:=IF(X_4<=0,X_4,0);
X_7:=IF(X_4>=0,X_4,0);
X_8:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
X_9:=EMA(3*X_8-2*SMA(X_8,18,1),5);
X_10:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
X_11:=(INDEXC*2+INDEXH+INDEXL)/4;
X_12:=EMA(X_11,13)-EMA(X_11,34);
X_13:=EMA(X_12,3);
X_14:=(X_12-X_13)/2;
X_15:=IF(X_14>=0,X_14,0);
X_16:=IF(X_14<=0,X_14,0);
X_17:=REF(LOW,1);
X_18:=SMA(ABS(LOW-X_17),13,1)/SMA(MAX(LOW-X_17,0),13,1)*4;
X_19:=EMA(X_18,13);
X_20:=LLV(LOW,34);
X_21:=EMA(IF(LOW<=X_20,X_19,0),3);
X_22:=IF(X_21<REF(X_21,1),X_21,0);
X_23:=100*(CLOSE-MA(CLOSE,20));
X_24:=100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8));
X_25:=7;
X_26:=50;
X_27:=17;
X_28:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_29:=(20*X_28+19*REF(X_28,1)+18*REF(X_28,2)+17*REF(X_28,3)+16*REF(X_28,4)+15*REF(X_28,5)+14*REF(X_28,6)+13*REF(X_28,7)+12*REF(X_28,8)+11*REF(X_28,9)+10*REF(X_28,10)+9*REF(X_28,11)+8*REF(X_28,12)+7*REF(X_28,13)+6*REF(X_28,14)+5*REF(X_28,15)+4*REF(X_28,16)+3*REF(X_28,17)+2*REF(X_28,18)+REF(X_28,20))/210;
X_30:=EMA(X_29,13);
X_31:=LLV(HIGH,30);
X_32:=100*WINNER(CLOSE);
X_33:=(HHV(X_32,X_27)+LLV(X_32,X_27))/2;
X_34:=EMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,3);
X_35:=REF(CLOSE,1);
X_36:=SMA(MAX(CLOSE-X_35,0),3,1)/SMA(ABS(CLOSE-X_35),3,1)*100;
X_37:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
X_38:=X_36-X_37;
X_39:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_40:=EMA(X_39,9);
X_41:=2*(X_39-X_40);
X_42:=BARSLAST(CROSS(X_41,REF(X_41,1)) AND X_41>0 OR CROSS(X_41,0));
X_43:=BARSLAST(CROSS(0.5,COUNT(X_41>REF(X_41,1),X_42+1)=X_42+1));
X_44:=COUNT(X_41<REF(X_41,1),X_43+1)=X_43+1 AND COUNT(X_41<0,X_43+1)<=2;
X_45:=REF(X_44,1) AND X_41>REF(X_41,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1);
X_46:=VOL/CAPITAL*100;
X_47:=CLOSE/REF(CLOSE,1)*100-100;
X_48:=BARSLAST(CROSS(0.5,COUNT(X_41<0,3)>=3) AND (X_41>=1 OR X_39>=2));
X_49:=CROSS(0.5,COUNT(X_41>REF(X_41,1),X_48+1)=X_48+1);
X_50:=REF(HHV(X_46,X_48+1),1)>=3 AND REF(HHV(X_47,X_48+3),1)>=5;
X_51:=BARSLAST(X_49 AND X_50);
X_52:=COUNT(X_41<REF(X_41,1),X_51+1)=X_51+1;
X_53:=COUNT(X_41<0,X_51+1)<=2 AND (COUNT(CLOSE<OPEN AND X_47<0,2)=2 OR X_51>=1);
X_54:=X_52 AND X_53;
X_55:=REF(X_54,1) AND X_41>REF(X_41,1) AND CLOSE>OPEN AND X_47>0;
X_56:=(X_39-REF(X_39,1))/REF(X_39,1)*100;
X_57:=0.7*(26-12)/2*EMA(CLOSE-REF(CLOSE,1),12);
X_58:=EMA(EMA(X_57,3),3);
X_59:=EMA(X_57,3);
X_60:=CROSS(X_39,X_40);
X_61:=BARSLAST(FILTERX(X_59=HHV(X_59,BARSLAST(X_59<0)),BARSLAST(X_59<0)));
X_62:=REF(X_59,X_61);
X_63:=CROSS(X_59,X_39);
X_64:=EXIST(X_63,2);
X_65:=EXIST(X_60,3);
XG:X_60 AND X_63 AND X_38>40 AND X_34>80 AND X_33<90;