XG:OPEN< 0,COLORYELLOW;
HJ_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_2:=EMA(HJ_1,9);
HJ_3:=(HJ_1-HJ_2)*2;
HJ_4:=COUNT(HJ_3< 0,2)=2 AND HJ_3/REF(HJ_3,1)< 0.8;
HJ_5:=HJ_2< 0;
HJ_6:=ABS(LOW-REF(LOW,1));
HJ_7:=MAX(LOW-REF(LOW,1),0);
HJ_8:=EMA(ADVANCE,13);
HJ_9:=EMA(DECLINE,13);
HJ_10:=IF(HJ_6/HJ_7=1.62,5,1);
HJ_11:=SMA(HJ_6,5,1)/SMA(HJ_7,5,1);
HJ_12:=EMA(HJ_11,3);
HJ_13:=HHV(HJ_12,13);
HJ_14:=HJ_12+HJ_13;
HJ_15:=HJ_14/REF(HJ_14,1)< 1;
HJ_16:=REF(HJ_15,1)< 1;
HJ_17:=HJ_4 AND HJ_5 AND HJ_10 AND HJ_15 AND HJ_16;
STICKLINE(HJ_17,0,0.7,3.8,0),COLORRED;
STICKLINE(HJ_17,0.7,1,3.8,0),COLORYELLOW;