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_31 AND REF(HJ_29,1)>HJ_31;
HJ_38:=HJ_29<HJ_34 AND REF(HJ_29,1)>HJ_34;
HJ_39:=EXIST(CLOSE>REF(CLOSE,1)*1.06,100);
HJ_40:=NOT(DYNAINFO(4)=0);
鼎牛涨停狙击:(COUNT(HJ_27=1,4)=3 AND HJ_27=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>N)*89>=89 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>N AND (REF(HJ_38,1) OR REF(HJ_37,1))) AND HJ_39 AND HJ_40 AND HJ_23;
{-----------------------------------}