黄金分割操盘主图
通达信黄金分割操盘主图指标
m:=13;
网1:=expma(c,5),coloryellow;
网2:=expma(网1,2);
网3:=expma(网2,2);
网13:expma(close,13),colorgray,linethick3;
网33:expma(close,33),colorff00ff,linethick4;
tj1a:if(网1>网2,网1,网2),colorlicyan;
tj2a:if(网1>网3,网1,网3),colorgreen;
tj3a:网1,coloryellow,linethick2;
{qs}{好公式网-最好的股票公式网站 www.goodgongshi.com}
网a:=expma(close,5),colorwhite;
网b:=expma(close,33),colorff00ff,linethick3;
if(网b<ref(网b,1),网b,drawnull),color00ff00,linethick3;
if(网b<ref(网a,1),网a,drawnull),colorwhite,linethick1;
if(网1<ref(网b,1),网a,drawnull),colorgreen,linethick1;
{黄金分割线}
顶1:=refdate(hhv(h,m),date);
底1:=refdate(llv(l,m),date);
h1:=顶1-(顶1-底1)*0.191;
h2:=顶1-(顶1-底1)*0.382;
h3:=顶1-(顶1-底1)*0.5;
h4:=顶1-(顶1-底1)*0.618;
h5:=顶1-(顶1-底1)*0.809;
顶部:refdate(顶1,date),color666666;
%19.8:refdate(h1,date),color666666;
%38.2:refdate(h2,date),color666666;
%50:refdate(h3,date),color666666;
%61.8:refdate(h4,date),color666666;
%80.9:refdate(h5,date),color666666;
底部:refdate(底1,date),color666666;
drawtext(islastbar,顶部,' 顶部'),colorgreen;
drawtext(islastbar,%19.8,' 19.8%'),colormagenta;
drawtext(islastbar,%38.2,' 38.2%'),coloryellow;
drawtext(islastbar,%50,' 50%'),colorwhite;
drawtext(islastbar,%61.8,' 61.8%'),coloryellow;
drawtext(islastbar,%80.9,' 80.9%'),colormagenta;
drawtext(islastbar,底部,' 底部'),colorred;
{bs标志}
drawicon((zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2))
and (ref(zig(3,5),2)<=ref(zig(3,5),3)),low*0.98,7);
drawicon((zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2))
and (ref(zig(3,5),2)>=ref(zig(3,5),3)),high*1.02,8);
{箱体}
{
箱顶:peak(close,n,1)*0.98,pointdot,linethick3,coloryellow;
箱底:trough(close,n,1)*1.02,pointdot,linethick3,colorffff00;
箱高:100*(箱顶-箱底)/箱底,nodraw;
};
hh:=const(hhv(h,160));
ll:=const(llv(l,160));{160可改成你习惯锁定的日k线数}
hl1:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.76,0.04));
hl2:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.80,0.08));
hl3:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.84,0.12));
hl4:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.88,0.16));
hl5:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.92,0.20));
hl6:=const(if(const(ref(ma(c,10),10))>const((hh+ll)/2),0.96,0.24));
drawtext_fix(1,0.00,0,0,'所属行业:')color0080ff;
drawtext_fix(1,0.07,0,0,hyblock)color0080ff;
drawtext_fix(1,0.14,0,0,'所属地区:')color00ffff;
drawtext_fix(1,0.21,0,0,dyblock)color00ffff;
drawtext_fix(1,0.00,0.04,0,'主题投资:')color0000ff;
drawtext_fix(1,0.07,0.04,0,externstr(0,1))color0000ff; {生成数据时第1项输1与这里1一致,描述部分输"主题投资"}
drawtext_fix(1,0.00,0.08,0,'主营业务:')colorff00ff;
drawtext_fix(1,0.07,0.08,0,externstr(0,2))colorff00ff; {生成数据时第1项输2与这里2一致,描述部分输"主营业务"}
drawtext_fix(1,0.00,0.12,0,'出千概念:')colorff88ff;
drawtext_fix(1,0.07,0.12,0,externstr(0,3))colorff88ff; {生成数据时第1项输3与这里3一致,描述部分输"出千概念"}
总额:=amount;
买:=if(o=c and (c-ref(c,1))/ref(c,1)*100>9.8,amount,amount/((h-l)*2-abs(o-c))*(c-l));
买%:=买/amount*100;
流入:=amount*买%/10000000000;
流出:=amount/100000000-流入;
净流:=(流入-流出);
总额3:=sum(amount,3);
流入3:=sum(流入,3);
流出3:=sum(流出,3);
净流3:=sum(流入-流出,3);
总额5:=sum(amount,5);
流入5:=sum(流入,5);
流出5:=sum(流出,5);
净流5:=sum(流入-流出,5);
总额10:=sum(amount,10);
流入10:=sum(流入,10);
流出10:=sum(流出,10);
净流10:=sum(流入-流出,10);
画:=const(findhigh(总额10,0,190,1));
drawtext_fix(1,0.71,0.07,0,'净流(亿):'),colormagenta,linethick1;
drawtext_fix(1,0.78,0.05,0,'1日'),colormagenta,linethick1;
drawtext_fix(1,0.83,0.05,0,'3日'),colormagenta,linethick1;
drawtext_fix(1,0.88,0.05,0,'5日'),colormagenta,linethick1;
drawtext_fix(1,0.93,0.05,0,'10日'),colormagenta,linethick1;
drawnumber_fix(1,0.78,0.10,0,const((净流))),coloryellow;
drawnumber_fix(1,0.83,0.10,0,const((净流3))),coloryellow;
drawnumber_fix(1,0.88,0.10,0,const((净流5))),coloryellow;
drawnumber_fix(1,0.93,0.10,0,const((净流10))),coloryellow;
drawkline(high,open,low,close);ma5:=ma(c,5);ma10:=ma(c,10);ma30:=ma(c,30);
fa:=barslast(cross(ma10,ma5))
and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and
ma10>ref(ma10,1);
drawtext(fb,l-0.58,'★红牛'),colorred;v1:=ema(close,5);
v2:=ema(ema(close,90)*1.01,10);
drawtext(cross(v1,v2),v1+0.05,'牛起步'),color00ff00;
{过左峰提示粉色}
var121:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var141:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var161:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var181:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
卖:=(var121+var141+var161+var181),linethick2;
sq:drawline(卖,h,barslast(卖)>=1,ref(h,barslast(卖)),1),colorwhite,linethick2;
过峰:=c>sq and ref(c,1)<sq;
vvol:=if(currbarscount=1 and period=5,vol*240/fromopen,drawnull),nodraw;
预量:=vvol/ref(v,1)>1.8;
现量:=v/ref(v,1)>1.5;
过峰1:stickline( 过峰,c,o,5,0)colorff00ff;
预量1:drawicon(过峰 and 预量, h*1.01,14);
现量1:drawicon(过峰 and 现量,(o+c)/2,23);
前次低点:llv(l*1,250)pointdot,colorff00ff,linethick4;
上一指标公式:极品macd(通达信指标+源码+贴图)下载 通达信公式
下一指标公式:黑马出枪指标(可以提前埋伏黑马)下载 通达信源码贴图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文黄金分割操盘主图下载 通达信操盘指标仅供学习研究。