HJ_1:=MA(LOW,20)*1.1;
HJ_2:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;
HJ_3:=(2*CLOSE+(CLOSE+HIGH+LOW+OPEN)/4+OPEN)/4;
HJ_4:=(2*LOW+3*HJ_3)/5;
HJ_5:=(2*HIGH+3*HJ_3)/5;
HJ_6:=(HJ_4+HJ_5)/2;
HJ_7:=ABS(HJ_4-EMA(HJ_6,13))/EMA(HJ_6,13);
HJ_8:=DMA(HJ_6,HJ_7);
HJ_9:=(1+13/100)*HJ_8;
HJ_10:=MA(CLOSE,20);
HJ_11:=CLOSE>MA(CLOSE,5);
HJ_12:=MA(CLOSE,5)>MA(CLOSE,10);
HJ_13:=CLOSE>MA(CLOSE,10);
HJ_14:=MA(CLOSE,5)>MA(CLOSE,20);
HJ_15:=CLOSE>MA(CLOSE,20);
HJ_16:=REF(HJ_10,1);
HJ_17:=HJ_10>HJ_16;
HJ_18:=IF(HJ_11,10,0-10)+IF(HJ_12,10,0-10)+IF(HJ_13,10,0-10)+IF(HJ_14,10,0-10)+IF(HJ_15,10,0-10)+IF(HJ_17,10,0-10);
HJ_19:=IF(NAMELIKE(6),0,1);
HJ_20:=IF(NAMELIKE(7),0,1);
XG1:HJ_18=60 AND CROSS(HJ_9,HJ_1) AND HJ_19 AND HJ_20 AND NOT(OPEN>=REF(CLOSE,1)*1.099) AND DYNAINFO(17)>0 AND CLOSE=HIGH AND HIGH>HJ_2;
{-----------------------------------}