XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04 OR CLOSE/OPEN>=1.03
AND (VOL<=MA(VOL,60) OR VOL/REF(VOL,1)<=1.2 OR VOL<HHV(VOL,5))
AND HIGH>LOW;
XA_2:=(OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
XA_3:=VOL/REF(VOL,1)<=0.5 AND REF(VOL,2)>REF(VOL,1) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;
XA_4:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52;
XA_5:=REF(XA_2,1) AND VOL/REF(VOL,1)<=0.52 AND CLOSE>OPEN;
XA_6:=XA_3 OR XA_4 AND HIGH>LOW AND REF(VOL,2)>REF(VOL,1);
XA_7:=VOL>REF(VOL,1)*0.5 AND CLOSE>OPEN;
XA_8:=COUNT(XA_6,5) AND (XA_7 OR XA_5 OR REF(XA_5,1)) AND (REF(VOL,1)/REF(VOL,2)<=1.98 OR REF(XA_2,1));
XA_9:=IF(NAMELIKE(1),0,1);
XA_10:=IF(NAMELIKE(2),0,1);
XA_11:=DYNAINFO(7)>2 AND DYNAINFO(7)<270 AND NOT(DYNAINFO(4)=0);
XA_12:=XA_9 AND XA_10 AND XA_11;
XA_13:=FILTER(XA_8,5) AND NOT(DATE=1160108) AND REF(CLOSE,1)<REF(OPEN,1);
XA_14:=FILTER(XA_8,5) AND NOT(DATE=1160108) AND
REF(CLOSE,1)<REF(OPEN,1) AND (XA_1 OR (CLOSE>OPEN AND
VOL/REF(VOL,1)>=1.95));
XG:XA_13 OR XA_14 AND XA_12;
九毛八公式解读
XA_1赋值:(收盘价-1日前的收盘价)/1日前的收盘价>=0.04 OR 收盘价/开盘价>=1.03 AND (成交量(手)<=成交量(手)的60日简单移动平均 OR 成交量(手)/1日前的成交量(手)<=1.2 OR 成交量(手)<5日内成交量(手)的最高值) AND 最高价>最低价 XA_2赋值:(开盘价-收盘价)/开盘价>=0.04 AND (成交量(手)/成交量(手)的60日简单移动平均<=2/3 OR 成交量(手)/1日前的成交量(手)<=1.15 OR 成交量(手)<5日内成交量(手)的最高值) XA_3赋值:成交量(手)/1日前的成交量(手)<=0.5 AND 2日前的成交量(手)>1日前的成交量(手) AND 1日前的收盘价<1日前的开盘价 AND 收阴线 XA_4赋值:1日前的XA_2 AND 成交量(手)/1日前的成交量(手)<=0.52 XA_5赋值:1日前的XA_2 AND 成交量(手)/1日前的成交量(手)<=0.52 AND 收阳线 XA_6赋值:XA_3 OR XA_4 AND 最高价>最低价 AND 2日前的成交量(手)>1日前的成交量(手) XA_7赋值:成交量(手)>1日前的成交量(手)*0.5 AND 收阳线 XA_8赋值:统计5日中满足XA_6的天数 AND (XA_7 OR XA_5 OR 1日前的XA_5) AND (1日前的成交量(手)/2日前的成交量(手)<=1.98 OR 1日前的XA_2) XA_9赋值:如果模糊匹配品种名称,返回0,否则返回1 XA_10赋值:如果模糊匹配品种名称,返回0,否则返回1 XA_11赋值:现价>2 AND 现价<270 AND 取反 XA_12赋值:XA_9 AND XA_10 AND XA_11 XA_13赋值:XA_8的5日过滤 AND 取反 AND 1日前的收盘价<1日前的开盘价 XA_14赋值:XA_8的5日过滤 AND 取反 AND 1日前的收盘价<1日前的开盘价 AND (XA_1 OR (收阳线ANDSE 成交量(手)/1日前的成交量(手)>=1.95)) 输出XG:XA_13 OR XA_14 AND XA_12