HJ_1:=MA(CLOSE,5);
HJ_2:=MA(CLOSE,20);
HJ_3:=MA(CLOSE,60);
HJ_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.099;
HJ_5:=REF(CLOSE,1)<REF(OPEN,1);
HJ_6:=HJ_1>HJ_2 AND HJ_1>HJ_3;
HJ_7:=CLOSE>HJ_1 AND OPEN<HJ_1;
HJ_8:=BARSLAST(REF(HJ_4,1))+1;
HJ_9:=HHV(HIGH,HJ_8);
HJ_10:=HJ_9>REF(CLOSE,HJ_8);
XG:HJ_5 AND HJ_7 AND HJ_8<11 AND HJ_6 AND REF(CLOSE,1)>OPEN AND HJ_10;
{-----------------------------------}