一线炒股
{一线炒股}
{叠加大盘线}
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),linethick1,layer0,colorff00ff;
最新:c,linethick0,precis2,layer0,colorwhite;
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,linethick1,precis1;
超级线:ema(c,n),linethick2,color00ff00;
partline(超级线,超级线>ref(超级线,1),rgb(255,0,0)),linethick2;
stickline(c>=o and o<>0,high,low,0.5,0),color0000cd;
stickline(c>=o and o<>0,close,open,8,0),color070084;
stickline(c>=o and o<>0,close,open,7,0),color0000a3;
stickline(c>=o and o<>0,close,open,6,0),color0000b7;
stickline(c>=o and o<>0,close,open,5,0),color0000cd;
stickline(c>=o and o<>0,close,open,4,0),color0000e9;
stickline(c>=o and o<>0,close,open,2,0),color0754e9;
stickline(c>=o and o<>0,close,open,0.5,0),color5555ff;
stickline(c<o and o<>0,high,low,0.5,0),colorffbe00;
stickline(close<open and open<>0,high,low,0.5,0),colorffbe00;
stickline(close<open and open<>0,close,open,8,0),colorca6500;
stickline(close<open and open<>0,close,open,7,0),colore17100;
stickline(close<open and open<>0,close,open,6,0),colorf27900;
stickline(close<open and open<>0,close,open,5,0),colorff850b;
stickline(close<open and open<>0,close,open,4,0),colorff9326;
stickline(close<open and open<>0,close,open,2,0),colorffa851;
stickline(close<open and open<>0,close,open,0.5,0),colorffff00;
{14}
today:="ddx.ddx"=0;{判断是否有正版数据}
today1:="lxddx.ddx";{判断是否有理想数据}
{比例}
主单买:=if(today,if(today1,"ddedata@bigorder"(1,2),selfdata('特大买入')+selfdata('大单买入')),bigorder(1,2));
主单卖:=if(today,if(today1,"ddedata@bigorder"(2,2),selfdata('特大卖出')+selfdata('大单卖出')),bigorder(2,2));
特单买:=if(today,if(today1,"ddedata@bigorder"(1,3),selfdata('特大买入')),bigorder(1,3));
特单卖:=if(today,if(today1,"ddedata@bigorder"(2,3),selfdata('特大卖出')),bigorder(2,3));
大单买:=if(today,if(today1,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(1,3)),selfdata('大单买入')),(bigorder(1,2)-bigorder(1,3)));
大单卖:=if(today,if(today1,("ddedata@bigorder"(2,2)-"ddedata@bigorder"(2,3)),selfdata('大单卖出')),(bigorder(2,2)-bigorder(2,3)));
中单买:=if(today,if(today1,("ddedata@bigorder"(1,1)-"ddedata@bigorder"(1,2)),selfdata('中单买入')),(bigorder(1,1)-bigorder(1,2)));
中单卖:=if(today,if(today1,("ddedata@bigorder"(2,1)-"ddedata@bigorder"(2,2)),selfdata('中单卖出')),(bigorder(2,1)-bigorder(2,2)));
散单买:=if(today,if(today1,1-("ddedata@bigorder"(1,1)),1-(selfdata('特大买入')+selfdata('大单买入')+selfdata('中单买入'))),1-(bigorder(1,1)));
散单卖:=if(today,if(today1,1-("ddedata@bigorder"(2,1)),1-(selfdata('特大卖出')+selfdata('大单卖出')+selfdata('中单卖出'))),1-(bigorder(2,1)));
{28}
主力买入:=sum((amount*主单买)/10000,1);
主力买出:=sum((amount*主单卖)/10000,1);
主净:主力买入-主力买出,linethick0,precis2,color00ffff;
超大买入:=sum((amount*特单买)/10000,1);
超大卖出:=sum((amount*特单卖)/10000,1);
超净:超大买入-超大卖出,linethick0,precis2,color0000ff;
大单买入:=sum((amount*大单买)/10000,1);
大单卖出:=sum((amount*大单卖)/10000,1);
大净:大单买入-大单卖出,linethick0,precis2,colorffff00;
中单买入:=sum((amount*中单买)/10000,1);
中单卖出:=sum((amount*中单卖)/10000,1);
中净:中单买入-中单卖出,linethick0,precis2,color00ff00;
散单买入:=sum((amount*散单买)/10000,1);
散单卖出:=sum((amount*散单卖)/10000,1);
散净:散单买入-散单卖出,linethick0,precis2,color00ff00;
外盘:=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(220,5,'平盘家数:'+numtostrn(dynainfo(71),0)+'家'),colorffffff;
drawtextabs(330,5,'下跌家数:'+numtostrn(dynainfo(70),0)+'家'),color00ff00;
{画柱图};
最大值:=400/(max(主力买入,主力买出,超大买入,超大卖出,大单买入,大单卖出,中单买入,中单卖出,散单买入,散单卖出,散净,中净,大净,超净,主净));
主力买:=600-(主力买入*最大值);
主力卖:=600-(主力买出*最大值);
超大买:=600-(超大买入*最大值);
超大卖:=600-(超大卖出*最大值);
大户买:=600-(大单买入*最大值);
大户卖:=600-(大单卖出*最大值);
中户买:=600-(中单买入*最大值);
中户卖:=600-(中单卖出*最大值);
散户买:=600-(散单买入*最大值);
散户卖:=600-(散单卖出*最大值);
散户净买:=600-(abs(散净)*最大值);
中户净买:=600-(abs(中净)*最大值);
大户净买:=600-(abs(大净)*最大值);
超大净买:=600-(abs(超净)*最大值);
主力净买:=600-(abs(主净)*最大值);
{各单增减比例显示}
量比:=(vol/capital)*100;{%}
zlb:=主单买*量比;
zls:=主单卖*量比;
主增:=zlb-zls;
tdb:=特单买*量比;
tds:=特单卖*量比;
超增:=tdb-tds;
ddb:=大单买*量比;
dds:=大单卖*量比;
大增:=ddb-dds;
zdb:=中单买*量比;
zds:=中单卖*量比;
中增:=zdb-zds;
xdb:=散单买*量比;
xds:=散单卖*量比;
散增:=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,610,390,655,(if((主净 >= 0),rgb(255,0,0),rgb(0,255,0)))),color000000,layer5;{横彩条}
drawrectrel(445,610,505,655,(if((超净 >= 0),rgb(255,0,0),rgb(0,255,0)))),color000000,layer5;{横彩条}
drawrectrel(560,610,620,655,(if((大净 >= 0),rgb(255,0,0),rgb(0,255,0)))),color000000,layer5;{横彩条}
drawrectrel(675,610,735,655,(if((中净 >= 0),rgb(255,0,0),rgb(0,255,0)))),color000000,layer5;{横彩条}
drawrectrel(790,610,850,655,(if((散净 >= 0),rgb(255,0,0),rgb(0,255,0)))),color000000,layer5;;{横彩条}
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,'净买'),color00ffff;
drawtextrel(290,840,'增仓'),colorffff00;
drawtextrel(330,660,numtostrn(主力买入,2)),colorred;
drawtextrel(330,720,numtostrn(主力买出,2)),color00ff00;
drawtextrel(330,780,numtostrn(主净,2)),color00ffff;
drawtextrel(330,840,numtostrn(主增,2)+'%'),colorffff00;
drawtextrel(445,660,numtostrn(超大买入,2)),colorred;
drawtextrel(445,720,numtostrn(超大卖出,2)),color00ff00;
drawtextrel(445,780,numtostrn(超净,2)),color00ffff;
drawtextrel(445,840,numtostrn(超增,2)+'%'),colorffff00;
drawtextrel(560,660,numtostrn(大单买入,2)),colorred;
drawtextrel(560,720,numtostrn(大单卖出,2)),color00ff00;
drawtextrel(560,780,numtostrn(大净,2)),color00ffff;
drawtextrel(560,840,numtostrn(大增,2)+'%'),colorffff00;
drawtextrel(675,660,numtostrn(中单买入,2)),colorred;
drawtextrel(675,720,numtostrn(中单卖出,2)),color00ff00;
drawtextrel(675,780,numtostrn(中净,2)),color00ffff;
drawtextrel(675,830,numtostrn(中增,2)+'%'),colorffff00;
drawtextrel(790,660,numtostrn(散单买入,2)),colorred;
drawtextrel(790,720,numtostrn(散单卖出,2)),color00ff00;
drawtextrel(790,780,numtostrn(散净,2)),color00ffff;
drawtextrel(790,840,numtostrn(散增,2)+'%'),colorffff00;
上一指标公式:预测主图公式下载 大智慧指标源码源码
下一指标公式:主力趋势副图公式下载 大智慧指标源码趋势主力
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文一线炒股公式下载 大智慧指标源码贴图源码仅供学习研究。