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ND HJ_21 AND HJ_27 AND HJ_29;
HJ_31:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
HJ_32:=COUNT(HJ_31,4)<=2;
HJ_33:=IF(NAMELIKE(1),1,0);
HJ_34:=IF(NAMELIKE(2),1,0);
HJ_35:=DYNAINFO(4)>0;
EXT:HJ_30 AND HJ_33=0 AND HJ_34=0 AND HJ_35 AND HJ_32 AND IF(CLOSE/REF(CLOSE,1)>1.02,1,0) AND HJ_7>REF(HJ_7,1) AND REF(CLOSE,1)/REF(CLOSE,2)<=1.06;
{———————————–}
评论(0)