您現在的位置: 南方財富網(wǎng) >> 股票知識 >> 股票公式 >> 正文
南財搜索

大智慧股票公式之資金統計

2013/6/18 16:42:13   來(lái)源:本站原創(chuàng )   佚名
    

大智慧股票公式之資金統計

  {超大資金}

  TODAY:="ddx.ddx"=0;{判斷是否有正版數據}

  TODAY1:="LXDDX.DDX";{判斷是否有理想數據}

  {比例}

  主單買(mǎi):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,2),SELFDATA('特大買(mǎi)入')+SELFDATA('大單買(mǎi)入')),bigorder(1,2));

  主單賣(mài):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,2),SELFDATA('特大賣(mài)出')+SELFDATA('大單賣(mài)出')),bigorder(2,2));

  特單買(mǎi):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(1,3),SELFDATA('特大買(mǎi)入')),bigorder(1,3));

  特單賣(mài):=IF(TODAY,IF(TODAY1,"DDEDATA@BIGORDER"(2,3),SELFDATA('特大賣(mài)出')),bigorder(2,3));

  大單買(mǎi):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(1,3)),SELFDATA('大單買(mǎi)入')),(bigorder(1,2)-bigorder(1,3)));

  大單賣(mài):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,2)-"DDEDATA@BIGORDER"(2,3)),SELFDATA('大單賣(mài)出')),(bigorder(2,2)-bigorder(2,3)));

  中單買(mǎi):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(1,1)-"DDEDATA@BIGORDER"(1,2)),SELFDATA('中單買(mǎi)入')),(bigorder(1,1)-bigorder(1,2)));

  中單賣(mài):=IF(TODAY,IF(TODAY1,("DDEDATA@BIGORDER"(2,1)-"DDEDATA@BIGORDER"(2,2)),SELFDATA('中單賣(mài)出')),(bigorder(2,1)-bigorder(2,2)));

  散單買(mǎi):=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(1,1)),1-(SELFDATA('特大買(mǎi)入')+SELFDATA('大單買(mǎi)入')+SELFDATA('中單買(mǎi)入'))),1-(bigorder(1,1)));

  散單賣(mài):=IF(TODAY,IF(TODAY1,1-("DDEDATA@BIGORDER"(2,1)),1-(SELFDATA('特大賣(mài)出')+SELFDATA('大單賣(mài)出')+SELFDATA('中單賣(mài)出'))),1-(bigorder(2,1)));

  {計算}

  流入:amount*特單買(mǎi)/10000,colorred,linethick0;

  流出:amount*特單賣(mài)/10000,colorgreen,linethick0;

  凈額:流入-流出,linethick0,COLOR39FFFF;

  凈值:=特單買(mǎi)-特單賣(mài);

  總買(mǎi):=特單買(mǎi)+大單買(mǎi)+中單買(mǎi)+散單買(mǎi);

  總賣(mài):=特單賣(mài)+大單賣(mài)+中單賣(mài)+散單賣(mài);

  總凈:=總買(mǎi)-總賣(mài);

  連紅:last(凈額>0),linethick0,PRECIS0,colorred;

  十紅:count(凈額>0,10),linethick0,PRECIS0,Color4080FF;

  二日:=sum(凈額,2);

  三日:=sum(凈額,3);

  四日:=sum(凈額,4);

  五日:=sum(凈額,5);

  十日總凈:sum(凈額,10),PRECIS0,linethick0,Color40FF00;

  十五日總凈:sum(凈額,15),PRECIS0,linethick0,ColorFFFF00;

  二十日總凈:sum(凈額,20),PRECIS0,linethick0,ColorFF8000;

  三十日總凈:sum(凈額,30),PRECIS0,linethick0,ColorFF0000;

  0,DOTLINE,COLORFF0000;

  {紅柱圖}

  STICKLINE(凈額>0,0,凈額,7,0), COLOR000033;

  STICKLINE(凈額>0,0,凈額,6,0), COLOR000066;

  STICKLINE(凈額>0,0,凈額,5,0), COLOR000088;

  STICKLINE(凈額>0,0,凈額,4,0), COLOR0000BB;

  STICKLINE(凈額>0,0,凈額,2.5,0), COLOR0000EE;

  STICKLINE(凈額>0,0,凈額,1,0), COLOR0033FF;

  {綠柱圖}

  STICKLINE(凈額<0,0,凈額,7,0),COLOR003300;

  STICKLINE(凈額<0,0,凈額,6,0),COLOR006600;

  STICKLINE(凈額<0,0,凈額,5,0),COLOR008800;

  STICKLINE(凈額<0,0,凈額,4,0),COLOR00BB00;

  STICKLINE(凈額<0,0,凈額,2.5,0),COLOR00EE00;

  STICKLINE(凈額<0,0,凈額,1,0),COLOR00FF00;

  {表格}

  DRAWRECTABS(0,0,100,15,734333),COLOR0000C0;

  DRAWRECTABS(100,0,200,15,734333),COLOR0000C0;

  DRAWRECTABS(200,0,250,15,734333),COLOR0000C0;

  DRAWRECTABS(250,0,300,15,734333),COLOR0000C0;

  DRAWRECTABS(300,0,350,15,734333),COLOR0000C0;

  DRAWRECTABS(350,0,400,15,734333),COLOR0000C0;

  DRAWRECTABS(400,0,450,15,734333),COLOR0000C0;

[1] [2] 下一頁(yè)

(南方財富網(wǎng)SOUTHMONEY.COM)
    南方財富網(wǎng)聲明:股市資訊來(lái)源于合作媒體及機構,屬作者個(gè)人觀(guān)點(diǎn),僅供投資者參考,并不構成投資建議。投資者據此操作,風(fēng)險自擔。
延伸閱讀
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導讀
熱圖推薦

關(guān)于南方財富網(wǎng) -版權聲明誠聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財富網(wǎng)無(wú)關(guān)
www.travelwithnise.com
南方財富網(wǎng) © 版權所有 閩ICP備09035581號
最近中文字幕高清免费大全8