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