超赢席位动向分析,及时发现主力异动
超赢主力动向分析,可以调节参数,分析各席位多日买卖情况,让庄家无处逃身,另外还可以排序,及时发现主力进入个股
收fei用户用
input:N(7,1,999);
机构买:=BIGORDER(1,3)*V/CAPITAL;
机构卖:=BIGORDER(2,3)*V/CAPITAL;
机构净买:=(机构买-机构卖)*100;
机构总买:=sum(机构净买,N);
大户买:=BIGORDER(1,2)*V/CAPITAL-BIGORDER(1,3)*V/CAPITAL;
大户卖:=BIGORDER(2,2)*V/CAPITAL-BIGORDER(2,3)*V/CAPITAL;
大户净买:=(大户买-大户卖)*100;
大户总买:=sum(大户净买,N);
中户买:=BIGORDER(1,1)*V/CAPITAL-BIGORDER(1,2)*V/CAPITAL;
中户卖:=BIGORDER(2,1)*V/CAPITAL-BIGORDER(2,2)*V/CAPITAL;
中户净买:=(中户买-中户卖)*100;
中户总买:=sum(中户净买,N);
小单买:=1-BIGORDER(1,1)*V/CAPITAL;
小单卖:=1-BIGORDER(2,1)*V/CAPITAL;
散户净买:=(小单买-小单卖)*100;
散户总买:=sum(散户净买,N);
散户线:=sum(散户净买*1000,0);
散户zhanghao数:=INTPART(散户线) ;
大单买:=BIGORDER(1,2)*V/CAPITAL;
大单卖:=BIGORDER(2,2)*V/CAPITAL;
主力净买:=(大单买-大单卖)*100;
SH:=sum(散户净买,N);
ZH:=sum(中户净买,N);
DH:=sum(大户净买,N);
TD:=sum(机构净买,N);
{量帐号柱}
sgl:=n;
DRAWRECTABS(90 ,30 ,150 ,40,0 ),ColorD4D4D4;
DRAWRECTABS(90 ,50 ,150 ,60,0 ),ColorD4D4D4;
DRAWRECTABS(90 ,70 ,150 ,80 ,0 ),ColorD4D4D4;
DRAWRECTABS(90 ,90,150 ,100 ,0 ),ColorD4D4D4;
DRAWTEXTABS(10 ,10 ,'账户类别' ),colorwhite;
DRAWTEXTABS(90 ,10 ,numtostrn(sgl,0)+'天持仓明细' ),colorwhite;
DRAWTEXTABS(10 ,30 ,'机构持仓' ),colorwhite;
DRAWTEXTABS(10 ,50 ,'大户持仓' ),colorwhite;
DRAWTEXTABS(10 ,70 ,'中户持仓' ),colorwhite;
DRAWTEXTABS(10 ,90 ,'散户持仓' ),colorwhite;
DRAWTEXTABS(10 ,110 ,'主力动向' ),coloryellow;
DRAWTEXTABS(10 ,130 ,'主力买' ),coloryellow;
DRAWTEXTABS(10 ,150 ,'主力卖' ),coloryellow;
DRAWRECTABS( 90,30 ,120+ref(机构总买*10,1) ,40 ,0 ),ColorFF2E40;
DRAWRECTABS( 90,50 ,120+ref(大户总买*10,1) ,60 ,0 ),ColorFF2E40;
DRAWRECTABS( 90,70 ,120+ref(中户总买*10,1),80 ,0 ),ColorFF2E40;
DRAWRECTABS( 90,90,120+ref(散户总买*10,1),100 ,0 ),ColorFF2E40;
DRAWRECTABS( 90,30 ,120+ref(机构总买*10,1)+机构净买*10 ,40 ,rgb(255,0,0) ),colorwhite;
DRAWRECTABS( 90,50 ,120+ref(大户总买*10,1)+大户净买*10 ,60 ,rgb(255,0,0) ),colorwhite;
DRAWRECTABS( 90,70 ,120+ref(中户总买*10,1)+中户净买*10,80 ,rgb(255,0,0) ),colorwhite;
DRAWRECTABS( 90,90,120+ref(散户总买*10,1)+散户净买*10,100 ,rgb(255,0,0) ),colorwhite;
DRAWTEXTABS(180 ,30 ,numtostrn(sgl,0)+'天增减仓占流通盘比'+numtostrn(机构总买,2)+'%' ),colorwhite;
DRAWTEXTABS(180 ,50 ,numtostrn(sgl,0)+'天增减仓占流通盘比'+numtostrn(大户总买,2)+'%' ),colorwhite;
DRAWTEXTABS(180 ,70, numtostrn(sgl,0)+'天增减仓占流通盘比'+numtostrn(中户总买,2)+'%' ),colorwhite;
DRAWTEXTABS(180 ,90 ,numtostrn(sgl,0)+'天增减仓占流通盘比'+numtostrn(散户总买,2)+'%' ),colorwhite;
DRAWTEXTABS(100 ,110 ,'今日增减仓占流通盘比'+numtostrn(主力净买,2)+'%' ),coloryellow;
DRAWTEXTABS(0 ,100 ,'---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------' ),Color800080;
DRAWTEXTABS(10 ,170 ,'散户zhanghao数:'+numtostrn(散户zhanghao数,0)+'户 当日增减:'+numtostrn(散户净买*1000,0)+'户' ),Color000080;
DRAWRECTABS( 100,130 ,120+大单买*100, 140 ,255 ),Colorwhite;
DRAWRECTABS( 100,150 ,120+大单卖*100, 160 ,300 ),Colorgreen;
DRAWTEXTABS(120+大单买*100 ,130 ,'占流通盘比'+numtostrn(大单买,2)+'%' ),coloryellow;
DRAWTEXTABS(120+大单卖*100 ,150 ,'占流通盘比'+numtostrn(大单卖,2)+'%' ),coloryellow;
DRAWTEXTABS(0 ,160 ,'---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------' ),Color800080;
DRAWTEXTABS(0 ,190 ,'---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------' ),Color800080;
DRAWTEXTABS(10 ,200,'梦醒制作' ),colorred;
DRAWTEXTREL(500,60,'㊣分析庄家之一*跟随主力㊣'),linethick1,COLOR00EEff;
|