{SV資金流}
{活躍資金流}
INPUT:N(7,1,100);
TODAY:="ddx.ddx"=0;{判斷是否有正版數(shù)據(jù)}
TODAY1:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT and (ORDER(1)=0 and ORDER(2)=0);;{判斷是否有理想數(shù)據(jù)}
{條件}
主單買:=IF(TODAY,IF(TODAY1,"1DDEDATA@BIGORDER"(1,2),SELFDATA('特大買入')+SELFDATA('大單買入')),bigorder(1,2));
主單賣:=IF(TODAY,IF(TODAY1,"1DDEDATA@BIGORDER"(2,2),SELFDATA('特大賣出')+SELFDATA('大單賣出')),bigorder(2,2));
特單買:=IF(TODAY,IF(TODAY1,"1DDEDATA@BIGORDER"(1,3),SELFDATA('特大買入')),bigorder(1,3));
特單賣:=IF(TODAY,IF(TODAY1,"1DDEDATA@BIGORDER"(2,3),SELFDATA('特大賣出')),bigorder(2,3));
大單買:=IF(TODAY,IF(TODAY1,("1DDEDATA@BIGORDER"(1,2)-"1DDEDATA@BIGORDER"(1,3)),SELFDATA('大單買入')),(bigorder(1,2)-bigorder(1,3)));
大單賣:=IF(TODAY,IF(TODAY1,("1DDEDATA@BIGORDER"(2,2)-"1DDEDATA@BIGORDER"(2,3)),SELFDATA('大單賣出')),(bigorder(2,2)-bigorder(2,3)));
{計算}
主凈:=主單買-主單賣;
凈額:=(主凈)*amount/10000;
多日凈值:=sum(凈額,N);
超大:=sum((特單買-特單賣) * VOL/CAPITAL * 100,1);
大戶:=sum((大單買-大單賣)*100*v/CAPITAL,1);
主力:=(超大+大戶);
資金動能:ma(主力,1),Color66CCFF,LINETHICK0;
多日資金動能:=SUM(資金動能,N);
(南方財富網(wǎng)SOUTHMONEY.COM)