智能诊股主图
drawgbk(1,rgb(0,0,0),rgb(0,0,0),0,'448',0);
drawgbk(c>0, rgb(0,0,20),rgb(00,00,00),0,'0',1);
n:=5;m1:=10;m2:=20;
牛熊线:(ema(close,30)+ema(close,72))/2,linethick2,colorred;
drawtext(islastbar,牛熊线,'牛熊线'),colorred;
m5:ma(close,n),colorwhite,linethick0;
m10:ma(close,m1),coloryellow;
m20:ma(close,m2),colorff00ff;
var1:=if(close>open,close,open);
var2:=mema(close,5);
var3:=atan((var2/ref(var2,1)-1)*100);
var4:=if(var3>0,var3,var3);
var5:=(close/ref(close,1)-1)*100;
var6:=var5<1.5 and var5>-1.5;
强势:if(var4>=ref(var4,1) and var4>=0,m10,drawnull),colorred,linethick4;
整理:if(var4<ref(var4,1) and var4>0,m10,drawnull),colorgreen,linethick4;
a1:=ref(h,8)=hhv(h,2*8+1);
b1:=filter(a1,8);
c1:=backset(b1,8+1);
d1:=filter(c1,8);{高点}
r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1);
drawline(d1,h,s11,h,1),colorwhite;
a2:=ref(l,8)=llv(l,2*8+1);
b2:=filter(a2,8);
c2:=backset(b2,8+1);
d2:=filter(c2,8);{低点}
aa05:=ma(c,5),color0099cc;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),nodraw;
aa10:=ma(c,10);
aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:=ma(c,30);
三拾日乖离率:=(c-aa30)/aa30*100;
var11:=(aa20-aa30)>ref((aa20-aa30),1)
and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var22:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and
aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and
cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and
aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and
aa10<ref(aa10,1),10);
drawicon(加仓 ,low*0.99,23);
drawicon(清仓 ,high*1.01,15);
drawicon(强势狙击 ,low*0.99,13);
hh0:=hhv(h,n);
ll0:=llv(l,n);
mm0:=const((hh0+ll0)*0.5);
s01:=const(if(ref(c,n-15)>mm0,1.00,-0.04));
s02:=const(if(ref(c,n-15)>mm0,-1,1));
s1:=if(findstr(externstr(0,13),'万元'),s01+(0.04*s02),s01);
s2:=if(findstr(externstr(0,12),'。'),s1+(0.04*s02),s1);
s3:=if(findstr(externstr(0,8),'公告'),s2+(0.04*s02),s2);
s4:=if(findstr(externstr(0,10),','),s3+(0.04*s02),s3);
s5:=if(findstr(externstr(0,15),'-'),s4+(0.04*s02),s4);
s6:=if(findstr(externstr(0,1),','),s5+(0.04*s02),s5);
s7:=if(findstr(externstr(0,14),'-'),s6+(0.04*s02),s6);
s8:=if(findstr(externstr(0,11),'-'),s7+(0.04*s02),s7);
s9:=if(findstr(externstr(0,9),'-'),s8+(0.04*s02),s8);
m:=13;
m3:ma(close,3),colorred,linethick;
m13:ma(close,13),colorred,linethick;
m34:ma(close,34),colorred,linethick;
x:=barslast(ref(cross(c,ma(c,120)),1)) and cross(ma(c,20),ma(c,120));
if(m34<ref(m34,1),m34,drawnull),colorgreen,linethick;
stickline(m3>=m13 and m34>=ref(m34,1) ,h ,l ,0.1 ,0 ),colorred;
stickline(m3>=m13 and m34>=ref(m34,1) and c>=o ,o ,c ,3 ,1 ),colorred;
stickline(m3>=m13 and m34>=ref(m34,1) and c<o ,o ,c ,3 ,0 ),colorred;
stickline(m3<m13 and m34>=ref(m34,1) ,h ,l ,0.1 ,0 ),coloryellow;
stickline(m3<m13 and m34>=ref(m34,1) and c>=o ,o ,c ,3 ,1 ),coloryellow;
stickline(m3<m13 and m34>=ref(m34,1) and c<o ,o ,c ,3 ,0 ),coloryellow;
stickline(m3<m13 and m34<ref(m34,1) ,h ,l ,0.1 ,0 ),colorgreen;
stickline(m3<m13 and m34<ref(m34,1) and c>=o ,o ,c ,3 ,1 ),colorgreen;
stickline(m3<m13 and m34<ref(m34,1) and c<o ,o ,c ,3 ,0 ),colorgreen;
stickline(m3>=m13 and m34<ref(m34,1) ,h ,l ,0.1 ,0 ),colormagenta;
stickline(m3>=m13 and m34<ref(m34,1) and c>=o ,o ,c ,3 ,1 ),colormagenta;
stickline(m3>=m13 and m34<ref(m34,1) and c<o ,o ,c ,3 ,0 ),colormagenta;
stickline(islastbar,hhv(c,5),hhv(c,5),218,1)colorred;
stickline(islastbar,hhv(c,5)*0.95,hhv(c,5)*0.95,218,1)colorred;
z1:=strcat(hyblock,' ');
z2:=strcat(z1,dyblock);
z3:=strcat(z2,' ');
drawtext_fix(islastbar,1,1.1,8,strcat(z3,gnblock)),colorffff80;
drawtext_fix(1,0.8,0.8,0,'★ 筹码峰 ★'),colorred;
drawnumber_fix(1,0.9,0.8,0,const(winner(c)*100));
aa:=(ref(close,1)+ref(close,2)+open)/3;
drawtext_fix(currbarscount=1,0.9,0.9,1,'《 今日保护价 》'),linethick2,color00ffff;
drawnumber_fix(currbarscount=1,0.95,0.9,1,aa),colorred;
drawtext_fix(currbarscount=1,0.96,0.9,0,'元');
线断走人:if(zig(ma((h+l)/2,3),3)>ref(zig(ma((h+l)/2,3),3),1),zig(ma((h+l)/2,3),3),drawnull),coloryellow,linethick2;
drawtext_fix(1,0.32,2,0,'黄色断◆ 线断走人出局 ◆'),coloryellow;
drawrectrel(0,480,205,589,rgb(10,1,30));
资金流入:=sum(if(c>ref(c,1),v,0),fromopen),nodraw;
资金流出:=-sum(if(c<ref(c,1),v,0),fromopen),nodraw;
资金出入:=资金流入+资金流出,nodraw;
drawband(资金出入,rgb(150,0,150),0,rgb(0,100,0)),nodraw;
资金流量:资金出入,nodraw;
资金比:资金出入/sum(v,fromopen)*100,nodraw;
资金流量比:=if(资金比>=0,(资金比+100)/2,100-abs((资金比-100)/2)),nodraw;
攻击量:=((hsl*0.50+ref(hsl,1)*0.33)+(ref(hsl,2)*0.17))*sum(c,fromopen)/fromopen,nodraw;
攻击量a:=sum(if(c>ref(c,1),攻击量*v,0),fromopen),nodraw;
攻击量b:=-sum(if(c<ref(c,1),攻击量*v,0),fromopen),nodraw;
攻击流量:攻击量a+攻击量b,nodraw;
notext攻击线:攻击流量,nodraw;
攻击比:攻击流量/sum(v,fromopen)*100,colorred,nodraw;
资金攻击度:=if(攻击比>=0,(攻击比+50),100-abs((攻击比-50)));
{stickline(资金流量a>0,资金流量a,0,1,0),color0000ff;
stickline(资金流量b<0,资金流量b,0,1,0),colorff0000;};
drawrectrel(20,570,180,540,rgb(0,75,200));
drawrectrel(20,570,30,540,rgb(0,250,50));
drawrectrel(20,570,15+const(资金流量比*150/100),540,rgb(200,50,0));
drawtext_fix(1,0.0,0.5,0,strcat(strcat(' 【资金流量比】',con2str(资金流量比,2)),'%买')),coloryellow;
drawtext_fix(1,5.0,0.9,0,externstr(0,5))color0000ff;
drawtext_fix(1,0.0,0.2,0,externstr(0,5))color0000ff;
drawtext_fix(c>0,0.004,0.11,0,strcat('智能诊股:',externstr(0,2))),colorffff00,linethick2;
上一指标公式:趋势双线主图(主图源码)下载 通达信源码
下一指标公式:九阴爪(副图指标源码)下载 通达信阴爪源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文智能诊股主图(主图源码)下载 通达信诊股源码仅供学习研究。