【资料名称】:分时BBD指标(源码 大智慧分时指标)介绍【资料描述】:
分时BBD指标(源码 大智慧分时指标)
分时BBD指标(源码 大智慧分时指标)
variable:bbd=0;
DRAWTEXTABS(0,0,'【流入、流出额单位:亿元,BBD统计的是巨额资金净流入。】');
Mm:=h-ref(c,1);
Ss:=ref(c,1)-L;
s:=if(ss>0,ss,0.01);
m:=if(mm>0,mm,0);
Hj:=m+s;
买入:=m/hj*AMOUNT/CAPITAL;
卖出:=s/hj*AMOUNT/CAPITAL;
买入力度:sum(买入,0),LINETHICK0,color00FFFF;
卖出力度:sum(卖出,0),LINETHICK0,colorFFFF00;
流入:=m/hj*AMOUNT/100000000;
流出:=s/hj*AMOUNT/100000000;
流入额:sum(流入,0),LINETHICK0,color0000ff;
流出额:sum(流出,0),LINETHICK0,color00ff00;
b1:=if(流入*100000000/CAPITAL>=0.02,流入,0);
巨流入:=sum(b1,0);
s1:=if(流出*10000000/CAPITAL>=0.02,流出,0);
巨流出:=sum(s1,0);
净额:流入额-流出额,LINETHICK0,colorAABBFF;
X:=(巨流入-巨流出);
SUMx:ema(净额,5);
BBD:ema(x,5),colorFFFFFF,linethick1;
gd10321
【下载地址隐藏】: 点:回复可见地址