HJ_1:=MA(CLOSE,10);
HJ_2:=HJ_1+2*STD(CLOSE,10);
HJ_3:=HJ_1-2*STD(CLOSE,10);
HJ_4:=CROSS(HJ_3,CLOSE);
HJ_5:=BARSLAST(HJ_4);
DRAWLINE(HJ_4,OPEN,REF(HJ_4,1),REF(OPEN,1),1),COLORYELLOW;
HJ_6:=BARSLAST(HJ_4);
HJ_7:=CROSS(CLOSE,REF(OPEN,HJ_6));
DRAWICON(HJ_7=1 AND CLOSE REF(CLOSE,1)*1.05,LOW*0.98,26);
{-----------------------------------}