机构资金指副图指标公式
-
相关简介:TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT; buy1:=BIGORDER(1,2 ); buy2:= DDEDATA@BIGORDER(1,2 ); sell1:=-BIGORDER(2,2 ); sell2:=- DDEDATA@BIGORDER(2,2 ); 机构买入:=IF(TODAY,buy2,buy1); 机构卖出:=IF(TODAY,sell2,sell1); 机构净额:=(机构买入+机构卖出); 机构【万元】:(机构净额)*a
-
文章来源:股海网作者:股海网发布时间:2015-02-01浏览次数:
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT;
buy1:=BIGORDER(1,2 );
buy2:="DDEDATA@BIGORDER"(1,2);
sell1:=-BIGORDER(2,2 );
sell2:=-"DDEDATA@BIGORDER"(2,2);
机构买入:=IF(TODAY,buy2,buy1);
机构卖出:=IF(TODAY,sell2,sell1);
机构净额:=(机构买入+机构卖出);
机构【万元】:(机构净额)*amount/10000,PRECIS2,linethick0;
成交比:机构净额*100,PRECIS2,linethick0;
五日净额:sum(机构【万元】,5),PRECIS2,linethick0;
十日净额:sum(机构【万元】,10),PRECIS2,linethick0;
五日成交比:sum(机构【万元】,5)/sum(AMOUNT,5)*1000000,PRECIS2,linethick0;
流通比:=(机构净额)*vol/CAPITAL*100;
a:=sum(流通比,0);
五日流通比:sum(流通比,5),PRECIS2,linethick0;
STICKLINE(机构净额>0,ref(a,1),(ref(a,1)+流通比),4,0),COLORRED;
STICKLINE( 机构净额<0,ref(a,1),(ref(a,1)+流通比),4,0),COLOR00FF00;
STICKLINE(机构净额=0,ref(a,1),(ref(a,1)+流通比),4,0),COLORffffff;
zjqs:=ema(a,5);
JG资金方向:if(zjqs>ref(zjqs,1),1,-1),PRECIS0,COLORMAGENTA,LINETHICK0;
资金趋势:" ";
PARTLINE(zjqs,zjqs>ref(zjqs,1),rgb(255,0,200),zjqs<ref(zjqs,1),rgb(255,255,255)),PRECIS2,LINETHICK2,LAYER0;