HJ_1:=EMA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,2500),1),30);
HJ_2:=EMA((CLOSE+LOW+OPEN+HIGH)/4,60);
HJ_3:=EMA((CLOSE+LOW+OPEN+HIGH)/4,120);
STICKLINE(CLOSE<HJ_3 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<HJ_3 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,4,1),COLORYELLOW;
STICKLINE(CLOSE=OPEN,HIGH,LOW,0,1),COLORYELLOW;
STICKLINE(CLOSE<HJ_3 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR007700;
STICKLINE(CLOSE<HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR005500;
STICKLINE(CLOSE<HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR006600;
STICKLINE(CLOSE<HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR007700;
STICKLINE(CLOSE>HJ_3 AND CLOSE<OPEN,HIGH,LOW,0,0),COLORFFDD44;
STICKLINE(CLOSE>HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(CLOSE>HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORFFAA22;
STICKLINE(CLOSE>HJ_3 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLORFFDD44;
STICKLINE(CLOSE>HJ_3 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_3 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR00AAFF;
STICKLINE(CLOSE>HJ_3 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(CLOSE>HJ_3 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_2 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF66AA;
STICKLINE(CLOSE>HJ_2 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFF11FF;
STICKLINE(CLOSE>HJ_2 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFF44FF;
STICKLINE(CLOSE>HJ_2 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFF66FF;
STICKLINE(CLOSE>HJ_2 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR999999;
STICKLINE(CLOSE>HJ_2 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR555555;
STICKLINE(CLOSE>HJ_2 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR777777;
STICKLINE(CLOSE>HJ_2 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR999999;
STICKLINE(CLOSE>HJ_1 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000DD;
STICKLINE(CLOSE>HJ_1 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>HJ_1 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000BB;
STICKLINE(CLOSE>HJ_1 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000DD;
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND CLOSE/REF(CLOSE,1)>1.048,HIGH,LOW,3,0),COLORRED;
STICKLINE(HIGH=LOW AND CLOSE=OPEN AND REF(CLOSE,1)/CLOSE>1.048,HIGH,LOW,3,0),COLORGREEN;
STICKLINE(REF(COUNT(CLOSE<HJ_1,5)=5,1) AND CLOSE>HJ_1 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00CCFF;{www.fxjgsw.com}
HJ_4:=(EMA(CLOSE,2)+EMA(CLOSE,4)+EMA(CLOSE,8))/3;
HJ_5:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12))/3;
HJ_6:=(EMA(CLOSE,4)+EMA(CLOSE,8)+EMA(CLOSE,16))/3;
H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