VAR_1:=EMA((EMA(CLOSE*vol,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,18);
VAR_2:=1.06*VAR_1;
VAR_3:=MA(CLOSE,5);
VAR_4:=MA(CLOSE,10);
VAR_7:=REF(COUNT(VAR_3>VAR_4,7)>=1 AND (VAR_3>REF(VAR_3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND crOSS(CLOSE,VAR_3) AND CLOSE>VAR_2 AND VAR_3>REF(VAR_3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
VAR_8:=MA(CLOSE,20);
VAR_9:=CLOSE>MA(CLOSE,5);
VAR_10:=MA(CLOSE,5)>MA(CLOSE,10);
VAR_11:=CLOSE>MA(CLOSE,10);
VAR_12:=MA(CLOSE,5)>MA(CLOSE,20);
VAR_13:=CLOSE>MA(CLOSE,20);
VAR_14:=REF(VAR_8,1);
VAR_15:=VAR_8>VAR_14;
VAR_16:=IF(VAR_9,10,0-10)+IF(VAR_10,10,0-10)+IF(VAR_11,10,0-10)+IF(VAR_12,10,0-10)+IF(VAR_13,10,0-10)+IF(VAR_15,10,0-10);
VAR_19:=VAR_16=60;
VAR_21:=BArslAST(NOT(VAR_19));
VAR_22:=COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,12);
VAR_23:=VAR_7 AND VAR_19=1 AND VAR_21=1 AND VAR_22;
VAR_24:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
VAR_25:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
VAR_26:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
VAR_27:=VAR_25 AND VAR_26;
VAR_28:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
VAR_29:=VAR_27 AND VAR_28;
VAR_30:=COUNT(REF(VAR_24,3),8) AND VAR_29;
VAR_31:=MA(CLOSE,20);
VAR_32:=CLOSE>MA(CLOSE,5);
VAR_33:=MA(CLOSE,5)>MA(CLOSE,10);
VAR_34:=CLOSE>MA(CLOSE,10);
VAR_35:=MA(CLOSE,5)>MA(CLOSE,20);
VAR_36:=CLOSE>MA(CLOSE,20);
VAR_37:=REF(VAR_31,1);
VAR_38:=VAR_31>VAR_37;
VAR_39:=IF(VAR_32,10,0-10)+IF(VAR_33,10,0-10)+IF(VAR_34,10,0-10)+IF(VAR_35,10,0-10)+IF(VAR_36,10,0-10)+IF(VAR_38,10,0-10);
VAR_42:=VAR_39=60;
VAR_44:=BARSLAST(NOT(VAR_42));
VAR_45:=VAR_30 AND VAR_42=1 AND VAR_44=1;
VAR_46:=REF(CLOSE,7)/REF(CLOSE,8)>1.095 AND REF(CLOSE,7)>REF(OPEN,7);
VAR_47:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85);
VAR_48:=REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)<REF(MA(CLOSE,10),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1);
VAR_49:=VAR_46 AND VAR_47 AND VAR_48;
VAR_50:=VAR_49 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1);
VAR_51:=VAR_45 OR VAR_50;
VAR_68:=MA(CLOSE,30);
VAR_71:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR_74:=REF(CLOSE,1);
VAR_75:=IF((CLOSE-VAR_74)*100/VAR_74>=10-0.01*100/VAR_74,1,0);
VAR_91:=REF(VAR_75,1);
VAR_92:=COUNT(VAR_91,5)>=1;
VAR_97:=OPEN<=REF(CLOSE,1) AND VAR_71<(-2);
VAR_98:=COUNT(VAR_97,2)>=1;
VAR_99:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)/REF(CLOSE,3)>1.095 AND OPEN>REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)/REF(OPEN,1)>1.03 AND REF(HIGH,1)/REF(CLOSE,2)>1.03);
VAR_100:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.909 AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(OPEN,2)>REF(CLOSE,3) AND REF(HIGH,1)/REF(OPEN,1)>1.03);
VAR_101:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(CLOSE,2)/REF(HIGH,1)>1.03 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>1.05);
VAR_102:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,1));
VAR_103:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(HIGH,2)>REF(CLOSE,3) AND REF(LOW,2)<REF(OPEN,3) AND REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.05 AND OPEN/REF(LOW,2)<0.98);
VAR_104:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.901 AND REF(CLOSE,1)=REF(LOW,1) AND REF(OPEN,2)/REF(CLOSE,3)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND REF(OPEN,2)/REF(LOW,2)>1.05);
VAR_105:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(CLOSE,3)/REF(CLOSE,4)<0.901 AND REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,3)>REF(CLOSE,4) AND REF(CLOSE,3)<REF(OPEN,4) AND REF(OPEN,3)/REF(CLOSE,3)>1.05);
VAR_106:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(HIGH,3)>REF(CLOSE,4) AND REF(LOW,3)<REF(LOW,4));
VAR_107:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(OPEN,4)>REF(CLOSE,5) AND REF(CLOSE,3)/REF(CLOSE,4)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,2)/REF(CLOSE,3)<0.98 AND REF(CLOSE,2)>REF(CLOSE,1));
VAR_108:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,1)<REF(CLOSE,2));
VAR_109:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,4)<REF(MA(CLOSE,10),4) AND REF(HIGH,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.95 AND CROSS(REF(MA(CLOSE,5),1),REF(MA(CLOSE,10),1)) AND OPEN/REF(OPEN,4)>1.03);
VAR_110:=NOT(REF(CLOSE,4)/REF(CLOSE,5)<1.099 AND REF(CLOSE,5)/REF(CLOSE,6)>1.099 AND REF(LOW,1)>REF(CLOSE,5) AND OPEN>REF(CLOSE,5) AND REF(CLOSE,1)/REF(CLOSE,2)>0.96);
VAR_111:=NOT(COUNT(EVERY(REF(CLOSE,1)/REF(CLOSE,2)>1.09,5),8) AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(HIGH,1)/REF(OPEN,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<0.91);
VAR_112:=VAR_92 AND VAR_71>2.5 AND REF(VAR_98,1) AND REF(VAR_71<2.4,1) AND VAR_68>0 AND VAR_99 AND VAR_100 AND VAR_101 AND VAR_102 AND VAR_103 AND VAR_104 AND VAR_105 AND VAR_106 AND VAR_107 AND VAR_108 AND VAR_109 AND VAR_110 AND VAR_111;
VAR_113:=REF(CLOSE,10)/REF(CLOSE,11)>1.099 AND OPEN/REF(OPEN,10)<1.03 AND REF(CLOSE,3)/REF(CLOSE,4)<0.95 AND REF(CLOSE,2)/REF(CLOSE,3)<1.02 AND REF(CLOSE,1)/REF(CLOSE,2)<1.01 AND HIGH/REF(CLOSE,1)>1.041;
VAR_114:=VAR_23 OR VAR_51 OR VAR_112 OR VAR_113;
主升浪:VAR_114 AND NOT(REF(VAR_114,1)),COLORRED,LINETHICK2;