HJ_1:=MA(CLOSE,5);
HJ_2:=MA(CLOSE,10);
HJ_3:=MA(CLOSE,60);
HJ_4:=BARSLAST(CROSS(HJ_1,HJ_3));
HJ_5:=BARSLAST(CROSS(HJ_2,HJ_3));
HJ_6:=BARSLAST(HIGH=HHV(HIGH,HJ_5));
HJ_7:=BARSLAST(CROSS(HJ_2,HJ_1));
HJ_8:=BARSLAST(CROSS(HJ_1,HJ_2));
HJ_9:=HJ_4 HJ_5 AND HJ_5 HJ_6 AND HJ_6 HJ_7 AND HJ_7 HJ_8 AND HJ_8
HJ_10:=COUNT(CROSS(HJ_2,HJ_1),HJ_5)=2;
CROSS(HJ_9,HJ_10);
{-----------------------------------}