指标:k线提示
指标简述:本指标是对普通k线的一种变体改造,使其具有一些顶底指标的特性,同时兼有趋势类指标的特点。
在指标中加了一些提示,有助于初用者的简单判断,一些结构性的画线又有助于有经验的人使用。
指标用法:1、把k线的波动以顶底式体现,类似kdj等指标,用法也一样;
2、指标中有逃和进的提示,还有顶部区域,底部区域的提示;
3、底部线条颜色的不同含义也不同,白色观望,绿色为下跌,红色为持股,粉红色为关注。
4、有个光头开阴的提示做空,在股票融券的情况下比较有意义。
5、还有火箭发射、买、瀑布等提示,自己看吧。
6、指标中加入一些结构性的画线提示,有助于支撑点和阻力点的判断。
开:sma(max(o-ref(o,1),0),6,1)/sma(abs(o-ref(o,1)),6,1)*100 linethick0; 高:sma(max(h-ref(h,1),0),6,1)/sma(abs(h-ref(h,1)),6,1)*100 linethick0; 低:sma(max(l-ref(l,1),0),6,1)/sma(abs(l-ref(l,1)),6,1)*100 linethick0; 收:sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100 linethick0; partline(c,10)pointdot;partline(c,90)pointdot; stickline(收>开,高,低,0,0),colorred; stickline(收>开,收,开,7,1),colorred; stickline(收< 开,高,低,0,0),colorgreen; stickline(收< 开,收,开,7,0),colorgreen; 50,pointdot; drawtext(abs(max(高,低)-开)<14 and (开-收)>17 and ref(收,1)>60 ,80,'★光头开阴'),colorgray; drawtext(filter(min(高,低)<20 and min(ref(高,1),ref(低,1))<20 and min(ref(高,2),ref(低,2))<20 and 收>ref(收,1) and c>ma(c,120),5),50,'★买'),colorred; drawtext(filter(min(高,低)<20 and 收>ref(收,1) and c>ma(c,120),5),低,'★买'),colormagenta; drawtext((收-低)>25,低-5,'★火箭发射'),colorred; drawtext(max(高,低)>89 and 收<90 and ref(收,1)>90 and ref(收,2)>90,10,'★逃顶'),colorgreen; drawtext(max(高,低)>79 and 收<80 and ref(收,1)>80 and ref(收,2)>80 ,10,'★透顶'),colorcyan; drawtext(收<90 and 开>90 and ref(收,1)>90 and ref(收,2)>90 ,30,'★天顶'),colorgreen; drawtext(收<90 and 开>90 and ref(收,1)>ref(收,3),高+5,'★瀑布'),colorcyan; {drawtext(高>50 and 高<80 and (高-max(收,开))/(高-低)>0.667 and (ref(高,1)-max(ref(收,1),ref(开,1)))/(ref(高,1)-ref(低,1))>0.567 and 高>ref(高,1),高+15,'★调整'),; drawline(收< 开 ,低,islastbar,低,1),coloryellow,pointdot;} drawtext((min(高,低)-abs(收-开))/abs(高-低)>0.667 and 收<80 and ref(收,1)>80 ,100,'★逃'),colorcyan; if(收>80 or 开>80,80,100)colorgreen; partline(c,100)colorwhite; if(收<20 or 开<20,20,0)colorred; partline(c,0)colorwhite; vars1:=ref(close,1); vars2:=sum(if(close> ref(close,1),vol,if(close< ref(close,1),0-vol,0)),0); vars3:= ref(vars2,1); vars4:=sma(max(close-vars1,0),7,1)/sma(abs(close-vars1),7,1)*100; vars5:=sma(max(close-vars1,0),13,1)/sma(abs(close-vars1),13,1)*100; vars6:=sma(max(vars2-vars3,0),26,1)/sma(abs(vars2-vars3),26,1)*100; vars7:=date<1081231; 底部:= if(vars4<15 and vars5<20 and vars6<50 and barscount(close)>25 and vars7,-100,0),stick,; 顶部:= if(vars4>85 and vars5>80 and vars6>50 and barscount(close)>25 and vars7,100,0),stick,linethick2; drawtext(filter(底部=-100,5),20,'底'),linethick2,pointdot,colorwhite; drawtext(filter(顶部=100,5),80,'顶'),linethick2,pointdot,colorwhite; varm1:=(ref(high,1)+ref(low,1))/2; varm2:=ma(close,20)+2*std(close,20); varm3:=ref(close,1); varm4:=sma(max(close-varm3,0),7,1)/sma(abs(close-varm3),7,1)*100; varm5:=cross(79,varm4); varm6:=filter(varm5,4); 卖出1:=if(cross(varm1,varm2),1,0); stickline(卖出1=1,90,100,10,1),colorblue,linethick3; {drawtext(卖出1=1,90,'→卖1'),colorwhite,linethick3;} 卖出2:=if(varm6,1,0); stickline(卖出2=1,90,100,10,1),colorwhite,linethick3; {drawtext(卖出2=1,90,'→卖2'),colorcyan,linethick3;} aa:=ref(收,n)=hhv(收,2*n+1); aaa:=filter(aa,n); bb:=backset(aaa,n+1); cc1:=filter(bb,n); cc:=cc1 or islastbar; aa2:=ref(l,n)=llv(l,2*n+1); aaa2:=filter(aa2,n); bb2:=backset(aaa2,n+1); cc22:=filter(bb2,n); cc2:=cc22 and not(cc1); ea:=backset(cc,ref(barslast(cc2),1)+1); eb:=ea>ref(ea,1); ee:=backset(eb,2); ff1:=ee>ref(ee,1); ee2:=backset(ff1 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2); ff2:=ee2>ref(ee2,1); ee3:=backset(ff2 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2); ff3:=ee3>ref(ee3,1); js:=if(cc,count(cc2,ref(barslast(cc),1)+1),0); g1:=if(js=1 and cc,barslast(ff1),0); ga:=if(cc and ref(l,barslast(ff1))>=ref(l,barslast(ff2)),barslast(ff2),barslast(ff1)); g2:=if(js=2 and cc,ga,0); g3:=if(js>=3 and cc,if(cc and ref(l,ga)>=ref(l,barslast(ff3)),barslast(ff3),ga),0); gg:=g1+g2+g3; ja:=backset(cc,gg); jb:=ja>ref(ja,1); jj:=backset(jb,2); ld:=jj>ref(jj,1); ld1:=ld or islastbar; hea:=backset(ld1,ref(barslast(cc),1)+1); heb:=hea>ref(hea,1); hee:=backset(heb,2); hff1:=hee>ref(hee,1); hee2:=backset(hff1 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2); hff2:=hee2>ref(hee2,1); hee3:=backset(hff2 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2); hff3:=hee3>ref(hee3,1); hjs:=if(ld1,count(cc1,ref(barslast(ld1),1)+1),0); hg1:=if(hjs=1 and ld1,barslast(hff1),0); hga:=if(ld1 and ref(h,barslast(hff1))<=ref(h,barslast(hff2)),barslast(hff2),barslast(hff1)); hg2:=if(hjs=2 and ld1,hga,0); hg3:=if(hjs>=3 and ld1,if(ld1 and ref(h,hga)<=ref(h,barslast(hff3)),barslast(hff3),hga),0); hgg:=hg1+hg2+hg3; hja:=backset(ld1,hgg); hjb:=hja>ref(hja,1); hjj:=backset(hjb,2); hd:=hjj>ref(hjj,1); uu:=backset(islastbar,barslast(ld)+1); vv:=uu>ref(uu,1); ww:=backset(vv,ref(barslast(ld),1)+2); xx:=ww>ref(ww,1); uu2:=backset(islastbar,barslast(hd)+1); vv2:=uu2>ref(uu2,1); ww2:=backset(vv2,ref(barslast(hd),1)+2); xx2:=ww2>ref(ww2,1); drawline(xx,收,vv,收,1),colorwhite,pointdot; drawline(xx2,收,vv2,收,2),colorred,pointdot; xl1:=backset(xx,ref(barslast(ld),1)+2); xpl1:=xl1>ref(xl1,1); xd1:=backset(xx2,ref(barslast(hd),1)+2); xpd1:=xd1>ref(xd1,1); xd2:=backset(xpd1,ref(barslast(hd),1)+2); xpd2:=xd2>ref(xd2,1); drawicon(xpd1,收,10),align0; drawicon(xpd2,收,10),align0; drawicon(xx2,收,10),align0; drawicon(xx,收,11),align0; drawicon(vv2,收,10),align0; drawicon(vv,收,11),align0; drawicon(xpl1,收,11),align0; drawline(xpd1,收,xx2,收,1),colorred; drawline(xpl1,收,xx,收,1),colorwhite; var1:=vol/capital; var2:=vol/700000000; var3:=if(var1=0,var2,var1); var4:=1.1*(max(high,ref(close,1))/min(low,ref(close,1))-1); var5:=2.5*max(var3,var4); var6:=dma(close,var5); var7:=sma(20*(var6/ref(var6,1)-1),2,1); var8:=ema(var7,2); 白观望:stickline(var8>=0.003 and ma(c,34)>ref(ma(c,34),1) and ma(c,8)<ref(ma(c,8),1),0.0,10,10,0),linethick4 ,colorwhite ; 红进:stickline(var8>=0.003 and ma(c,34)>ref(ma(c,34),1) and ma(c,8)>ref(ma(c,8),1),0.0,10,4,1),linethick5 ,colorred ; 红进进:stickline(var8>=0.003 and ma(c,34)<ref(ma(c,34),1) and ma(c,8)>ref(ma(c,8),1),0.0,5,10,0),linethick4,colormagenta; stickline(between(var8,0.003,-0.003),0.0,5,6,0),linethick4,colorwhite ; 绿退:stickline(var8<=-0.003,0.0,0,10,0),linethick3 ,colorgreen;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文k线提示简述使用方法公式下载 飞狐使用方法源码指标 源码仅供学习研究。