当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧免费分时各户资金流向分时副图源码(无源码的请下载附件导入)
我本人自己随意编写的大智慧免费版本的各户资金流向,不输给正版数据;
拥有了它,从此你不在为 是否花钱搞软件而担忧!!!
{I0001数据采集、误删}
input:n(403,1,10000);
DRAWGBKLAST(C>0,STRIP(RGB(0,0,0),RGB(0,0,153),0)),color33ff66;
DRAWTEXTREL(20,30,STKLABEL),LINETHICK4,Colorffff00;
DRAWTEXTREL(120,30,STKNAME),LINETHICK4,Color00ffff;
a:=BUYVOL*c/100;
bz:=sum(a,0);
b:=c*SELLVOL/100;
sz:=sum(b,0);
z:bz-sz;
cz:=bz-sz;
m1:BUYVOL>0;
m2:SELLVOL>0;
DDX1:sum(BUYVOL>10,0);
DDX2:sum(SELLVOL>10,0);
总买量:BZ;
总卖量:SZ;
DRAWTEXTREL(320,5,' 总成交金额(万元):'+NUMTOSTRN(DYNAINFO(10)/10000,2)),LINETHICK4,COLORccffcc;
xb5:=if(a<=5 ,1,0);b5:=sum(xb5,0);
xs5:=if(b<=5 ,1,0);s5:=sum(xs5,0);
xb10:=if(a<=10 and a>=5 ,1,0);b10:=sum(xb10,0);
xs10:=if(b<=10 and b>=5,1,0);s10:=sum(xs10,0);
xb20:=if(a<=20 and a>=10 ,1,0);b20:=sum(xb20,0);
xs20:=if(b<=20 and b>=10 ,1,0);s20:=sum(xs20,0);
xb50:=if(a<=50 and a>=20 ,1,0);b50:=sum(xb50,0);
xs50:=if(b<=50 and b>=20 ,1,0);s50:=sum(xs50,0);
xb70:=if(a<=70 and a>=50 ,1,0);b70:=sum(xb70,0);
xs70:=if(b<=70 and b>=50 ,1,0);s70:=sum(xs70,0);
xb100:=if(a<=100 and a>=70,1,0);b100:=sum(xb100,0);
xs100:=if(b<=100 and b>=70,1,0);s100:=sum(xs100,0);
xb150:=if(a>=100 ,1,0);b150:=sum(xb150,0);
xs150:=if(b>=100 ,1,0);s150:=sum(xs150,0);
小买:b5,LINETHICK1,COLORred;
小卖:s5,LINETHICK1,COLORgreen;
中买:b10+b20,LINETHICK3,COLORred;
中卖:s10+s20,LINETHICK3,COLORgreen;
大买:b50+b70+b100,LINETHICK5,COLORred;
大卖:s50+s70+s100,LINETHICK5,COLORgreen;
特买:b150,LINETHICK7,COLORred;
特卖:s150,LINETHICK7,COLORgreen;
特大单:特买-特卖;
大单:大买-大卖;
中单:中买-中卖;
散单:小买-小卖;
资金流向:特大单+大单+中单+散单;
{分时各户}
XDM1:="I0001.小买#TICK";
XDM2:="I0001.小卖#TICK";
ZDM1:="I0001.中买#TICK";
ZDM2:="I0001.中卖#TICK";
DDM1:="I0001.大买#TICK";
DDM2:="I0001.大卖#TICK";
TDM1:="I0001.特买#TICK";
TDM2:="I0001.特卖#TICK";
特大单:TDM1-TDM2,LINETHICK4,COLORred;
大单:DDM1-DDM2,LINETHICK3,COLORMAGENTA;
中单:ZDM1-ZDM2,LINETHICK2,COLOR00FFFF;
散单:XDM1-XDM2,LINETHICK1,COLORgreen;
0,LINETHICK3,POINTDOT,COLORFFFFFF;
50,LINETHICK2,POINTDOT,COLORFFFFFF;
-50,LINETHICK2,POINTDOT,COLORFFFFFF;
使用方法:先创建 I0001数据采集 这个指标,然后创建{分时各户}这个指标。然后打开分时图的副图,输入{分时各户}的拼音即可出现。。第一个指标是做数据采集用,没有 就不会显示数据!!!若不会请下载下面的压缩文件