您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:九龙峰【板块监控模板】不显示净额 占盘比(源码 贴图)

九龙峰【板块监控模板】不显示净额 占盘比(源码 贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:8.00 KB
更新时间:2010-12-22 11:15:00
公式简介:

HS:=vol/capital;
TODAY:="ddx.ddx"=0;{判断是否有正版数据}
特买:=IF(TODAY,"DDEDATA@BIGORDER"(1,3),bigorder(1,3));
特卖:=IF(TODAY,"DDEDATA@BIGORDER"(2,3),bigorder(2,3));
大买:=IF(TODAY,"DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(1,3),bigorder(1,2)-bigorder(1,3));
大卖:=IF(TODAY,"DDEDATA@BIGORDER"(2,2)-"DDEDATA@BIGORDER"(2,3),bigorder(2,2)-bigorder(2,3));
中买:=IF(TODAY,"DDEDATA@BIGORDER"(1,1)-"DDEDATA@BIGORDER"(1,2),bigorder(1,1)-bigorder(1,2));
中卖:=IF(TODAY,"DDEDATA@BIGORDER"(2,1)-"DDEDATA@BIGORDER"(2,2),bigorder(2,1)-bigorder(2,2));
zbddx:="DDx.DDx";
TODAY0:=zbddx=0;
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT;
JGMR0:=selfdata('特大买入');
JGMC0:= selfdata('特大卖出');
JGMR:=IF(TODAY0,JGMR0,bigorder(1,3));
JGMC:=IF(TODAY0,JGMC0,bigorder(2,3));
DD1:=JGMR-JGMC;
DD2:=特买-特卖;
CD:=IF(TODAY,DD2,DD1);
超大:=HS*CD*100;
超大持仓:= 25+Sum(超大,0);
超大净额:=CD*AMOUNT/10000;
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,DD4,DD3);
大户:=HS*DD*100;
大户持仓:=25+Sum(大户,0);
大户净额:=DD*AMOUNT/10000;
ZHMR0:=selfdata('中单买入');
ZHMC0:=selfdata('中单卖出');
ZHMR:=IF(TODAY0,ZHMR0,(bigorder(1,1)-bigorder(1,2)));
ZHMC:=IF(TODAY0,ZHMC0,(bigorder(2,1)-bigorder(2,2)));
DD5:=ZHMR-ZHMC;
DD6:=中买-中卖;
ZD:=IF(TODAY,DD6,DD5);
中户:=HS*ZD*100;
中户持仓:= 25+Sum(中户,0);
中户净额:=ZD*AMOUNT/10000;
SHMR:=(1-(JGMR+DHMR+ZHMR));
SHMC:=(1-(JGMC+DHMC+ZHMC));
DD7:=SHMR-SHMC;
DD8:=(1-(特买+大买+中买))-(1-(特卖+大卖+中卖));
XD:=IF(TODAY,DD8,DD7);
散户:=HS*XD*100;
散户持仓:= 25+Sum(散户,0);
散户净额:=XD*AMOUNT/10000;
主力:=(超大+大户);
主力持仓:=(超大持仓+大户持仓);
主力净:=(超大净额+大户净额);
ddx:"九龙DDX.DDx";
DDX1:"九龙DDX.DDx1";
DDX2:"九龙DDX.DDx2";
DDX3:"九龙DDX.DDx3";
DDX五红:count(DDX>0,5),colorred,linethick0;
DDX十红:count(DDX>0,10),colorred,linethick0;
DDX连红:last(DDX>0),linethick0;
ddy:"九龙DDY.DDy";
DDy1:"九龙DDY.DDy1";
DDy2:"九龙DDY.DDy2";
DDy3:"九龙DDY.DDy3";
DDy五红:count(DDy>0,5),colorred,linethick0;
DDy十红:count(DDy>0,10),colorred,linethick0;
DDy连红:last(DDy>0),linethick0;
ddz:"九龙DDZ.DDz";
DDz五红:count(DDz>0,5),colorred,linethick0;
DDz十红:count(DDz>0,10),colorred,linethick0;
DDz连红:last(DDz>0),linethick0;
特大买入比例:IF(today,特买,JGMR)*100;
特大卖出比例:IF(today,特卖,JGMC)*100;
大单买入比例:IF(today,大买,DHMR)*100;
大单卖出比例:IF(today,大卖,DHMC)*100;
中单买入比例:IF(today,中买,ZHMR)*100;
中单卖出比例:IF(today,中卖,ZHMC)*100;
小单买入比例:IF(today,(1-(特买+大买+中买)),SHMR)*100;
小单卖出比例:IF(today,(1-(特卖+大卖+中卖)),SHMC)*100;
{特大买入比例:IF(特买=0,JGMR,特买)*100;
特大卖出比例:IF(特卖=0,JGMC,特卖)*100;
大单买入比例:IF(大买=0,DHMR,大买)*100;
大单卖出比例:IF(大卖=0,DHMC,大卖)*100;
中单买入比例:IF(中买=0,ZHMR,中买)*100;
中单卖出比例:IF(中卖=0,ZHMC,中卖)*100;
小单买入比例:IF((1-(特买+大买+中买))=0,SHMR,(1-(特买+大买+中买)))*100;
小单卖出比例:IF((1-(特卖+大卖+中卖))=0,SHMC,(1-(特卖+大卖+中卖)))*100;}
主力持仓:主力持仓;
主力净额:主力净,PRECIS2;
占盘比:主力,PRECIS2;
三日增减:sum(主力,3),PRECIS2;
五日增减:sum(主力,5),PRECIS2;
十日增减:sum(主力,10),PRECIS2;


 


[url=http://www.goodgupiao.com/gupiaogongshi/11376.html][B]九龙峰【板块监控模板】不显示净额 占盘比(源码 贴图)[/B][/url]