集成解盘
drawgbklast(c>0,strip(rgb(10,10,50),rgb(60,13,10),0));ma5:ma(close,5),colorf00ff0,precis2,layer0;
ma10:ma(close,10),coloryellow,precis2,layer0;
ma20:ma(c,20),colore66878,precis2,layer0;ma30:ma(c,30),colorwhite;
w:=barslast(dispstatus=1);
p:=backset(dispstatus=2,w/2+1);
k:=barslast(cross(p,0.5));
kj:=hhvall(high)-llvall(low);
vertline(cross(p,0.5),4),color00ffff;
平衡:llvall(low)+kj/2,color0099ff,dotline,precis2;
fillrgn(平衡,hhvall(high),w>k,rgb(0,0,200)),precis2;{该行设置背景色}
压力:if(k>=0,hhvall(high)-kj*0.191,平衡),colorff00ff,dotline,precis2;
支撑:if(k>=0,llvall(low)+kj*0.191,平衡),color00ff00,dotline,precis2;
低吸:k>=0 and cross(平衡,low),colorff8899,linethick0,precis2;
低涨:(c/llv(low,w)-1)*100,color0000ff,linethick0,precis2;
天:barslast(l=llv(low,w)),color00ffff,linethick0,precis0;
drawtext(high=hhvall(high) and k>=0,high*1.01,'←'+numtostrn(high,2)),colorffffff;
drawicon(低吸,low,6);
{以下设置提示文字部分}
drawtext(dispstatus=2,压力,'0.809'),color0000ff,align0;
drawtext(dispstatus=2,平衡,'0.500'),colorffffff,align0;
drawtext(dispstatus=2,支撑,'0.191'),color00ffff,align0;
drawtext(k=0,hhvall(high)-kj/12,'★强势区域--急拉减仓!'),color00ffff,align1;
drawtext(k=0,hhvall(high)-kj/3,'●震荡整理--寻机低吸!'),color00ff00,align1;
drawtext(k=0,llvall(low)+kj/3,'◆反弹中轨--逢高休息!'),colorffffff,align1;
drawtext(k=0,llvall(low)+kj/10,'■弱势区域--暂不参与!'),colorffff00,align1;
{以下设置个股信息}
总股本:=finance2(35) ;
流通股:=finance2(37);
限售a股:=finance2(41);
每股收益:=finance2(3);
市盈率:=dynainfo(39);
每股公积金:=finance2(7);
所属板块:=bkname;
drawtextabs(0,0, '所属板块: '+所属板块),color888888{,coloryellow};
drawtextabs(0,14,'每股收益: '+numtostrn(每股收益,3)+'元 利润增长:'+finance2(10)+'% 市盈率:'+numtostrn(市盈率,1)+'倍 '+' 每股公积金:'+numtostrn(每股公积金,2)+'元'),color888888{,coloryellow};
drawtextrel(10,80,'■低点至今上涨:'+numtostrn(低涨,2)+'% '+numtostrn(天,0)+'天'),color0000ff;
drawtextrel(10,130,'■目前可见k线:'+numtostrn(w+1,0)+'天'),colorwhite;
drawtextrel(10,180,'■建议查阅k线:短线30天,中长线120天!'),colorff8899;
{以下设置五彩立体k线}
stickline(close>open or close=open and close>ref(close,1),low,high,0.1,0),colorred;
stickline(close>open or close=open and close>ref(close,1),open,close,7,0),colorred;
stickline(close<open or close=open and close<=ref(close,1),low,high,0.1,0),colorcyan;
stickline(close<open or close=open and close<=ref(close,1),open,close,7,0),colorcyan;
stickline(open>=close ,close ,open,0,0 ),color00ff00;
stickline(open>=close ,close ,open,8,0 ),color008800;
stickline(open>=close ,close ,open,7,0 ),color009900;
stickline(open>=close ,close ,open,6,0 ),color00aa00;
stickline(open>=close ,close ,open,5,0 ),color00bb00;
stickline(open>=close ,close ,open,4,0 ),color00cc00;
stickline(open>=close ,close ,open,3,0 ),color00dd00;
stickline(open>=close ,close ,open,2,0 ),color00ee00;
stickline(open>=close ,close ,open,1,0 ),color00ff00;
stickline(close>open,close,open,0,0) ,colorffbbff;
stickline(close>open,close,open,8,0) ,colorff00ff;
stickline(close>open,close,open,7,0) ,colorff22ff;
stickline(close>open,close,open,6,0) ,colorff44ff;
stickline(close>open,close,open,5,0) ,colorff66ff;
stickline(close>open,close,open,4,0) ,colorff88ff;
stickline(close>open,close,open,3,0) ,colorff99ff;
stickline(close>open,close,open,2,0) ,colorffaaff;
stickline(close>open,close,open,1,0) ,colorffbbff;
卖:ema(c+(h-l)*0.618,3),color0099ff,linethick0;买:ema((o+h+l)/3,4),colorcyan,linethick0;
预测明日买点:=ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
drawtextrel(800,950,'测今日低点:'+numtostrn(ref(预测明日买点,1),2 )),colorgreen;
预测明日卖点:=ema(c+(h-l)*0.618,3)+(ema(c+(h-l)*0.618,3)-买)*0.618;
drawtextrel(580,950,'测今日高点:'+numtostrn(ref(预测明日卖点,1),2 )),colorred;
a:="ltfunc5@forlt2";
s1:="ltfunc5@lt_s1";
hs:="ltfunc5@lt_hs";
ls:="ltfunc5@lt_ls";
p1:="ltfunc5@lt_p1";
upp:="ltfunc5@lt_upp";
udd:="ltfunc5@lt_udd";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
买入:p1=1 and ref(p1,1)=0,linethick0,precis0,colorred;
d1:=ema(abs("ddx.ddx"),60);
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10);
fb:=if(s1=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价>'+numtostrn(upp,2)+',出现b点\n');
tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.bs点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
drawflagtext(1,fb,bs);
stickline(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
stickline(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,l,c,0.5,1),color5454ff;
stickline(p1=1 and c<=o,h,o,0.5,1),color5454ff;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;
drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
年线:ma(c,240),color000999,pointdot;x1:=(c+l+h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
drawicon(cross(x2,x3),l*0.98,7);
drawicon(cross(x3,x2),h*1.02,8);
stickline(x2>=x3,low,high,0.1,1),colorred;
stickline(x2>=x3,close,open,2,2),colorred;
stickline(x2>=x3,close,open,2,8),colorbrown;
stickline(x2<x3,low,high,0.1,1),colorgreen;
stickline(x2<x3,close,open,2,2),colorgreen;
stickline(cross(x2,x3),open,close,2,1),coloryellow;
stickline(cross(x3,x2),open,close,2,1),colorblue;today:="ddx.ddx"=0;{判断是否有正版数据}
dd:=1-(selfdata('特大买入')+selfdata('大单买入')+selfdata('中单买入'));
{today1:=dd>ref(dd,1) or dd<ref(dd,1)=0;{判断是否有理想数据}
today1:=dynainfo(7)=close and dynainfo(10)=amount and time0<55800;
{6}
特大净买:=if(today,if(today1,"ddedata@bigorder"(1,3),selfdata('特大买入')),bigorder(1,3));
大单净买:=if(today,if(today1,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(1,3)),selfdata('大单买入')),(bigorder(1,2)-bigorder(1,3)));
大单强度:=大单净买*vol/capital*100;
特单强度:=特大净买*vol/capital*100;
a1:='<*t=0092f7*><*c=ffffff*><*p=95*>'+'【大盘成交】'+numtostrn(indexa/100000000,2)+'亿'+' 【上涨】'+dynainfo(69)+'家\n';
a2:='<*t=0092f7*><*c=ffffff*><*p=95*>'+'【平盘】'+dynainfo(71)+'家'+' 【下跌】'+numtostrn(dynainfo(70),0)+'家\n';
a3:='<*t=e7ffff*><*c=000100*><*p=95*>'+ ' ★★★★'+stkname+'('+stklabel+')'+ '★★★★\n';
a4:='<*t=e7ffff*><*c=000000*><*p=95*>'+'今涨:'+numtostrn(dynainfo(14)*100,2)+'% 今换:'+numtostrn(dynainfo(37)*100,2 )+'% 量比:'+numtostrn(dynainfo(17),2 )+' 现价:'+numtostrn(c,2)+'元\n';
a7:='<*t=0092f7*><*c=ffffff*><*p=95*>'+'特大主力增仓: '+numtostrn(特单强度,3)+'% 资金流入: '+numtostrn(特大净买*amount/10000,2)+'万元\n';
a8:='<*t=0092f7*><*c=ffffff*><*p=95*>'+'大单主力增仓: '+numtostrn(大单强度,3)+'% 资金流入: '+numtostrn(大单净买*amount/10000,2)+'万元\n';
a9:='<*t=e7ffff*><*c=000000*><*p=95*>'+'→→→→→→→→→→→→←←←←←←←←←←←←←\n';
a10:='<*t=e7ffff*><*c=000000*><*p=95*>'+'一日主力增仓: '+numtostrn(sum(大单强度+特单强度,1),3)+'% 资金流入: '+numtostrn(sum(((大单净买+特大净买)*amount/10000),1),2)+'万元\n';
a11:='<*t=e7ffff*><*c=000000*><*p=95*>'+'二日主力增仓: '+numtostrn(sum(大单强度+特单强度,2),3)+'% 资金流入: '+numtostrn(sum(((大单净买+特大净买)*amount/10000),2),2)+'万元\n';
a12:='<*t=e7ffff*><*c=000000*><*p=95*>'+'三日主力增仓: '+numtostrn(sum(大单强度+特单强度,3),3)+'% 资金流入: '+numtostrn(sum(((大单净买+特大净买)*amount/10000),3),2)+'万元\n';
a13:='<*t=e7ffff*><*c=000000*><*p=95*>'+'四日主力增仓: '+numtostrn(sum(大单强度+特单强度,4),3)+'% 资金流入: '+numtostrn(sum(((大单净买+特大净买)*amount/10000),4),2)+'万元\n';
a14:='<*t=e7ffff*><*c=000000*><*p=95*>'+'五日主力增仓: '+numtostrn(sum(大单强度+特单强度,5),3)+'% 资金流入: '+numtostrn(sum(((大单净买+特大净买)*amount/10000),5),2)+'万元\n';
dd1:=trough(2,5,1);
目标价一:=dd1*1.1618;
目标价二:=dd1*1.0809;
目标价三:=dd1*1.0809*1.1618;
mb1:='<*t=0092f7*><*c=colorred*><*p=95*>'+'冲高卖出价: '+numtostrn(目标价一,3)+'元\n';
mb2:='<*t=0092f7*><*c=colorred*><*p=95*>'+' 回调买入价: '+numtostrn(目标价二,3)+'元\n';
mb3:='<*t=0092f7*><*c=colorred*><*p=95*>'+' 二次冲高卖出价: '+numtostrn(目标价三,3)+'元';
drawflagtext(c>0,high,a1+a2+a3+a4+a7+a8+a9+a10+a11+a12+a13+a14+mb1+mb2+mb3);
上一指标公式:抛砖引玉[选股]公式下载 大智慧公式
下一指标公式:成本均线副图公式下载 大智慧成本源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文集成解盘公式下载 大智慧源码仅供学习研究。