{超贏(yíng)分析} 機構買(mǎi):=BIGORDER(1,3)*V/CAPITAL; 機構賣(mài):=BIGORDER(2,3)*V/CAPITAL; 機構凈買(mǎi):=(機構買(mǎi)-機構賣(mài))*100; 機構總買(mǎi):=sum(機構凈買(mǎi),N); 大戶(hù)買(mǎi):=BIGORDER(1,2)*V/CAPITAL-BIGORDER(1,3)*V/CAPITAL; 大戶(hù)賣(mài):=BIGORDER(2,2)*V/CAPITAL-BIGORDER(2,3)*V/CAPITAL; 大戶(hù)凈買(mǎi):=(大戶(hù)買(mǎi)-大戶(hù)賣(mài))*100; 大戶(hù)總買(mǎi):=sum(大戶(hù)凈買(mǎi),N); 中戶(hù)買(mǎi):=BIGORDER(1,1)*V/CAPITAL-BIGORDER(1,2)*V/CAPITAL; 中戶(hù)賣(mài):=BIGORDER(2,1)*V/CAPITAL-BIGORDER(2,2)*V/CAPITAL; 中戶(hù)凈買(mǎi):=(中戶(hù)買(mǎi)-中戶(hù)賣(mài))*100; 中戶(hù)總買(mǎi):=sum(中戶(hù)凈買(mǎi),N); 小單買(mǎi):=1-BIGORDER(1,1)*V/CAPITAL; 小單賣(mài):=1-BIGORDER(2,1)*V/CAPITAL; 散戶(hù)凈買(mǎi):=(小單買(mǎi)-小單賣(mài))*100; 散戶(hù)總買(mǎi):=sum(散戶(hù)凈買(mǎi),N);
SH:=sum(散戶(hù)凈買(mǎi),N); ZH:=sum(中戶(hù)凈買(mǎi),N); DH:=sum(大戶(hù)凈買(mǎi),N); TD:=sum(機構凈買(mǎi),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(機構總買(mǎi),2) ),colorwhite; DRAWTEXTABS(10 ,50 ,'大戶(hù)持倉'+numtostrn(大戶(hù)總買(mǎi),2) ),colorwhite; DRAWTEXTABS(10 ,70 ,'中戶(hù)持倉'+numtostrn(中戶(hù)總買(mǎi),2) ),colorwhite; DRAWTEXTABS(10 ,90 ,'散戶(hù)持倉'+numtostrn(散戶(hù)總買(mǎi),2) ),colorwhite; DRAWRECTABS( 90,30 ,120+ref(機構總買(mǎi)*10,1) ,40 ,0 ),ColorFF2E40; DRAWRECTABS( 90,50 ,120+ref(大戶(hù)總買(mǎi)*10,1) ,60 ,0 ),ColorFF2E40; DRAWRECTABS( 90,70 ,120+ref(中戶(hù)總買(mǎi)*10,1),80 ,0 ),ColorFF2E40; DRAWRECTABS( 90,90,120+ref(散戶(hù)總買(mǎi)*10,1),100 ,0 ),ColorFF2E40; DRAWRECTABS( 90,30 ,120+ref(機構總買(mǎi)*10,1)+機構凈買(mǎi)*10 ,40 ,rgb(255,0,0) ),colorwhite; DRAWRECTABS( 90,50 ,120+ref(大戶(hù)總買(mǎi)*10,1)+大戶(hù)凈買(mǎi)*10 ,60 ,rgb(255,0,0) ),colorwhite; DRAWRECTABS( 90,70 ,120+ref(中戶(hù)總買(mǎi)*10,1)+中戶(hù)凈買(mǎi)*10,80 ,rgb(255,0,0) ),colorwhite; DRAWRECTABS( 90,90,120+ref(散戶(hù)總買(mǎi)*10,1)+散戶(hù)凈買(mǎi)*10,100 ,rgb(255,0,0) ),colorwhite; DRAWTEXTABS(10 ,110 ,'機構當日'+numtostrn(機構凈買(mǎi),2) ),coloryellow; DRAWTEXTABS(10 ,130 ,'大戶(hù)當日'+numtostrn(大戶(hù)凈買(mǎi),2) ),coloryellow; DRAWTEXTABS(10 ,150 ,'中戶(hù)當日'+numtostrn(中戶(hù)凈買(mǎi),2) ),coloryellow; DRAWTEXTABS(10 ,170 ,'散戶(hù)當日'+numtostrn(散戶(hù)凈買(mǎi),2) ),coloryellow; DRAWRECTABS(200+機構凈買(mǎi)*10 ,110 ,200+機構凈買(mǎi)*100,120 ,rgb(255,0,0) ),coloryellow; DRAWRECTABS(200+大戶(hù)凈買(mǎi)*10 ,130 ,200+大戶(hù)凈買(mǎi)*100,140 ,rgb(255,0,0) ),coloryellow; DRAWRECTABS(200+中戶(hù)凈買(mǎi)*10 ,150 ,200+中戶(hù)凈買(mǎi)*100,160 ,rgb(255,0,0) ),coloryellow; DRAWRECTABS(200+散戶(hù)凈買(mǎi)*10 ,170 ,200+散戶(hù)凈買(mǎi)*100,180 ,rgb(255,0,0) ),coloryellow;
|