神熬五线雨杨版专用
感谢前辈的源码本人只是改编 需要雨杨版数据接收支持,其他版本不能使用
{神熬五线源码}
drawtextrel(50,10,' 代码: '+stklabel+' '+stkname+' 日期: '+year+'年'+month+'月 '+day+'日 '),linethick2,colorffff80;
{引用}
ddx:="lx-ddx.ddx#day";
ddy:="lx-ddy.ddy#day";
ddz:="lx-ddz.ddz#day";
lh:="lx-ddx.连红#day";
sh:="lx-ddx.拾红#day";
rsh:="lx-ddx.廿红#day";
lsh:="lx-ddx.陆拾红#day";
mrds:="全景引用.买入单#day";
mcds:="全景引用.卖出单#day";
zlc:="全景引用.主力差#day";
tc:="全景引用.特单差#day";
dc:="全景引用.大单差#day";
zc:="全景引用.中单差#day";
xc:="全景引用.小单差#day";
xn:="全景引用.小单买#day";
xm:="全景引用.小单卖#day";
zn:="全景引用.中单买#day";
zm:="全景引用.中单卖#day";
dn:="全景引用.大单买#day";
dm:="全景引用.大单卖#day";
tn:="全景引用.特单买#day";
tm:="全景引用.特单卖#day";
zln:="全景引用.主单买#day";
zlm:="全景引用.主单卖#day";
ss:="全景引用.散持#day";
zs:="全景引用.中持#day";
ds:="全景引用.大持#day";
cs:="全景引用.超持#day";
zls:="全景引用.主持#day";
zjdn:="全景引用.动能#day";
lzzs:="全景引用.领涨指数#day";
zhs:="全景引用.帐户数#day";
jhcg:="全景引用.均户持股#day";
zhzj:="全景引用.帐户增减#day";
jhcgzj:="全景引用.均户持股增减#day";
{条件}
dsc:=mcds-mrds;
mdb:=mcds/(mrds+mcds);
ndb:=mrds/(mrds+mcds);
dsb:=mdb-ndb;
dpzs:=indexc;
dpzg:=indexh;
dpzd:=indexl;
{超赢}
hs:=(vol/capital);
xdn:=sum((xn*amount/10000),0);
xdm:=sum((xm*amount/10000),0);
xj:=xdn-xdm;
xz:=sum(((vol/capital)*100*(xn-xm)),0);
zdn:=sum((zn*amount/10000),0);
zdm:=sum((zm*amount/10000),0);
zj:=zdn-zdm;
zz:=sum(((vol/capital)*100*(zn-zm)),0);
ddn:=sum((dn*amount/10000),0);
ddm:=sum((dm*amount/10000),0);
dj:=ddn-ddm;
dz:=sum(((vol/capital)*100*(dn-dm)),0);
tdn:=sum((tn*amount/10000),0);
tdm:=sum((tm*amount/10000),0);
tj:=tdn-tdm;
tz:=sum(((vol/capital)*100*(tn-tm)),0);
zldn:=sum((zln*amount/10000),0);
zldm:=sum((zlm*amount/10000),0);
zlj:=zldn-zldm;
zlz:=sum(((vol/capital)*100*(zln-zlm)),0);
{画柱图};
zdz:=300/(max(zldn,zldm,tdn,tdm,ddn,ddm,zdn,zdm,xdn,xdm,xj,zj,dj,tj,zlj));
zlnr:=380-(zldn*zdz);
zlmc:=380-(zldm*zdz);
tnr:=380-(tdn*zdz);
tmc:=380-(tdm*zdz);
dnr:=380-(ddn*zdz);
dmc:=380-(ddm*zdz);
znr:=380-(zdn*zdz);
zmc:=380-(zdm*zdz);
xnr:=380-(xdn*zdz);
xmc:=380-(xdm*zdz);
xjn:=380-(abs(xj)*zdz);
zjn:=380-(abs(zj)*zdz);
djn:=380-(abs(dj)*zdz);
tjn:=380-(abs(tj)*zdz);
zljn:=380-(abs(zlj)*zdz);
小股民:xj,linethick1,colorffffff;
中户:zj,linethick1,colorgreen;
大户:dj,linethick1,coloryellow;
机构:tj,linethick1,colorff0000;
主力:zlj,linethick2,colorred;
drawrectrel(160,xnr,180,380,rgb(200,0,0)),color000000,layer5;
drawrectrel(180,xmc,200,380,rgb(0,200,0)),color000000,layer5;
drawrectrel(200,xjn,220,380,(if((xj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(250,znr,270,380,rgb(200,0,0)),color000000,layer5;
drawrectrel(270,zmc,290,380,rgb(0,200,0)),color000000,layer5;
drawrectrel(290,zjn,310,380,(if((zj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(340,dnr,360,380,rgb(200,0,0)),color000000,layer5;
drawrectrel(360,dmc,380,380,rgb(0,200,0)),color000000,layer5;
drawrectrel(380,djn,400,380,(if((dj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(430,tnr,450,380,rgb(200,0,0)),color000000,layer5;
drawrectrel(450,tmc,470,380,rgb(0,200,0)),color000000,layer5;
drawrectrel(470,tjn,490,380,(if((tj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(520,zlnr,540,380,rgb(200,0,0)),color000000,layer5;
drawrectrel(540,zlmc,560,380,rgb(0,200,0)),color000000,layer5;
drawrectrel(560,zljn,580,380,(if((zlj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawtextrel(120,400,'买入'),color6600ff;
drawtextrel(120,480,'卖出'),colorabff46;
drawtextrel(120,560,'净买'),colorffff00;
drawtextrel(140,240,'散'),colorffffff;
drawtextrel(140,320,'户'),colorffffff;
drawtextrel(160,400,numtostrn(xdn,2)),color6600ff;
drawtextrel(160,480,numtostrn(xdm,2)),colorabff46;
drawtextrel(160,560,numtostrn(xj,2)),colorffffff;
drawtextrel(230,240,'中'),colorgreen;
drawtextrel(230,320,'户'),colorgreen;
drawtextrel(250,400,numtostrn(zdn,2)),color6600ff;
drawtextrel(250,480,numtostrn(zdm,2)),colorabff46;
drawtextrel(250,560,numtostrn(zj,2)),colorgreen;
drawtextrel(320,240,'大'),coloryellow;
drawtextrel(320,320,'户'),coloryellow;
drawtextrel(340,400,numtostrn(ddn,2)),color6600ff;
drawtextrel(340,480,numtostrn(ddm,2)),colorabff46;
drawtextrel(340,560,numtostrn(dj,2)),coloryellow;
drawtextrel(410,240,'特'),colorff0000;
drawtextrel(410,320,'大'),colorff0000;
drawtextrel(430,400,numtostrn(tdn,2)),color6600ff;
drawtextrel(430,480,numtostrn(tdm,2)),colorabff46;
drawtextrel(430,560,numtostrn(tj,2)),colorff0000;
drawtextrel(500,240,'主'),colorred;
drawtextrel(500,320,'力'),colorred;
drawtextrel(520,400,numtostrn(zldn,2)),color6600ff;
drawtextrel(520,480,numtostrn(zldm,2)),colorabff46;
drawtextrel(520,560,numtostrn(zlj,2)),colorred;
wp:=sum(if(dynainfo(23)*close,dynainfo(23),0),0)*0.003906;
np:=sum(if(dynainfo(22)*close,dynainfo(22),0),0)*0.003906;
zdl:=(wp-np)/(np+wp)*100;
tcl:=(zln-zlm)*vol/vol*100;
{各单增减比例显示}
drawtextrel(120,640,'增减'),colorffff00;
drawtextrel(160,640,numtostrn(xz,2)+'%'),colorffffff;
drawtextrel(250,640,numtostrn(zz,2)+'%'),colorgreen;
drawtextrel(340,640,numtostrn(dz,2)+'%'),coloryellow;
drawtextrel(430,640,numtostrn(tz,2)+'%'),colorff0000;
drawtextrel(520,640,numtostrn(zlz,2)+'%'),colorred;
drawtextrel(120,720,'持仓'),colorffff00;
drawtextrel(160,720,numtostrn(ss,2)+'%'),colorffffff;
drawtextrel(250,720,numtostrn(zs,2)+'%'),colorgreen;
drawtextrel(340,720,numtostrn(ds,2)+'%'),coloryellow;
drawtextrel(430,720,numtostrn(cs,2)+'%'),colorff0000;
drawtextrel(520,720,numtostrn(zls,2)+'%'),colorred;
上一指标公式:指甲盖追涨成功率93.4%公式下载 大智慧追涨成功率
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文神熬五线雨杨版专用公式下载 大智慧神熬五线专用仅供学习研究。