HJ_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJ_2:=(20*HJ_1+19*REF(HJ_1,1)+18*REF(HJ_1,2)+17*REF(HJ_1,3)+16*REF(HJ_1,4)+15*REF(HJ_1,5)+14*REF(HJ_1,6)+13*REF(HJ_1,7)+12*REF(HJ_1,8)+11*REF(HJ_1,9)+10*REF(HJ_1,10)+9*REF(HJ_1,11)+8*REF(HJ_1,12)+7*REF(HJ_1,13)+6*REF(HJ_1,14)+5*REF(HJ_1,15)+4*REF(HJ_1,16)+3*REF(HJ_1,17)+2*REF(HJ_1,18)+REF(HJ_1,20))/210;
HJ_3:=EMA(HJ_2,13);
HJ_4:=EMA(CLOSE,5);
HJ_5:=EMA(HJ_4,8);
HJ_6:=EMA(HJ_5,13);
HJ_7:=EMA(HJ_6,50);
HJ_8:=REF(CLOSE,1)<REF(HJ_3,1) AND CLOSE>HJ_3;
HJ_9:=CLOSE/REF(CLOSE,1)>1+0.01*N;
HJ_10:=HJ_3/HJ_7<1+0.01*10;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,4,0),COLOR000088;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,3,0),COLOR0000AA;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,2,0),COLOR0000CC;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,1.4,0),COLOR0000EE;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,0.9,0),COLOR0000EE;
STICKLINE(IF(HJ_8 AND HJ_9,1,0),6,0,0.3,0),COLORLIMAGENTA;
{-----------------------------------}