分时超赢模板及
{分时超赢a-(分时主图.叠加超赢)}
drawtextabs(0,5,'《夏卫东-自编》'),color0000ff;
{叠加大盘线}
tc:=strcmp(strleft(marketlabel,2),'sz');
dpsh:="sh000001$close"/hhv(stkindi('sh000001','分超引用.昨收#day'),0);
dpsz:="399001$close"/hhv(stkindi('399001','分超引用.昨收#day'),0);
dpc:=if(inblock('a股板块'),dynainfo(3)*if(tc=0,dpsz,dpsh),c);
polyline(c>0,dpc),colorff00ff,linethick2,layer0;
{分时线}
最新:c,colorwhite,linethick2,precis2,layer0;
aa:=sum(amount,barscount(c))/sum(vol*100,barscount(c));
bb:=between(c/aa,c+h,c-h);
均线:if(bb=0,ma(c,barscount(c)),aa),color00ffff,linethick2,precis2;
{分时超赢}
zllr:=sum((amount*(dynainfo(95)+dynainfo(94))/10000),0);
zllc:=sum((amount*(dynainfo(98)+dynainfo(97))/10000),0);
主净:zllr-zllc,color00ffff,linethick0,precis2;
tdlr:=sum((amount*dynainfo(95)/10000),0);
tdlc:=sum((amount*dynainfo(98)/10000),0);
超净:tdlr-tdlc,colorff00ff,linethick0,precis2;
ddlr:=sum((amount*dynainfo(94)/10000),0);
ddlc:=sum((amount*dynainfo(97)/10000),0);
大净:ddlr-ddlc,color00ff00,linethick0,precis2;
zdlr:=sum((amount*dynainfo(93)/10000),0);
zdlc:=sum((amount*dynainfo(96)/10000),0);
中净:zdlr-zdlc,colorb5b5b5,linethick0,precis2;
xdlr:=if(amount*(dynainfo(95)+dynainfo(94)+dynainfo(93))>0,sum(((amount-amount*(dynainfo(95)+dynainfo(94)+dynainfo(93)))/10000),0),0);
xdlc:=if(amount*(dynainfo(98)+dynainfo(97)+dynainfo(96))>0,sum(((amount-amount*(dynainfo(98)+dynainfo(97)+dynainfo(96)))/10000),0),0);
散净:xdlr-xdlc,colorff9911,linethick0;
外盘:=sum(if(dynainfo(23)*close,dynainfo(23),0),0)*0.003906;
内盘:=sum(if(dynainfo(22)*close,dynainfo(22),0),0)*0.003906;
主动率:=(外盘-内盘)/(内盘+外盘)*100;
单数比:=dynainfo(92)/dynainfo(91);
通吃率:=((dynainfo(95)+dynainfo(94))-(dynainfo(98)+dynainfo(97)))*vol/vol*100;
drawtextabs(440,5,'主动率:'+ numtostrn(主动率,2)+' 单数比:'+ numtostrn(单数比,2)+' 通吃率:'+ numtostrn(通吃率,2)),color00ffff;
drawtextabs(110,5,'上涨家数:'+numtostrn(dynainfo(69),0)+' 家'),color0000ff;
drawtextabs(210,5,'下跌家数:'+numtostrn(dynainfo(70),0)+' 家'),color00ff00;
drawtextabs(310,5,'平盘家数:'+numtostrn(dynainfo(71),0)+' 家'),colorffffff;
{五分钟资金趋势}
主5:=主净-ref(主净,5);
超5:=超净-ref(超净,5);
大5:=大净-ref(大净,5);
中5:=中净-ref(中净,5);
散5:=散净-ref(散净,5);
drawtextabs(110,20,'五分钟各单净买(万):'),colorffff00;
drawtextabs(230,20,'主力:'+ numtostrn(主5,2)),color00ffff;
drawtextabs(320,20,'超大:'+ numtostrn(超5,2)),colorff00ff;
drawtextabs(410,20,'大户:'+ numtostrn(大5,2)),color00ff00;
drawtextabs(500,20,'中户:'+ numtostrn(中5,2)),colorb5b5b5;
drawtextabs(590,20,'散户:'+ numtostrn(散5,2)),colorff9911;
{画柱图};
最大值:=400/(max(zllr,zllc,tdlr,tdlc,ddlr,ddlc,zdlr,zdlc,xdlr,xdlc,散净,中净,大净,超净,主净));
主力买:=600-(zllr*最大值);
主力卖:=600-(zllc*最大值);
超大买:=600-(tdlr*最大值);
超大卖:=600-(tdlc*最大值);
大户买:=600-(ddlr*最大值);
大户卖:=600-(ddlc*最大值);
中户买:=600-(zdlr*最大值);
中户卖:=600-(zdlc*最大值);
散户买:=600-(xdlr*最大值);
散户卖:=600-(xdlc*最大值);
散户净买:=600-(abs(散净)*最大值);
中户净买:=600-(abs(中净)*最大值);
大户净买:=600-(abs(大净)*最大值);
超大净买:=600-(abs(超净)*最大值);
主力净买:=600-(abs(主净)*最大值);
{各单增减比例显示}
zlb:=sum((ordervol(1,2)/capital*100),0);
zls:=sum((ordervol(2,2)/capital*100),0);
主增:=zlb-zls;
tdb:=sum((ordervol(1,3)/capital*100),0);
tds:=sum((ordervol(2,3)/capital*100),0);
超增:=tdb-tds;
ddb:=sum(((ordervol(1,2)/capital*100-ordervol(1,3)/capital*100)),0);
dds:=sum(((ordervol(2,2)/capital*100-ordervol(2,3)/capital*100)),0);
大增:=ddb-dds;
zdb:=sum(((ordervol(1,1)/capital*100-ordervol(1,2)/capital*100)),0);
zds:=sum(((ordervol(2,1)/capital*100-ordervol(2,2)/capital*100)),0);
中增:=zdb-zds;
xdb:=sum(((vol-ordervol(1,1))/capital*100),0);
xds:=sum(((vol-ordervol(2,1))/capital*100),0);
散增:=xdb-xds;
drawrectrel(330,主力买,350,610,rgb(200,0,0)),color000000,layer5;
drawrectrel(350,主力卖,370,610,rgb(0,200,0)),color000000,layer5;
drawrectrel(370,主力净买,390,610,(if((主净 >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(445,超大买,465,610,rgb(200,0,0)),color000000,layer5;
drawrectrel(465,超大卖,485,610,rgb(0,200,0)),color000000,layer5;
drawrectrel(485,超大净买,505,610,(if((超净 >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(560,大户买,580,610,rgb(200,0,0)),color000000,layer5;
drawrectrel(580,大户卖,600,610,rgb(0,200,0)),color000000,layer5;
drawrectrel(600,大户净买,620,610,(if((大净 >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(675,中户买,695,610,rgb(200,0,0)),color000000,layer5;
drawrectrel(695,中户卖,715,610,rgb(0,200,0)),color000000,layer5;
drawrectrel(715,中户净买,735,610,(if((中净 >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(790,散户买,810,610,rgb(200,0,0)),color000000,layer5;
drawrectrel(810,散户卖,830,610,rgb(0,200,0)),color000000,layer5;
drawrectrel(830,散户净买,850,610,(if((散净 >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel( 330,620,390,635,rgb(255,255,0));
drawrectrel( 445,620,505,635,rgb(255,0,255));
drawrectrel( 560,620,620,635,rgb(0,200,0));
drawrectrel( 675,620,735,635,rgb(200,200,200));
drawrectrel( 790,620,850,635,rgb(0,0,200));
drawtextrel(310,530,'主'),colorddffff;
drawtextrel(310,600,'力'),colorddffff;
drawtextrel(425,530,'超'),colorddffff;
drawtextrel(425,600,'大'),colorddffff;
drawtextrel(540,530,'大'),colorddffff;
drawtextrel(540,600,'户'),colorddffff;
drawtextrel(655,530,'中'),colorddffff;
drawtextrel(655,600,'户'),colorddffff;
drawtextrel(770,530,'散'),colorddffff;
drawtextrel(770,600,'户'),colorddffff;
drawtextrel(290,660,'买入'),colorred;
drawtextrel(290,720,'卖出'),color00ff00;
drawtextrel(290,780,'净买'),color1199ff;
drawtextrel(290,830,'增减'),colorffff00;
drawtextrel(330,660,numtostrn(zllr,2)),colorred;
drawtextrel(330,720,numtostrn(zllc,2)),color00ff00;
drawtextrel(330,780,numtostrn(主净,2)),color1199ff;
drawtextrel(330,830,numtostrn(主增,2)+'%'),colorffff00;
drawtextrel(445,660,numtostrn(tdlr,2)),colorred;
drawtextrel(445,720,numtostrn(tdlc,2)),color00ff00;
drawtextrel(445,780,numtostrn(超净,2)),color1199ff;
drawtextrel(445,830,numtostrn(超增,2)+'%'),colorffff00;
drawtextrel(560,660,numtostrn(ddlr,2)),colorred;
drawtextrel(560,720,numtostrn(ddlc,2)),color00ff00;
drawtextrel(560,780,numtostrn(大净,2)),color1199ff;
drawtextrel(560,830,numtostrn(大增,2)+'%'),colorffff00;
drawtextrel(675,660,numtostrn(zdlr,2)),colorred;
drawtextrel(675,720,numtostrn(zdlc,2)),color00ff00;
drawtextrel(675,780,numtostrn(中净,2)),color1199ff;
drawtextrel(675,830,numtostrn(中增,2)+'%'),colorffff00;
drawtextrel(790,660,numtostrn(xdlr,2)),colorred;
drawtextrel(790,720,numtostrn(xdlc,2)),color00ff00;
drawtextrel(790,780,numtostrn(散净,2)),color1199ff;
drawtextrel(790,830,numtostrn(散增,2)+'%'),colorffff00;
{分时超赢-(分时副图)}
drawtextabs(0,5,'《夏卫东-自编》'),color0000ff;
{各单净买}
zllr:=sum((amount*(dynainfo(95)+dynainfo(94))/10000),0);
zllc:=sum((amount*(dynainfo(98)+dynainfo(97))/10000),0);
主净:zllr-zllc,color00ffff,linethick0,precis2;
tdlr:=sum((amount*dynainfo(95)/10000),0);
tdlc:=sum((amount*dynainfo(98)/10000),0);
超净:tdlr-tdlc,colorff00ff,linethick0,precis2;
ddlr:=sum((amount*dynainfo(94)/10000),0);
ddlc:=sum((amount*dynainfo(97)/10000),0);
大净:ddlr-ddlc,color00ff00,linethick0,precis2;
zdlr:=sum((amount*dynainfo(93)/10000),0);
zdlc:=sum((amount*dynainfo(96)/10000),0);
中净:zdlr-zdlc,colorb5b5b5,linethick0,precis2;
xdlr:=sum(((amount-amount*(dynainfo(95)+dynainfo(94)+dynainfo(93)))/10000),0);
xdlc:=sum(((amount-amount*(dynainfo(98)+dynainfo(97)+dynainfo(96)))/10000),0);
散净:xdlr-xdlc,colorff9911,linethick0,precis2;
{各单增减}
zlb:=sum((ordervol(1,2)/capital*100),0);
zls:=sum((ordervol(2,2)/capital*100),0);
主增:zlb-zls,precis3,color00ffff,linethick1;
tdb:=sum((ordervol(1,3)/capital*100),0);
tds:=sum((ordervol(2,3)/capital*100),0);
超增:tdb-tds,precis3,colorff00ff,linethick1;
ddb:=sum(((ordervol(1,2)/capital*100-ordervol(1,3)/capital*100)),0);
dds:=sum(((ordervol(2,2)/capital*100-ordervol(2,3)/capital*100)),0);
大增:ddb-dds,precis3,color00ff00,linethick1;
zdb:=sum(((ordervol(1,1)/capital*100-ordervol(1,2)/capital*100)),0);
zds:=sum(((ordervol(2,1)/capital*100-ordervol(2,2)/capital*100)),0);
中增:zdb-zds,precis3,colorb5b5b5,linethick1;
xdb:=sum(((vol-ordervol(1,1))/capital*100),0);
xds:=sum(((vol-ordervol(2,1))/capital*100),0);
散增:xdb-xds,precis3,colorff9911,linethick1;
{画柱图};
最大值:=300/(max(zllr,zllc,tdlr,tdlc,ddlr,ddlc,zdlr,zdlc,xdlr,xdlc,散净,中净,大净,超净,主净));
主力买:=680-(zllr*最大值);
主力卖:=680-(zllc*最大值);
超大买:=680-(tdlr*最大值);
超大卖:=680-(tdlc*最大值);
大户买:=680-(ddlr*最大值);
大户卖:=680-(ddlc*最大值);
中户买:=680-(zdlr*最大值);
中户卖:=680-(zdlc*最大值);
散户买:=680-(xdlr*最大值);
散户卖:=680-(xdlc*最大值);
散户净买:=680-(abs(散净)*最大值);
中户净买:=680-(abs(中净)*最大值);
大户净买:=680-(abs(大净)*最大值);
超大净买:=680-(abs(超净)*最大值);
主力净买:=680-(abs(主净)*最大值);
外盘:=sum(if(dynainfo(23)*close,dynainfo(23),0),0)*0.003906;
内盘:=sum(if(dynainfo(22)*close,dynainfo(22),0),0)*0.003906;
特单买比:=dynainfo(95)*100;
特单卖比:=dynainfo(98)*100;
特单差:=特单买比-特单卖比;
大单买比:=dynainfo(94)*100;
大单卖比:=dynainfo(97)*100;
大单差:=大单买比-大单卖比;
中单买比:=dynainfo(93)*100;
中单卖比:=dynainfo(96)*100;
中单差:=中单买比-中单卖比;
散单买比:=(1-(dynainfo(95)+dynainfo(94)+dynainfo(93)))*100;
散单卖比:=(1-(dynainfo(98)+dynainfo(97)+dynainfo(96)))*100;
散单差:=散单买比-散单卖比;
主单买比:=特单买比+大单买比;
主单卖比:=特单卖比+大单卖比;
主单差:=主单买比-主单卖比;
drawtextabs(100,5,'主单差:'+ numtostrn(主单差,2)+'%'),color00ffff;
drawtextabs(200,5,'特单差:'+ numtostrn(特单差,2)+'%'),colorff00ff;
drawtextabs(300,5,'大单差:'+ numtostrn(大单差,2)+'%'),color00ff00;
drawtextabs(400,5,'中单差:'+ numtostrn(中单差,2)+'%'),colorb5b5b5;
drawtextabs(500,5,'散单差:'+ numtostrn(散单差,2)+'%'),colorff9911;
上一指标公式:庄家抗日预警选股公式下载 大智慧抗日预警
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时超赢模板及公式下载 大智慧模板源码仅供学习研究。