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_26:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
HJ_27:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
HJ_28:=HJ_26 AND HJ_27;
HJ_29:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
HJ_30:=HJ_28 AND HJ_29;{www.fxjgsw.com}
HJ_31:=(COUNT(REF(HJ_25,3),8) AND HJ_30)*HJ_1;
DRAWICON(HJ_31,LOW*0.99,24);
HJ_32:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
HJ_33:=HIGH/REF(CLOSE,1)>1.041 AND LOW<MA(CLOSE,5) AND CLOSE>MA(CLOSE,5) AND LOW<MA(CLOSE,10) AND CLOSE>MA(CLOSE,10) AND LOW<MA(CLOSE,20) AND CLOSE>MA(CLOSE,20) AND (LOW<MA(CLOSE,60) AND CLOSE>MA(CLOSE,60) OR (LOW<MA(CLOSE,120) AND CLOSE>MA(CLOSE,120)));
HJ_34:=(COUNT(REF(HJ_32,3),10) AND HJ_33)*HJ_1;
DRAWICON(HJ_34,LOW*0.99,24);
{-----------------------------------} |