指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:的黑洞成交量公式 飞狐成交量黑洞指标 源码
drawgbk(close,colorrgb(10,60,10),colorrgb(10,60,10),1);
短线:wma(winner(close)*vol,13),linethick0,precision2,colorf6b2f5;
中线:wma(winner(close)*vol,55),linethick0,precision2,colorff00;
gdt2:=finance(0);
xxx:=strtonum(strright(numtostr(finance(0),0),2));
nn:=if(xxx>11 or xxx<3,1,if(between(xxx,2.9,6),4,if(between(xxx,5.9,9),2,4/3)));
zj1:=dma((high+low+close*2)/4,0.9);
zj2:=vol/((high-low)*2-(abs(close-open)));
zj3:=(if(close>open,zj2*(high-low),if(close<open,zj2*(high-open+close-low),vol/2)))+(if(close>open,-zj2*(high-close+open-low),if(close<open,-zj2*(high-low),-vol/2)));
zj4:=zj3/20/1.15;
zj5:=zj4*0.55+ref(zj4,1)*0.33+ref(zj4,2)*0.22;
zj6:=ema(zj5,3);
日流量:zj6/10,linethick0,precision2,colorffff;
x_l1:=reverse((3*close+2*open+low+high)/7)+2*(wma(wma((3*close+2*open+low+high)/7,1),5));
激进线:=3*x_l1-2*sma(x_l1,2,1);
市赢率:close/(finance(33)*nn),linethick0,precision2,color93b2;
市净率:close/finance(34),linethick0,precision2,colorffffff;
换手率:if(capital=0,vol/sum(vol,100)*100,vol/finance(7)),linethick0,precision2,colorff00ff;
涨跌幅:(close-ref(close,1))/ref(close,1)*100,linethick0,precision2,colorff;
sj:=datacount-sysparam(1);
fc:=vol;
for i=sj to datacount do begin
xl:=0;
for j=0 to sj do begin
xl:=xl+fc[i-j];
end;
man:=xl;
end;
hs:=100*xl/capital;
nn:=sysparam(3)-sysparam(2)+1;
hh:=hhv(vol,nn);
ll:=llv(vol,nn);
最高:=hh[sysparam(3)];
最低:=ll[sysparam(3)];
中:=最低+(最高-最低)*0.3;
b:=datacount-barpos+1;
wb:=(barslast(sysparam(1)=barpos))+1;
svo:=sumbars(vol,capital);
svol:=intpart(sum(vol,0)/capital);
tj0:=svol>ref(svol,1) or barssince(close)=0;
s1:=barslast(tj0)+1;
tj2:=s1<ref(s1,1);
s2:=if(tj2,ref(s1,1)+1,s1);
s3:=sum(tj2,0);
jdj_1:=intpart(sum(vol,0)/capital);
jdj_2:=jdj_1>ref(jdj_1,1) or barssince(close)=0;
jdj_3:=barslast(jdj_2)+1;
jdj_4:=jdj_3<ref(jdj_3,1);
jdj_5:=if(jdj_4,ref(jdj_3,1)+1,jdj_3);
jdj_6:=sum(amount/10000,jdj_5)*100;
jdj_7:=sum(vol,jdj_5)*100;
jdj_8:=jdj_6/(jdj_7/100);
平均成本:=cost(50);
stickline(zj6>=0,0,vol,7,1),colorff;
stickline(zj6<=0,0,vol,7,1),colorfa9800;
stickline(close>=激进线,0,vol,7,1),colorff;
stickline(close<=激进线,0,vol,7,1),colorfa9800;
铁底:=ma(low,30)*0.85;
stickline(close<铁底,0,vol/2,7,0),colorffffff;
partline(close,中线),colorff00;
partline(close,短线),colorf6b2f5;
drawtext(barpos=sysparam(1),-中/3,' 倒数: '+numtostr(b[sysparam(1)],0)+'(天)'+' 倒数换手: '+numtostr(hs,2)+'(%)'),align2,colorffffff;
vertline(tj2),linedot,colorff00;
drawnumber(tj2,0,s3,0),align5,pxup20,colorffff;
drawtext(barpos=sysparam(2),high,'阶段平均成本:'+numtostr(jdj_8[sysparam(1)],2)+' 元'),align4,colorffffff;
drawtext(barpos=sysparam(2),high,' 市场平均成本:'+numtostr(平均成本[sysparam(1)],2)+'元'),align4,colorffff00;
drawtext(barpos=sysparam(2),high,' \n第:'+numtostr(s3[sysparam(1)],0)+'次全换手 '+'第:'+numtostr(s2[sysparam(1)],0)+'天'),align4,pxdn8,colorffff;
zw1:=ema(winner(close)*70,3);
zw2:=ema((winner(close*1.1)-winner(close*0.9))*80,3);
zzlkp:=zw1/(zw1+zw2)*100;
zshtl:=zw2/(zw1+zw2)*100;
大盘指数:=finance(7)=0 and ref(zshtl,1)>82 and zshtl<82;
个股:=ref(zshtl,1)>90 and zshtl<90;
hd_1:=if(finance(7)=0,大盘指数,个股);
黑洞距今天数:barslast(hd_1),linethick0,colorffff;
vertline(hd_1),linedashdot,colorffff;
>>>使用本站搜索工具可以找到更多“的黑洞成交量公式 飞狐成交量黑洞指标 源码”