{超贏分析} 機構(gòu)買:=BIGORDER(1,3)*V/CAPITAL; 機構(gòu)賣:=BIGORDER(2,3)*V/CAPITAL; 機構(gòu)凈買:=(機構(gòu)買-機構(gòu)賣)*100; 機構(gòu)總買:=sum(機構(gòu)凈買,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(機構(gòu)凈買,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 ,'機構(gòu)持倉'+numtostrn(機構(gòu)總買,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(機構(gòu)總買*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(機構(gòu)總買*10,1)+機構(gòu)凈買*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 ,'機構(gòu)當(dāng)日'+numtostrn(機構(gòu)凈買,2) ),coloryellow; DRAWTEXTABS(10 ,130 ,'大戶當(dāng)日'+numtostrn(大戶凈買,2) ),coloryellow; DRAWTEXTABS(10 ,150 ,'中戶當(dāng)日'+numtostrn(中戶凈買,2) ),coloryellow; DRAWTEXTABS(10 ,170 ,'散戶當(dāng)日'+numtostrn(散戶凈買,2) ),coloryellow; DRAWRECTABS(200+機構(gòu)凈買*10 ,110 ,200+機構(gòu)凈買*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;
|