龙听期货论坛's Archiver

龙听 发表于 2018-12-24 13:31

大智慧主力增仓持仓公式指标源码[大智慧公式]

[p=30, 2, left][b]相关标签: 主力增仓减仓指标公式 、 通达信主力增仓指标 、 什么是主力增仓指标 、 主力增减仓指标 公式 、 最新主力增仓个股 、 主力增仓为何股票下跌 、 主力连续增仓股票 、 今日主力增仓股票 、 增仓减仓主力持仓 、[/b][/p]
[p=30, 2, left][b]大智慧优化持仓公式指标源码 主力增仓更加明显[/b][/p]
[p=30, 2, left][b][code]
HS:=vol/capital;
大买:="gdsj.大买";
大卖:="gdsj.大卖";
zbddx:="DDx.DDx";
TODAY0:=zbddx=0;
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT;
DHMR0:=selfdata('大单买入');
DHMC0:=selfdata('大单卖出');
DHMR:=IF(TODAY0,DHMR0,(bigorder(1,2)-bigorder(1,3)));
DHMC:=IF(TODAY0,DHMC0,(bigorder(2,2)-bigorder(2,3)));
DD3:=DHMR-DHMC;
DD4:=大买-大卖;
DD:=IF(TODAY,IF(DD4=0,DD3,DD4),DD3);
大户:=HS*DD*100;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and CXH=5);
DRAWTEXTREL(10 ,10 ,'');
流入:IF(大买=0,DHMR,大买)*AMOUNT/10000, LINETHICK0,COLORRed;
流出:IF(大卖=0,DHMC,大卖)*AMOUNT/10000, LINETHICK0,COLORCYAN;
净额:DD*AMOUNT/10000, LINETHICK0;
当日增减度: 大户, LINETHICK0;
DT:=大户;
eye:=DT;
eyes:=sum(DT,0);
gold:=eyes+50;
大户持仓:50+Sum(DT,0),LINETHICK2,colorffffff;;
Xl:=slope(gold,3)>0;
PARTLINE(gold,xl,rgb(255,100,0)),LINETHICK2;dt:=当日增减度;
三增减:Sum(DT,3),colorgreen,LINETHICK0; {本文来至CXH99.COM}
五增减:Sum(DT,5),colorgreen,LINETHICK0;
七增减:Sum(DT,7),colorgreen,LINETHICK0;
十增减:Sum(DT,10),colorgreen,LINETHICK0;
十五增减:Sum(DT,15),colorgreen,LINETHICK0;
二十增减:Sum(DT,20),colorgreen,LINETHICK0;
五日飘红:count(净额>0,5),colorred,LINETHICK0;
十日飘红:count(净额>0,10),colorred,LINETHICK0;
十五日飘红:count(净额>0,15),colorred,LINETHICK0;
二十日飘红:count(净额>0,20),colorred,LINETHICK0;
连红:last(净额>0),colorred,LINETHICK0;
STICKLINE(eye>0 and eye<0.5,gold,gold+eye,2,0),colorred;
STICKLINE(eye>=0.5 and eye<1,gold,gold+eye,3.5,0),colorred;
STICKLINE(eye>=1 and eye<2,gold,gold+eye,4.5,0),colorred;
STICKLINE(eye>=2,gold,gold+eye,5.5,0),colorred;
STICKLINE(eye>-0.5 and eye<=0,gold+eye,gold,2,0),COLORffff00;
STICKLINE(eye<=-0.5 and eye>-1,gold+eye,gold,3.5,0),COLORffff00;
STICKLINE(eye<=-1 and eye>-2,gold+eye,gold,4.5,0),COLORffff00;
STICKLINE(eye<=-2,gold+eye,gold,5.5,0),COLORffff00;
drawtextabs(0,0,' 磐矜大户买卖'),color00ffff;
[/code]
[/b][/p]

龙听 发表于 2018-12-24 13:31

[attach]6022[/attach]

页: [1]