XA_1:=BARSCOUNT(CLOSE)>250AND DYNAINFO(17)>2.5;
XA_2:=HY_INDEXC/REF(HY_INDEXC,1)>1.02 AND HY_INDEXADV/(HY_INDEXADV+HY_INDEXDEC)>0.6;
XA_3:=Abs(CLOSE-REF(CLOSE,5))/CLOSE<0.1;
XA_4:=CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2);
XA_5:=CLOSE/REF(CLOSE,1)>1.05 AND DYNAINFO(7)>DYNAINFO(11);
XA_6:=IF(CLOSE=OPEN AND CLOSE=HIGH,1,0);
抓板:XA_1 AND XA_2 AND XA_4 AND XA_5 AND XA_6=0;
九毛八公式解读
XA_1赋值:收盘价的有效数据周期数>250 AND 量比>2.5 XA_2赋值:行业指数的收盘价/1日前的行业指数的收盘价>1.02 AND 行业指数的上涨家数/(行业指数的上涨家数+行业指数的下跌家数)>0.6 XA_3赋值:收盘价-5日前的收盘价的绝对值/收盘价<0.1 XA_4赋值:收盘价/开盘价>1.03 AND 收盘价>2日前的收盘价 XA_5赋值:收盘价/1日前的收盘价>1.05 AND 现价>均价 XA_6赋值:如果收盘价=OPENANDCLOSE=最高价,返回1,否则返回0 输出抓板:XA_1 AND XA_2 AND XA_4 AND XA_5 AND XA_6=0