zf:=(C-REF(C,1))/REF(C,1)*100;
a1:=ref(zf,3)>9.9;
a2:=v<ref(vol,1) and ref(vol,1)<ref(vol,2)and ref(vol,2)<ref(vol,3);
a3:=c>ref(c,3) and ref(c,1)>ref(c,3) andref(c,2)>ref(c,3);
a1 and a2 and a3;
加入新规则
板幅:=IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),20,10);
计算式1:=REF(C,1)*(100+板幅);
计算式2:=C*100;
涨停判断式1:=ABS(INTPART(计算式2)-INTPART(计算式1))<=1 AND H=C;
涨停判断式2:=C=ZTPRICE(REF(C,1),板幅/100);
涨停板:=涨停判断式1 OR 涨停判断式2;