{引用}
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);
{macd}
diff:= "macd.diff";
dea:= "macd.dea";
macd:= "macd.macd";
drawtextabs(10,145,'macd数据运算:'+'diff:'+ numtostrn(diff,3)+' dea:'+ numtostrn(dea,3)+' macd:'+ numtostrn(macd,3)+''),colorffff66;
{多时分kdj}
k:= "kdj.k";
d:= "kdj.d";
j:= "kdj.j";
fz120k:= "kdj.k#min120";
fz60k:= "kdj.k#min60";
fz30k:= "kdj.k#min30";
fz15k:= "kdj.k#min15";
fz120d:= "kdj.d#min120";
fz60d:= "kdj.d#min60";
fz30d:= "kdj.d#min30";
fz15d:= "kdj.d#min15";
fz60j:= "kdj.j#min60";
fz30j:= "kdj.j#min30";
fz15j:= "kdj.j#min15";
drawtextabs(10,165,'kdj-数据运算:'+'k:'+ numtostrn(k,2)+' d:'+ numtostrn(d,2)+' j:'+ numtostrn(j,2)+''),colorcccccc;
drawtextabs(10,185,'kdj-拾伍分钟:'+'k:'+ numtostrn(fz15k,2)+' d:'+ numtostrn(fz15d,2)+' j:'+ numtostrn(fz15j,2)+''),color99ff99;
drawtextabs(10,205,'kdj-叁拾分钟:'+'k:'+ numtostrn(fz30k,2)+' d:'+ numtostrn(fz30d,2)+' j:'+ numtostrn(fz30j,2)+''),color99ff99;
drawtextabs(10,225,'kdj-陆拾分钟:'+'k:'+ numtostrn(fz60k,2)+' d:'+ numtostrn(fz60d,2)+' j:'+ numtostrn(fz60j,2)+''),color99ff99;
{画柱图};
zdz:=300/(max(zldn,zldm,tdn,tdm,ddn,ddm,zdn,zdm,xdn,xdm,xj,zj,dj,tj,zlj));
zlnr:=680-(zldn*zdz);
zlmc:=680-(zldm*zdz);
tnr:=680-(tdn*zdz);
tmc:=680-(tdm*zdz);
dnr:=680-(ddn*zdz);
dmc:=680-(ddm*zdz);
znr:=680-(zdn*zdz);
zmc:=680-(zdm*zdz);
xnr:=680-(xdn*zdz);
xmc:=680-(xdm*zdz);
xjn:=680-(abs(xj)*zdz);
zjn:=680-(abs(zj)*zdz);
djn:=680-(abs(dj)*zdz);
tjn:=680-(abs(tj)*zdz);
zljn:=680-(abs(zlj)*zdz);
drawrectrel(560,xnr,580,680,rgb(200,0,0)),color000000,layer5;
drawrectrel(580,xmc,600,680,rgb(0,200,0)),color000000,layer5;
drawrectrel(600,xjn,620,680,(if((xj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(650,znr,670,680,rgb(200,0,0)),color000000,layer5;
drawrectrel(670,zmc,690,680,rgb(0,200,0)),color000000,layer5;
drawrectrel(690,zjn,710,680,(if((zj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(740,dnr,760,680,rgb(200,0,0)),color000000,layer5;
drawrectrel(760,dmc,780,680,rgb(0,200,0)),color000000,layer5;
drawrectrel(780,djn,800,680,(if((dj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(830,tnr,850,680,rgb(200,0,0)),color000000,layer5;
drawrectrel(850,tmc,870,680,rgb(0,200,0)),color000000,layer5;
drawrectrel(870,tjn,890,680,(if((tj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawrectrel(920,zlnr,940,680,rgb(200,0,0)),color000000,layer5;
drawrectrel(940,zlmc,960,680,rgb(0,200,0)),color000000,layer5;
drawrectrel(960,zljn,980,680,(if((zlj >= 0),rgb(200,0,255),rgb(255,255,0)))),color000000,layer5;
drawtextrel(520,690,'买入'),color6600ff;
drawtextrel(520,730,'卖出'),colorabff46;
drawtextrel(520,780,'净买'),colorffffff;
drawtextrel(540,580,'散'),color00ff00;
drawtextrel(540,620,'户'),color00ff00;
drawtextrel(560,690,numtostrn(xdn,2)),color6600ff;
drawtextrel(560,730,numtostrn(xdm,2)),colorabff46;
drawtextrel(560,780,numtostrn(xj,2)),color00ff00;
drawtextrel(630,580,'中'),colorff0000;
drawtextrel(630,620,'户'),colorff0000;
drawtextrel(650,690,numtostrn(zdn,2)),color6600ff;
drawtextrel(650,730,numtostrn(zdm,2)),colorabff46;
drawtextrel(650,780,numtostrn(zj,2)),colorff0000;
drawtextrel(720,580,'大'),colorffff00;
drawtextrel(720,620,'户'),colorffff00;
drawtextrel(740,690,numtostrn(ddn,2)),color6600ff;
drawtextrel(740,730,numtostrn(ddm,2)),colorabff46;
drawtextrel(740,780,numtostrn(dj,2)),colorcyan;
drawtextrel(810,580,'特'),color0000ff;
drawtextrel(810,620,'大'),color0000ff;
drawtextrel(830,690,numtostrn(tdn,2)),color6600ff;
drawtextrel(830,730,numtostrn(tdm,2)),colorabff46;
drawtextrel(830,780,numtostrn(tj,2)),colorred;
drawtextrel(900,580,'主'),color33ffff;
drawtextrel(900,620,'力'),color33ffff;
drawtextrel(920,690,numtostrn(zldn,2)),color6600ff;
drawtextrel(920,730,numtostrn(zldm,2)),colorabff46;
drawtextrel(920,780,numtostrn(zlj,2)),coloryellow;
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;
drawtextabs(10,65,'主动率:'+ numtostrn(zdl,2)+' 通吃率/主力差:'+ numtostrn(tcl,1)),color33ff99;
drawtextabs(10,125,''+'ddx:'+ numtostrn(ddx,3)+' ddy:'+ numtostrn(ddy,3)+' ddz:'+ numtostrn(ddz,3)+''),colorccff99;
drawtextabs(230,125,''+'连红:'+ numtostrn(lh,0)+' 拾红:'+ numtostrn(sh,0)+' 廿红:'+ numtostrn(rsh,0)+' 陆拾红:'+ numtostrn(lsh,0)+''),color9966ff;
drawtextabs(345,25,'上涨家数:'+numtostrn(dynainfo(69),0)+' 下跌家数:'+numtostrn(dynainfo(70),0)+' 平盘家数:'+numtostrn(dynainfo(71),0)),colorcc33ff;
drawtextabs(10,5,'所属:板块/概念/行业/地域:' +bkname),color9dffff;
drawtextabs(220,65,''+'特单差:'+ numtostrn(tc,1)+' 大单差:'+ numtostrn(dc,1)+' 中单差:'+ numtostrn(zc,1)+' 小单差:'+ numtostrn(xc,1)+''),color33ff99;
drawtextabs(10,45,''+'买入单数:'+ numtostrn(mrds,0)+' 卖出单数:'+ numtostrn(mcds,0)+' 单数差:'+ numtostrn(dsc,0)+' 单数比:'+ numtostrn(dsb,3)),color3399ff;
drawtextabs(480,45,''+'资金动能:'+ numtostrn(zjdn,3)+''),colorccffff;
drawtextabs(10,25,''+'大盘指数:'+ numtostrn(dpzs,2)+' 大盘最高:'+ numtostrn(dpzg,2)+' 大盘最低:'+ numtostrn(dpzd,2)+''),colorffcc66;
drawtextabs(10,105,'帐号户数:'+numtostrn(zhs,0)+'(户)'),color99cccc;
drawtextabs(140,105,'帐户增减:'+numtostrn(zhzj,0)+'(户)'),color99cccc;
drawtextabs(260,105,'均户持股:'+numtostrn(jhcg,0)+'(股)'),color99ccff;
drawtextabs(380,105,'均户增减:'+numtostrn(jhcgzj,0)+'(股)'),color99ccff;
drawtextabs(370,45,'bbd:'+numtostrn(zlj,2)+'(万)'),colorccccff;
{五分钟资金趋势}
zl5:=zlj-ref(zlj,5);
t5:=tj-ref(tj,5);
d5:=dj-ref(dj,5);
z5:=zj-ref(zj,5);
x5:=xj-ref(xj,5);
drawtextabs(10,85,'五分钟各单净买(万):'+'主力:'+ numtostrn(zl5,2)+' 特大:'+ numtostrn(t5,2)+' 大户:'+ numtostrn(d5,2)+' 中户:'+ numtostrn(z5,2)+' 散户:'+ numtostrn(x5,2)),colorffcccc;
{各单增减比例显示}
drawtextrel(520,830,'增减'),colorffffff;
drawtextrel(560,830,numtostrn(xz,2)+'%'),color00ff00;
drawtextrel(650,830,numtostrn(zz,2)+'%'),colorff0000;
drawtextrel(740,830,numtostrn(dz,2)+'%'),colorcyan;
drawtextrel(830,830,numtostrn(tz,2)+'%'),colorred;
drawtextrel(920,830,numtostrn(zlz,2)+'%'),coloryellow;
drawtextrel(520,880,'持仓'),colorffffff;
drawtextrel(560,880,numtostrn(ss,2)+'%'),color00ff00;
drawtextrel(650,880,numtostrn(zs,2)+'%'),colorff0000;
drawtextrel(740,880,numtostrn(ds,2)+'%'),colorcyan;
drawtextrel(830,880,numtostrn(cs,2)+'%'),colorred;
drawtextrel(920,880,numtostrn(zls,2)+'%'),color33ffff;
{分时线}
最新:c,colorwhite,linethick1,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,linethick1,precis2;
上一指标公式:火神噬天-大波段见真功夫-原创作品公式下载 大智慧火神
下一指标公式:CPBSX操盘BS线 大智慧BSCPBSX
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文全景主图 大智慧全景仅供学习研究。