立庄量%:100*vol/(FINANCE(7)/100)COLORYELLOW,NODRAW;
散户:IF(立庄量%<=1,立庄量%,DRAWNULL),COLORFF9900,NODRAW;
大户:IF(立庄量%>1 && 立庄量%<=3,立庄量%,DRAWNULL),COLORBBBBBB,NODRAW;
游资:IF(立庄量%>3 && 立庄量% <=5,立庄量%,DRAWNULL),NODRAW;
活跃:IF(立庄量%>5 && 立庄量%<=8,立庄量%,DRAWNULL)COLORMAGENTA,NODRAW;
非常活跃:IF(立庄量%>8 && 立庄量%<=10,立庄量%,DRAWNULL)COLORYELLOW,NODRAW;
异动:IF(立庄量%>10 && 立庄量%<=15,立庄量%,DRAWNULL)COLOR0077FF,NODRAW;
主力:IF(立庄量%>15 && 立庄量%<=25,立庄量%,DRAWNULL)COLORRED,NODRAW;
换庄:IF(立庄量%>25,立庄量%,DRAWNULL)COLOR000099,NODRAW;
STICKLINE(散户,立庄量%,0,2.8,0),COLORFF0000;
STICKLINE(散户,立庄量%,0,2.3,0),COLORFF3300;
STICKLINE(散户,立庄量%,0,1.7,0),COLORFF5500;
STICKLINE(散户,立庄量%,0,1.0,0),COLORFF7700;
STICKLINE(散户,立庄量%,0,0.3,0),COLORFF9900;
STICKLINE(大户,立庄量%,0,2.8,0),COLOR555555;
STICKLINE(大户,立庄量%,0,2.3,0),COLOR777777;
STICKLINE(大户,立庄量%,0,1.7,0),COLOR999999;
STICKLINE(大户,立庄量%,0,1.0,0),COLORBBBBBB;
STICKLINE(大户,立庄量%,0,0.3,0),COLORFF00FF;
STICKLINE(游资,立庄量%,0,2.8,0),COLOR004400;
STICKLINE(游资,立庄量%,0,2.3,0),COLOR006600;
STICKLINE(游资,立庄量%,0,1.7,0),COLOR009900;
STICKLINE(游资,立庄量%,0,1.0,0),COLOR00CC00;
STICKLINE(游资,立庄量%,0,0.3,0),COLOR00FF00;
STICKLINE(活跃,立庄量%,0,2.8,0),COLOR880088;
STICKLINE(活跃,立庄量%,0,2.3,0),COLORAA00AA;
STICKLINE(活跃,立庄量%,0,1.7,0),COLORCC00CC;
STICKLINE(活跃,立庄量%,0,1.0,0),COLOREE00EE;
STICKLINE(活跃,立庄量%,0,0.3,0),COLORFF33FF;
STICKLINE(非常活跃,立庄量%,0,2.8,0),COLOR008888;
STICKLINE(非常活跃,立庄量%,0,2.3,0),COLOR00AAAA;
STICKLINE(非常活跃,立庄量%,0,1.7,0),COLOR00CCCC;
STICKLINE(非常活跃,立庄量%,0,1.0,0),COLOR00EEEE;
STICKLINE(非常活跃,立庄量%,0,0.3,0),COLOR44FFFF;
STICKLINE(异动,立庄量%,0,2.8,0),COLOR0000AA;
STICKLINE(异动,立庄量%,0,2.3,0),COLOR0022CC;
STICKLINE(异动,立庄量%,0,1.7,0),COLOR0044DD;
STICKLINE(异动,立庄量%,0,1.0,0),COLOR0055FF;
STICKLINE(异动,立庄量%,0,0.3,0),COLOR0099FF;
STICKLINE(主力,立庄量%,0,2.8,0),COLOR000066;
STICKLINE(主力,立庄量%,0,2.3,0),COLOR000088;
STICKLINE(主力,立庄量%,0,1.7,0),COLOR0000AA;
STICKLINE(主力,立庄量%,0,1.0,0),COLOR0000CC;
STICKLINE(主力,立庄量%,0,0.3,0),COLOR2222FF;
STICKLINE(换庄,立庄量%,0,2.8,0),COLOR000022;
STICKLINE(换庄,立庄量%,0,2.3,0),COLOR000033;
STICKLINE(换庄,立庄量%,0,1.7,0),COLOR000055;
STICKLINE(换庄,立庄量%,0,1.0,0),COLOR000077;
STICKLINE(换庄,立庄量%,0,0.3,0),COLOR000099;
ACB1:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
前高量:=REF(HHV(立庄量%,60),REF(ACB1,1)),COLORGREEN;
成交量:VOL,VOLSTICK,NODRAW;
N:=90;
后量超前量:V>=HHV(V,N);
DRAWICON(后量超前量,前高量,9);
DRAWTEXT(后量超前量,前高量,' 超级单'), COLORMAGENTA;
V5:=MA(V,5),COLORWHITE,NODRAW;
V35:=MA(V,35),COLORGREEN,NODRAW;
V135:=MA(V,135),COLORFF00FF,NODRAW;
XG:=crOSS(V5,V35) AND V>V5 AND V>V135*2;
牛股启动:FILTER(XG,20),LINETHICK3,COLORRED,NODRAW;
DRAWTEXT(牛股启动,前高量,' 牛启动'), COLORYELLOW;
DRAWICON(牛股启动,前高量,34);
量比:VOL/REF(MA(VOL,5),1),COLORFFFFFF,NODRAW;
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
ABC1:=MA(预测量,5);
ABC2:=MA(预测量,60);
均量金叉:CROSS(ABC1,ABC2);
DRAWICON(均量金叉,5,11);