直接给贡献源码,(m1-m9数值3,6,12,24,34,48,89,144,21)
n:=80;
m:=3;
水平面:ma(close,89),colorffa2ff;
bbi:(ma(close,m1)+ma(close,m2)+ma(close,m3)+ma(close,m4))/4;
baa:(ma(close,m5)+ma(close,m6)+ma(close,m7)+ma(close,m8)+ma(close,m9))/5,color0000cd,linethick4;
长线ebbi:(ema(c,6)+ema(c,18)+ema(c,54)+ema(c,162))/4,colorff00ff,linethick2;
stickline(cross(bbi,长线ebbi),l,l-0.09,4,0),coloryellow;
drawtext(cross(bbi,长线ebbi),l-0.13,'走牛') ,coloryellow;
stickline(cross(bbi,baa),l,l-0.11,5,0),colorwhite;
drawtext(cross(bbi,baa),l-1.0,'买入持股') ,colorffa2ff,linethick3;
drawtext(cross(baa,bbi),l-0.13,'注意仓位') ,color00e300,linethick3;
if(bbi>ref(bbi,1),bbi,drawnull),colorred,linethick2;
if(bbi<ref(bbi,1),bbi,drawnull),colorblue,linethick2;
ma1:ma(close,24),color00e300,linethick1;
v2:=if(currbarscount=1,vol*240/fromopen/ref(vol,1)-1,vol/ref(vol,1)-1);
stickline(v2>=1,o,c,2,0),coloryellow;
ma13:=ma(close,13);
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
a1:=min(o,c);
b1:=abs(o-c);
t1:=filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10);
stickline(t1,a1,a1+b1/4,2,0),color007575;
stickline(t1,a1+b1/4,a1+b1/2,2,0),colorff0000;
stickline(t1,a1+b1/2,a1+b1*3/4,2,0),color007575;
stickline(t1,a1+b1*3/4,a1+b1,2,0),colorff0000;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
{drawtext(cross(ff,ma15),(low * 0.97),'底背离'),colora6e500;
drawtext(cross(88,rsi),(high * 1.04),'顶背离'),color1880ff;}
stickline(cross(ff,ma15),a1,a1+b1/2,2,0),color7f017f;
stickline(cross(88,rsi),a1+b1,a1+b1/2,2,0),colorgreen;
t2:=count(cross(bbi,3),3)=1 and cross(c,bbi);
drawtext(t2,h*1.05,'反转'),colorwhite;
stickline(t2,o,c,2,0),colorred;
t12:=v2>=1;
t0:=barslast(t12);
l1:=ref(l,t0);
h1:=ref(h,t0);
stickline(ref(t12,1) or ref(t12,2) or ref(t12,3),h1,h1,4,-1),colorwhite;
stickline(ref(t12,1) or ref(t12,2) or ref(t12,3),l1,l1,4,-1),colorwhite;
{t11:=ref(t12,3) and count(l<l1,4)=0 and count(l>h1,4)>1;
drawtext(t11,h*1.05,'三天'),colorwhite;
stickline(t11,o,c,2,0),colorff00ff;}
{(ref(v2>=1,3) or ref(v2>=1,2) or ref(v2>=1,1)) };
l11:=min(ref(l,1),l);
l10:=min(l11,ref(l,2));
l21:=max(ref(l,1),l);
l20:=max(l21,ref(l,2));
t111:=(ref(v2>=1,3) or ref(v2>=1,2) or ref(v2>=1,1)) and
((l10>l1 and l20>h1) or (l11>l1 and l21>h1));
t11:=t111 and ref(t111,1)=0;
stickline(t11,o,c,2,0),colorff00ff;
高:=ref(hhv(h,n),m);
低:=ref(llv(l,n),m);
h19:=高-(高-低)*0.191;
h38:=高-(高-低)*0.382;
h中:=高-(高-低)*0.5;
h61:=高-(高-低)*0.618;
h80:=高-(高-低)*0.809;
顶点:refdate(高,date),pointdot,linethick2,colorwhite;
%19.8:refdate(h19,date),pointdot,linethick2,coloryellow;
%38.2:refdate(h38,date),pointdot,linethick2,colorgreen;
%50:refdate(h中,date),pointdot,linethick2,colorred;
%61.8:refdate(h61,date),pointdot,linethick2,colormagenta;
%80.9:refdate(h80,date),pointdot,linethick2,colorblue;
低点:refdate(低,date),pointdot,linethick2,colorwhite;
drawtext(islastbar,顶点,'顶点'),colorwhite;
drawtext(islastbar,低点,'低点'),colorwhite;
stickline(t1,a1,a1+b1/2,2,0),color007575;
stickline(t1,a1+b1/2,a1+b1,2,0),colorblue;
stickline(t11 and t12,a1,a1+b1/2,2,0),colorff00ff;
stickline(t11 and t12,a1+b1/2,a1+b1,2,0),coloryellow;
stickline(t1 and t12,a1+b1/3,a1+b1,2,0),coloryellow;
stickline(t1 and t12,a1,a1+b1/3,2,0),color007575;
stickline(t1 and t12,a1+b1/3,a1+b1*2/3,2,0),colorblue;
stickline(t2 and t12,a1+b1/2,a1+b1,2,0),colorred;
stickline(t2 and t12,a1,a1+b1/2,2,0),coloryellow;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文立脏量改进版主图指标下载 通达信改进版仅供学习研究。