智慧L2每日交易的詳細資金(源碼,副圖)源碼:
{散戶(hù)}
zbddx:= "DDx.DDx";{引用正版ddx};TODAY:= zbddx=0;{判斷有沒(méi)有正版數據};
買(mǎi)入散:=amount*if(today,(1-"DDEDATA@BIGORDER"(1,1))/10000,(1-BIGORDER(1,1))/10000);
賣(mài)出散:=amount*if(today,(1-"DDEDATA@BIGORDER"(2,1))/10000,(1-BIGORDER(2,1))/10000);
散戶(hù)總額:買(mǎi)入散+賣(mài)出散;
{中戶(hù)戶(hù)}
買(mǎi)入中:=amount*if(today,("DDEDATA@BIGORDER"(1,1)-"DDEDATA@BIGORDER"(1,2))/10000,(BIGORDER
(1,1)-BIGORDER(1,2))/10000);
賣(mài)出中:=amount*if(today,("DDEDATA@BIGORDER"(2,1)-"DDEDATA@BIGORDER"(2,2))/10000,(BIGORDER
(2,1)-BIGORDER(2,2))/10000);
中戶(hù)總額:買(mǎi)入中+賣(mài)出中;
{大戶(hù)}
買(mǎi)入大:=amount*if(today,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(1,3))/10000,(BIGORDER
(1,2)-BIGORDER(1,3))/10000);
賣(mài)出大:=amount*if(today,("DDEDATA@BIGORDER"(2,2)-"DDEDATA@BIGORDER"(2,3))/10000,(BIGORDER
(2,2)-BIGORDER(2,3))/10000);
大戶(hù)總額:買(mǎi)入大+賣(mài)出大;
凈額大:=買(mǎi)入大-賣(mài)出大;
{特大戶(hù)}
買(mǎi)入特大:=amount*if(today,"DDEDATA@BIGORDER"(1,3)/10000,BIGORDER(1,3)/10000);
賣(mài)出特大:=amount*if(today,"DDEDATA@BIGORDER"(2,3)/10000,BIGORDER(2,3)/10000);
特大總額:買(mǎi)入特大+賣(mài)出特大;
凈額特:=買(mǎi)入特大-賣(mài)出特大;
凈額:凈額大+凈額特;
主力:=大戶(hù)總額+特大總額;
非主力:=散戶(hù)總額+中戶(hù)總額;
總額散:=主力+非主力;
比率:凈額/總額散*100,colorred;
總額中:=大戶(hù)總額+特大總額+中戶(hù)總額;
總額大:=大戶(hù)總額+特大總額;
STICKLINE(總額散>0,0,總額散,9,0),colorblue;
stickline(總額中>0,0,總額中,9,0),coloryellow;
stickline(總額大>0,0,總額大,9,0),colormagenta;
stickline(特大總額>0,0,特大總額,9,0),colorred;
里面的散戶(hù)總額,中戶(hù)總額,大戶(hù)總額,特大總額是指買(mǎi)賣(mài)的總和,分別用藍色,黃色,粉紅,紅色來(lái)代表,比率指的是流入的資金/當天的交易額。
希望對大家有用
(南方財富網(wǎng)SOUTHMONEY.COM)