送一个给不会画线的股友 主图
input: n(5,1,100);
ema13:=ema(c,13);
ma30:=ma(c,30);
ma72:=ma(c,72);
{地心引力:(ma30+ma72)/2,pointdot,colorff7f93,linethick3;
上引力:(ma30+ma72)/2*0.9,pointdot,colorff7f93,linethick3;
下引力:(ma30+ma72)/2*1.1,pointdot,colorff7f93,linethick3;}
{drawgbklast(close>0,strip(rgb(95,95,95),rgb(0,0,0),0));}
ema17:=ema(c,17);
主筹估算:=ema(winner(c)*70,3);
散筹估算:=ema((winner((c)*1.1)-winner((c)*0.9))*70,3);
筹码锁定:=散筹估算-主筹估算 ;
动态底部:=ema(if(l<= llv(l,60),sma(abs(l-ref(l,1)),60,1)/sma(max(l-ref(l,1),0),99,1),0)*5,3);
涨:=cross(主筹估算,筹码锁定);
强:=cross(主筹估算,散筹估算);
stickline(涨,o,c,8,0),coloryellow;
stickline(涨,o,h,0,0),coloryellow;
stickline(涨,l,c,0,0),coloryellow;
stickline(强, o,c,8,0),colormagenta;
stickline(强,o,h,0,0),colormagenta;
stickline(强,l,c,0,0),colormagenta;
{黄金分割线}
lhnh:=barslast(dispstatus=1)+1;
nnl:=dispstatus=2;
al:=backset(nnl,hhvbars(h,lhnh)+1);
bl:=al>ref(al,1);
al2:=backset(nnl,llvbars(l,lhnh)+1);
bl2:=al2>ref(al2,1);
前高:ref(h,barslast(bl)),precis2,colorff00ff,linethick2;
drawtext(nnl,前高,'前高:'+前高),align2,colorgreen;
前低:ref(l,barslast(bl2)),precis2,colorgreen,linethick2;
drawtext(nnl,前低*1.009,'前低: '+前低),align2,colorgreen;
fl1:((前高-前低)*0.191)+前低,pointdot,colorff7f93,linethick3;
drawtext(barslast(bl)>barslast(bl2) and nnl,fl1,'0.236: '+fl1),color938c93;
fl2:((前高-前低)*0.382)+前低,pointdot,color5e8c93,linethick3;
drawtext(barslast(bl)>barslast(bl2) and nnl,fl2,'0.382: '+fl2),align2,colorgreen;
fl3:((前高-前低)*0.5)+前低,pointdot,color00ffff,linethick4;
drawtext(nnl,fl3,'0.5:'+fl3),align2,color918c93;
fl4:((前高-前低)*0.618)+前低,pointdot,color918c93,linethick3;
drawtext(barslast(bl)>barslast(bl2)and nnl,fl4,'0.618: '+fl4),align2,colorgreen;
fl5:((前高-前低)*0.809)+前低,pointdot,color918c67,linethick3;
drawtext(barslast(bl)>barslast(bl2) and nnl,fl5,'0.764: '+fl5),align2,colorgreen;
pp:=max( barslast(bl),barslast(bl2))+1;
k1:=pp-1;
k2:=pp-3;
k3:=pp-5;
k4:=pp-8;
k5:=pp-13;
k6:=pp-21;
k7:=pp-34;
k8:=pp-55;
k9:=pp-89;
k10:=pp-144;
k11:=pp-233;
vertline(filter(c=ref(c,k1),0) ,1 );
vertline(filter(c=ref(c,k2),0) ,1 );
vertline(filter(c=ref(c,k3),0),1 );
vertline(filter(c=ref(c,k4),0) ,1 );
vertline(filter(c=ref(c,k5),0) ,1 );
vertline(filter( c=ref(c,k6),0),1 );
vertline(filter( c=ref(c,k7),0),1 );
vertline(filter(c=ref(c,k8),0),1 );
vertline(filter(c=ref(c,k9),0),1 );
vertline(filter(c=ref(c,k10),0),1 );
vertline(filter(c=ref(c,k11),0),1 );
drawtext(filter(c=ref(c,k1),0),(hhv( h,80 )+llv(l ,80 ))/2,'1'),colorred,linethick6;
drawtext(filter( c=ref(c,k2),0),(hhv( h,80 )+llv(l ,80 ))/2,'3'),colorred,linethick6;
drawtext(filter(c=ref(c,k3),0),(hhv( h,80 )+llv(l ,80 ))/2,'5'),colorgreen,linethick6;
drawtext(filter(c=ref(c,k4),0),(hhv( h,80 )+llv(l ,80 ))/2,'8'),colorred,linethick6;
drawtext(filter(c=ref(c,k5),0),(hhv( h,80 )+llv(l ,80 ))/2,'13'),colorred,linethick6;
drawtext(filter(c=ref(c,k6),0),(hhv( h,80 )+llv(l ,80 ))/2,'21转'),colorgreen,linethick6;
drawtext(filter(c=ref(c,k7),0),(hhv( h,80 )+llv(l ,80 ))/2,'34'),colorred,linethick6;
drawtext(filter(c=ref(c,k8),0),(hhv( h,80 )+llv(l ,80 ))/2,'55'),colorred,linethick6;
drawtext(filter(c=ref(c,k9),0),(hhv( h,80 )+llv(l ,80 ))/2,'89'),colorgreen,linethick6;
drawtext(filter(c=ref(c,k10),0),(hhv( h,80 )+llv(l ,80 ))/2,'144'),colorred,linethick6;
drawtext(filter(c=ref(c,k11),0),(hhv( h,80 )+llv(l ,80 ))/2,'233'),colorgreen,linethick6;
a1:=ref(h,n)=hhv(h,2*n+1);
b1:=filter(a1,n);
c1:=backset(b1,n+1);
d1:=filter(c1,n) or barstatus=2;{高点}
a2:=ref(l,n)=llv(l,2*n+1);
b2:=filter(a2,n);
c2:=backset(b2,n+1);
d2:=filter(c2,n);{低点}
e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2; e2:=(h+l)/2;{高低点出现在同一k线上时可作取舍}
h1:=(d1 and not(d2 and e1>=e2)) or barstatus=2 or barscount(c)=1;
l1:=(d2 and not(d1 and e1<e2)); h2:=d1 and not(d2 and e1>=e2);
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars
(if(l1,l,10000),x1));
g1:=f1>ref(f1,1); i1:=backset(g1,2); ld:=i1>ref(i1,1);{过滤后低点}
l2:=ld or barstatus=2 or barscount(c)=1;
x2:=ref(barslast(l2),1)+1; f2:=backset(l2 and count(h2,x2)>0,hhvbars
(if(h2,h,0),x2));
g2:=f2>ref(f2,1); i2:=backset(g2,2); hd:=i2>ref(i2,1);{过滤后高点}
r1:=backset(barstatus=2,barslast(hd)+1); s1:=r1>ref(r1,1); {前一高}
t1:=backset(barstatus=2,barslast(ld)+1); u1:=t1>ref(t1,1); {前一低}
r2:=backset(s1,ref(barslast(hd),1)+2); s2:=r2>ref(r2,1); {前二高}
t2:=backset(u1,ref(barslast(ld),1)+2); u2:=t2>ref(t2,1); {前二低}
t3:=backset(u2,ref(barslast(ld),1)+2); u3:=t3>ref(t3,1); {前三低}
t4:=backset(u3,ref(barslast(ld),1)+2); u4:=t4>ref(t4,1); {前四低}
r3:=backset(s2,ref(barslast(hd),1)+2); s3:=r3>ref(r3,1); {前三高}
r4:=backset(s3,ref(barslast(hd),1)+2); s4:=r4>ref(r4,1); {前四高}
短期压力:drawline(s2,h,s1,h,1),colorred,linethick2;
短期支撑:drawline(u2,l,u1,l,1),colorgreen,linethick2;
中期压力:drawline(s3,h,s2,h,1),coloryellow,linethick2;
中期支撑:drawline(u3,l,u2,l,0),colorgreen,linethick2;
长期压力:drawline(s4,h,s3,h,1),colorwhite,linethick2;
长期支撑:drawline(u4,l,u3,l,0),colorgreen,linethick2;
drawicon(s1,h,10);
drawicon(s2,h,10);
drawicon(s3,h,10);
drawicon(s4,h,10);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文送一个给不会画线的股友DZH主图公式下载 大智慧指标源码画线源码仅供学习研究。