HJ_1:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),5));
HJ_2:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),10));
HJ_3:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),20));
HJ_4:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),60));
HJ_5:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),120));
HJ_6:=MAX(HJ_1,MAX(HJ_2,MAX(HJ_3,MAX(HJ_4,HJ_5))));
HJ_7:=CLOSE>HJ_4 AND HJ_3>HJ_4 AND HJ_4>REF(HJ_4,1) AND CLOSE<ZTPRICE(REF(CLOSE,1),0.1) AND 1.1*CLOSE>=HJ_6;
HJ_8:=NAMELIKE(1)+NAMELIKE(2)+NAMELIKE(3)=0;
HJ_9:=COUNT(CLOSE>=OPEN,40)-COUNT(CLOSE<OPEN,40)>=2;
HJ_10:=REF(HJ_7 AND HJ_8 AND HJ_9,1);
HJ_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
HJ_12:=HJ_1>REF(HJ_1,1) AND HJ_2>REF(HJ_2,1) AND HJ_3>REF(HJ_3,1);
HJ_13:=ATAN((EMA(CLOSE,3)/REF(EMA(CLOSE,3),1)-1)*100)*180/3.14;
HJ_14:=CROSS(CLOSE,REF(HHV(CLOSE,20),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,20),1)) AND HJ_11>=0.06,3)=1 AND HJ_12;
HJ_15:=CROSS(CLOSE,REF(HHV(CLOSE,40),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,40),1)) AND HJ_11>=0.06,3)=1 AND HJ_12;
HJ_16:=CROSS(CLOSE,REF(HHV(CLOSE,60),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,60),1)) AND HJ_11>=0.06,3)=1 AND HJ_12;
HJ_17:=EXIST(CROSS(CLOSE,HJ_6),2) AND COUNT(CROSS(CLOSE,HJ_6),5)=1;
HJ_18:=CROSS(HJ_13,78) AND HJ_1>=HJ_2 AND HJ_12 OR HJ_13-REF(HJ_13,1)>=150;
HJ_19:=CLOSE/REF(CLOSE,1)>=1.07 AND HIGH>LOW AND OPEN>0;
HJ_20:=MA(CLOSE,5);
HJ_21:=MA(CLOSE,10);
HJ_22:=MA(CLOSE,20);
HJ_23:=MA(CLOSE,60);
HJ_24:=MA(CLOSE,120);
HJ_25:=HJ_20>HJ_22 AND HJ_22>HJ_23 AND HJ_23>HJ_24;
HJ_26:=COUNT(COUNT(CLOSE/REF(CLOSE,1)>=1.095 AND HIGH=CLOSE,3)=3,120);
HJ_27:=HJ_14 OR HJ_15 OR HJ_16 OR HJ_17 OR HJ_18 AND HJ_19;
HJ_26>=3 AND HJ_27 AND HJ_25;
{-----------------------------------}