XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_2:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_1>=4.945;
XA_3:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1) OR XA_2 AND NOT(DYNAINFO(4)=0);
XA_4:=XA_3 AND OPEN=HIGH AND LOW=HIGH;
XA_5:=IF(VOL=LLV(VOL,20),9,8);
XA_6:=XA_5>8;
XA_7:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
XA_8:=XA_7 AND CLOSE=OPEN AND HIGH=LOW AND CLOSE=LOW;
XA_9:=REF(XA_6,1) AND REF(VOL,1)>VOL*1.1;
XA_10:=VOL<=REF(VOL,1)*0.7 AND VOL>REF(VOL,1)*0.5;
XA_11:=VOL<=REF(VOL,1)*0.5;
三缩涨停:XA_10 OR XA_11 OR XA_9 AND NOT(XA_4) AND NOT(XA_8) AND XA_3 AND NOT(DYNAINFO(4)=0);
九毛八公式解读
XA_1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100 XA_2赋值:模糊匹配品种名称 OR 模糊匹配品种名称 OR 模糊匹配品种名称 AND XA_1>=4.945 XA_3赋值:收盘价=计算涨停价 OR XA_2 AND 取反 XA_4赋值:XA_3 AND 开盘价=最高价 AND 最低价=最高价 XA_5赋值:如果成交量(手)=20日内成交量(手)的最低值,返回9,否则返回8 XA_6赋值:XA_5>8 XA_7赋值:收盘价=计算跌停价 XA_8赋值:XA_7 AND 平盘ANDSE 最高价=最低价 AND 收盘价=最低价 XA_9赋值:1日前的XA_6 AND 1日前的成交量(手)>成交量(手)*1.1 XA_10赋值:成交量(手)<=1日前的成交量(手)*0.7 AND 成交量(手)>1日前的成交量(手)*0.5 XA_11赋值:成交量(手)<=1日前的成交量(手)*0.5 输出三缩涨停:XA_10 OR XA_11 OR XA_9 AND 取反 AND 取反 AND XA_3 AND 取反