说明:
副图指标,适用周期:分笔。
总买、总卖、大单、小单、资金进出等一清二楚!
input:n1(2,1,50),n2(18,1,100);
DRAWTEXTREL(29,29,STKLABEL),LINETHICK6,Colorcc99ff;
DRAWTEXTREL(144,29,STKNAME),LINETHICK6,Colorff0000;
DRAWTEXTREL(30,30,STKLABEL),LINETHICK6,Colorffff00;
DRAWTEXTREL(145,30,STKNAME),LINETHICK6,Color00ffff;
DRAWTEXTREL(746,189,'盘 口 分 析'),LINETHICK6,Color00ffff;
DRAWTEXTREL(748,191,'盘 口 分 析'),LINETHICK6,Color0000ff;
DRAWTEXTREL(295,45,'流通:'+NUMTOSTRN(FINANCE2(37),0)+' 收益:'+NUMTOSTRN(FINANCE2(3),2)+' 市盈:'+NUMTOSTRN(DYNAINFO(39),2)+' 市净:'+NUMTOSTRN(DYNAINFO(58),2)+' 换手:'+NUMTOSTRN(DYNAINFO(37),2)),LINETHICK3,Color9999ff;
DRAWTEXTREL(20,120,'---------------------------------------------------------'),LINETHICK3,Colorffffff;
mr:=BUYVOL*c/100;
zmr:=sum(mr,0);
mc:=SELLVOL*c/100;
zmc:=sum(mc,0);
rch:=zmr+zmc;
rcc:=zmr-zmc;
mr0:=if(mr<5 ,mr,0);
zmr0:=sum(mr0,0);
mc0:=if(mc<5 ,mc,0);
zmc0:=sum(mc0,0);
mr5:=if(mr<10 and mr>=5 ,mr,0);
zmr5:=sum(mr5,0);
mc5:=if(mc<10 and mc>=5,mc,0);
zmc5:=sum(mc5,0);
mr10:=if(mr<25 and mr>=10 ,mr,0);
zmr10:=sum(mr10,0);
mc10:=if(mc<25 and mc>=10 ,mc,0);
zmc10:=sum(mc10,0);
mr25:=if(mr<50 and mr>=25 ,mr,0);
zmr25:=sum(mr25,0);
mc25:=if(mc<50 and mc>=25 ,mc,0);
zmc25:=sum(mc25,0);
mr50:=if(mr<75 and mr>=50 ,mr,0);
zmr50:=sum(mr50,0);
mc50:=if(mc<75 and mc>=50 ,mc,0);
zmc50:=sum(mc50,0);
mr75:=if(mr<100 and mr>=75,mr,0);
zmr75:=sum(mr75,0);
mc75:=if(mc<100 and mc>=75,mc,0);
zmc75:=sum(mc75,0);
mr100:=if(mr>=100 ,mr,0);
zmr100:=sum(mr100,0);
mc100:=if(mc>=100 ,mc,0);
zmc100:=sum(mc100,0);
jg:=10*n2;mr200:=if(mr>jg ,mr,0);
zmr200:=sum(mr200,0);
mc200:=if(mc>jg,mc,0);
zmc200:=sum(mc200,0);
mmc200:=zmr200-zmc200;
mmc0:=zmr0-zmc0;
mmc5:=zmr5-zmc5;
mmc10:=zmr10+zmr25+zmr50-zmc10-zmc25-zmc50;
mmc75:=zmr75+zmr100-zmc75-zmc100;