{竞价数值}
开幅:(OPEN/REF(CLOSE,1)-1)*100;
开盘量:=DYNAINFO(15)/OPEN/100;
开盘换手:开盘量/CAPITAL*100;
开量比:开盘量/REF(MA(VOL,5),1)*240;
昨量:=REF(VOL,1);
竞价额万:DYNAINFO(15)/10000;
承接强度:开盘量/昨量*1;
竞价强度:开量比*开盘换手*开幅*1;
核心:开幅<8.65 AND 开幅>2 AND 开量比>10 AND 开盘换手>0.3 AND 竞价强度>50 AND 承接强度>0.05 AND 承接强度<0.24 AND 竞价额万>1000 ;
{涨停基因}
ZT:=C>=1.095*REF(C,1) AND C=H; {涨停版}
涨停板总数:COUNT(ZT,250); {所有封死涨停数}
高开:=REF(ZT,1) AND O>REF(C,1);
低开:=REF(ZT,1) AND O<REF(C,1);
连板:=REF(ZT,1) AND ZT; {既2连板}
不连板:=REF(ZT,1) AND NOT(ZT);
低开冲高:=REF(ZT,1) AND O<REF(C,1) AND H>REF(C,1);
低开不冲高:=REF(ZT,1) AND H<REF(C,1);
平开:=REF(ZT,1) AND O=REF(C,1);
炸板:=H>=1.095*REF(C,1) AND C!=H;{当天触碰过涨停,但收盘没有封死}
高开数:=COUNT(高开,250);
低开数:=COUNT(低开,250);
连板数:=COUNT(连板,250);
不连板数:=COUNT(不连板,250);
低开冲高数:=COUNT(低开冲高,250);
低开不冲高数:=COUNT(低开不冲高,250);
平开数:=COUNT(平开,250);
炸板数:=COUNT(炸板,250);
二连板概率:连板数/(连板数+不连板数)*100;{统计二板能封住的能力}
封板能力概率:涨停板总数/(涨停板总数+炸板数)*100;{纯粹统计该股的封板能力};
DRAWTEXT_FIX(ISLASTBAR,0,0.02,0,STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【概念】',GNBLOCK))),COLORMAGENTA;