大智慧L2公式超赢分析
2009-5-4 13:57:32 股票入门 http://rumen.southmoney.com
{超赢分析}
机构买:=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);
SH:=sum(散户净买,N);
ZH:=sum(中户净买,N);
DH:=sum(大户净买,N);
TD:=sum(机构净买,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 ,30 ,'机构持仓'+numtostrn(机构总买,2) ),colorwhite;
DRAWTEXTABS(10 ,50 ,'大户持仓'+numtostrn(大户总买,2) ),colorwhite;
DRAWTEXTABS(10 ,70 ,'中户持仓'+numtostrn(中户总买,2) ),colorwhite;
DRAWTEXTABS(10 ,90 ,'散户持仓'+numtostrn(散户总买,2) ),colorwhite;
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(10 ,110 ,'机构当日'+numtostrn(机构净买,2) ),coloryellow;
DRAWTEXTABS(10 ,130 ,'大户当日'+numtostrn(大户净买,2) ),coloryellow;
DRAWTEXTABS(10 ,150 ,'中户当日'+numtostrn(中户净买,2) ),coloryellow;
DRAWTEXTABS(10 ,170 ,'散户当日'+numtostrn(散户净买,2) ),coloryellow;
DRAWRECTABS(200+机构净买*10 ,110 ,200+机构净买*100,120 ,rgb(255,0,0) ),coloryellow;
DRAWRECTABS(200+大户净买*10 ,130 ,200+大户净买*100,140 ,rgb(255,0,0) ),coloryellow;
DRAWRECTABS(200+中户净买*10 ,150 ,200+中户净买*100,160 ,rgb(255,0,0) ),coloryellow;
DRAWRECTABS(200+散户净买*10 ,170 ,200+散户净买*100,180 ,rgb(255,0,0) ),coloryellow;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。