HJ_1:=OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20);
HJ_2:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20);
HJ_3:=CLOSE>OPEN;
HJ_4:=CLOSE>REF(CLOSE,1)*1.05;
HJ_5:=NOT(NAMELIKE(1) OR NAMELIKE(2));
XG:HJ_1 AND HJ_2 AND HJ_3 AND HJ_4 AND HJ_5;
{-----------------------------------}