成交量,选股预警
tt:=BARSCOUNT(C);
拉升:=c>=ref(hhv(h,tt),1) and c>=ref(hhv(h,14),1) and c/DYNAINFO(3)<1.098 and tt>=14 and tt<240;
量比:=sum(vol,0)*240/dynainfo(38)/barscount(c);
近量比6分钟:=sum(量比,6);
量比18:=sum(量比,18);
远量比12分钟:=量比18-近量比6分钟;
放量:=近量比6分钟/远量比12分钟;
突破:放量>=0.47 and 拉升,LINETHICK0;
买进:IF(count(突破,4)>=3 and (C-REF(C,3))/REF(C,3)*100>0.47,7,0),LINETHICK0;
累计买进:count(买进,0),LINETHICK0;
VERTLINE( 突破,2),COLORRED,LINETHICK1;
DRAWTEXT(买进,low,'▲'),COLORGREEN;