量:=VOL,VOLSTICK;
五日量:MA(量,5),COLORWHITE;
TT:=BARSCOUNT(C);
CTA:=SUM(C*V,TT)/SUM(V,TT);
CTA1:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
CTA2:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
CTA3:=C>CTA AND V>MA(V,5);
CTA4:=V>=REF(V,1)*2 ;
CTA5:=C>=HHV(C,0);
CTA6:=V>=HHV(V,0);
CTA7:=C/DYNAINFO(3)<=1.02;
CTA8:=CTA1 AND CTA2 AND CTA3 AND CTA4 AND CTA5 AND CTA6 AND CTA7;
DRAWTEXT(CTA8,HHV(量,0)*0.9,'起爆'),COLORBLUE;
DRAWICON(CTA8,HHV(量,0),1),COLORRED;
STICKLINE(CTA8,量,0,1,0),COLORMAGENTA;
DRAWTEXT(CTA8,量*0.9,'∠'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20线上行+日价K线突破+日K线量起爆更好+估换手小于10%时更稳定'),COLORGREEN;
{同意利润收益、和发出时间分钟}
VV:=BARSSINCE(CTA8)+1;
首次起爆价:REF(C,VV-1),NODRAW;
起爆点:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
流通盘:CAPITAL*100/100000000,NODRAW;
起爆时间:REF(TIME/10000,VV),NODRAW;
已爆分钟:VV-1,NODRAW;
{画出底线和红球}
首次起爆量:=REF(VOL,VV-1);
DRAWICON(已爆分钟>=2,首次起爆量/2,13);{出现红球,至少已经确认2分钟了};