直观牛熊主图
{直观牛熊主图}
cc:if(currbarscount<18,const(ref(c,1)),drawnull),color000000;
止赢:1.05*cc,colorffffff,linethick2;
止损:0.97*cc,colorffffff,linethick2;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
支撑:refdate(v2,date),dotline,linethick1,colorff0080;
阻力:refdate(v3,date),dotline,linethick1,color676767;
drawgbk(o>c,rgb(360,0,10),rgb(10,0,1),0,'01',0);
p0:=ma(indexc,34);{好公式网-最好的股票公式网站 www.goodgongshi.com}
p1:=(55*p0+34*ref(p0,1)+21*ref(p0,2)+13*ref(p0,3)+8*ref(p0,4)+5*ref(p0,5)
+3*ref(p0,6)+2*ref(p0,7)+ref(p0,8)+ref(p0,9))/143;
p2:=ref(p1,1);
大盘长牛熊:=0.5*(p1+p2);
h0:=ma(c,8);
h1:=(55*h0+34*ref(h0,1)+21*ref(h0,2)+13*ref(h0,3)+8*ref(h0,4)+5*ref(h0,5)
+3*ref(h0,6)+2*ref(h0,7)+ref(h0,8)+ref(h0,9))/143;
h2:=ref(h1,1);
短期牛熊:0.5*(h1+h2),nodraw,coloryellow;
drawband(h1,rgb(255,255,0),h2,rgb(0,0,255));
stickline(h1>h2,h1,h2,10,0),coloryellow;
i0:=ma(c,34);
i1:=(55*i0+34*ref(i0,1)+21*ref(i0,2)+13*ref(i0,3)+8*ref(i0,4)+5*ref(i0,5)
+3*ref(i0,6)+2*ref(i0,7)+ref(i0,8)+ref(i0,9))/143;
i2:=ref(i1,1);
长期牛熊:0.5*(i1+i2),nodraw,colorred;
drawband(i1,rgb(255,0,0),i2,rgb(0,255,0));
stickline(i1>i2,i1,i2,10,0),colorred;
差:100*(短期牛熊-长期牛熊)/长期牛熊,colormagenta,nodraw;
var1:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var2:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
dir1:=abs(close-ref(close,5));
vir1:=sum(abs(close-ref(close,1)),5);
er1:=dir1/vir1;
cs1:=er1*(0.8-2/8)+2/8;
cq1:=cs1*cs1;
dir2:=abs(close-ref(close,10));
vir2:=sum(abs(close-ref(close,1)),10);
er2:=dir2/vir2;
cs2:=er2*(0.8-2/24)+2/24;
cq2:=cs2*cs2;
stickline(var2 < ma(var3,6),low,high,0,1),colorliblue;
stickline(var2 > ma(var3,6),low,high,0,1),colorred;
stickline(((open>close)and(var2<ma(var3,6))),(close-0.03),open,3.05,0),colorliblue;
stickline(((open<close)and(var2<ma(var3,6))),close,open,3.05,1),colorliblue;
stickline(((open>close)and(var2>ma(var3,6))),open,(close-0.03),3.05,0),colorred;
stickline(((open<close)and(var2>ma(var3,6))),open,close,3.05,1),colorred;
drawicon(cross(var2,ma(var3,6)),(low - (low*0.02)),23);
drawicon(cross(ma(var3,6),var1),(high+(high*0.01)),15);
pt:=ref(h,1)-ref(l,1);
cdp:=(ref(h,1)+ref(l,1)+ref(c,1)*2)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh:=cdp*2-ref(l,1);
nl:=cdp*2-ref(h,1);
强:if(ah>ref(c,1)*1.1,ref(c,1)*1.1,ah)nodraw;
阻:if(nh>强,(强-cdp)*0.618+cdp,nh)nodraw,colorblue;
m:=if(al<ref(c,1)/1.1,ref(c,1)/1.1,al);
撑:if(nl<m,cdp-(cdp-m)*0.618,nl)nodraw;
底:if(al<ref(c,1)/1.1,ref(c,1)/1.1,al)nodraw;
stickline(c>=o,c,o,3.4,0),color0000aa;
stickline(c>=o,c,o,3.0,0),color0000bb ;
stickline(c>=o,c,o,2.4,0),color0000cc;
stickline(c>=o,c,o,2.0,0),color0000dd ;
stickline(c>=o,c,o,1.6,0),color0000ee;
stickline(c>=o,c,o,1.2,0),color0000ff;
stickline(c>=o,c,o,0.6,0),color0000ff;
stickline(c>=o,h,l,0,0),colorred;
stickline(c<=o,c,o,3.4,0),coloraaaa00;
stickline(c<=o,c,o,3.0,0),colorbbbb00;
stickline(c<=o,c,o,2.4,0),colorcccc00;
stickline(c<=o,c,o,2.0,0),colordddd00;
stickline(c<=o,c,o,1.6,0),coloreeee00;
stickline(c<=o,c,o,1.2,0),colorffff00;
stickline(c<=o,c,o,0.6,0),colorffff00;
stickline(c<=o,h,l,0,0),colorffff00;
aa:=(ref(close,1)+ref(close,2)+open)/3;
drawtext_fix(currbarscount=1,0.8,0.05,1,'今日保护价'),linethick2,color00ffff;
drawnumber_fix(currbarscount=1,0.84,0.05,1,aa);
drawtext_fix(currbarscount=1,0.86,0.05,1,'元');
上一指标公式:通达信大盘成交量指标(源码+副图+贴图)下载 通达信成交量源码
下一指标公式:个股资金流量流向分析指标下载 通达信源码指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文直观牛熊主图(主图源码)下载 通达信源码公式仅供学习研究。