m5:ma(close,m),coloryellow;//
m10:=ma(close,10),colormagenta;//
close1:close,colorwhite;
low1:=low,colorwhite;
low144:llv(low,144),colorlimagenta;
hhv21:hhv(close,34),colorlimagenta;
//drawicon(cross(close1,m5),m5,1);/////
//drawicon(cross(m5,close1),m5,2);/////
t1:barslast(cross(close1,m5)),nodraw;
t2:barslast(cross(m5,close1)),nodraw;
t3:if(t2=0,low144,0),nodraw;//www.goodgongshi.com
drawtext(t2>=n and t1=0,low144*0.98,"b"),colorred;
drawtext(close1=hhv21,hhv21*1.02,"s"),colorgreen;
//verline(t2>=n and t1=0,1),coloryellow;//画加仓建仓垂线
//verline(cross(close,m5),1),colorgreen;//画加仓建仓垂线
drawnumber(t2>=n and t1=0,low144*0.90,tostring(llv(low,n),2));
bt1:barslast(t2>=n and t1=0),nodraw;
bt2:barslast(cross(close1,m5)),nodraw;
//drawnumber(t2>=n and t1=0,low1*0.98,tostring(c-llv(l,n),2));
//drawnumber(bt1 and bt2=0,low1*0.98,tostring(c-llv(l,n),2));
//polyline(cross(close1,m5),ref(l,1)),coloryellow;
stickline(m5-c>0,m5,c,8,1),colorgreen ;
stickline(m5-c<0,m5,c,8,1),colorred ;
h:=high,colorred;//www.goodgongshi.com
drawtext(o-c<0 and o>ref(high,1) and o>c,hhv21*1.02,"h"),colorgreen;
drawtext(o-c>0 and o>ref(high,1) and o>c,hhv21*1.02,"h"),colorgreen;
drawtext((high-close)>(close-low) and high>ref(high,1) and high/ref(close,1)>1.05,hhv21*1.06,"长剑在天"),coloryellow ;
//verline((o-c<0 and o>ref(high,1) and o>c),1),colorgreen;
//verline((o-c>0 and o>ref(high,1) and o>c),1) ,colorgreen;
//verline((high-close)>(close-low) and high>ref(high,1) and high/ref(close,1)>1.05,1),colorgreen;//画加仓建仓垂线
//跌破平台收阳低点
a1:=low144<ref(low144,1);
a2:=open<close;
//verline(a1 and a2,1),colorlimagenta;//画加仓建仓垂线
//verline(cross(indexc,ma(indexc,m)),2),colorlimagenta;//画加仓建仓垂线
//verline(cross(ma(indexc,m),indexc),2),colorligreen;//画加仓建仓垂线
drawicon(cross(indexc,ma(indexc,5)),low144*0.98,5);
drawicon(cross(ma(indexc,5),indexc),low144*0.98,6);
//////////////////////////////////////////////////////////////////////////////////////////////////////
ema1:=ema(close,13);//www.goodgongshi.com
ema2:=ema(close,34),colorred;
ema3:=ema(close,55),colorcyan;
var11:=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);
var12:=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);
var13:=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);
var14:=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);
var15:=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);
var16:=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);
var17:=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);
var18:=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);
买:=(var11+var13+var15+var17);
卖:=(var12+var14+var16+var18);
drawtext(买>0,low-0.1,'必进'),coloryellow,;
drawtext(卖>0,hhv21*1.05,'清仓'),colorgreen,;
//drawtext(cross(ema1,ema3),low-0.1,'x'),colorred,;
//drawtext(cross(ema3,ema1),high+0.2,'x'),colorgreen,;
//drawtext(cross(ema1,ema2),low-0.1,'x'),colorred,;
//drawtext(cross(ema2,ema1),high+0.2,'x'),colorgreen,;
//drawtext(cross(ema2,ema3),low-0.1,'x'),colorred,;
//drawtext(cross(ema3,ema2),high+0.2,'x'),colorgreen,;
b:=troughbars(3,5,1)=0;
e:=peakbars(3,5,1)=0;
drawicon(b,low-0.1,1);///////
drawicon(e,high,2);/////////
//drawnumber(e,high+(h*0.1),tostring(h,2));//画数字
//drawnumber(b,low-(l*0.1),tostring(c,2));//画数字
//突破:ref(ema(c,14),1),coloryellow;
突破:ref(ema(c,21),1),colorcyan;
a1x:=(ema(c,10)-突破)/突破*100;
多方:=if(a1x>=0,ref(ema(c,10),barslast(cross(a1x,0))+1),drawnull);
空方:=if(a1x<0,ref(ema(c,10),barslast(cross(0,a1x))+1),drawnull);
//stickline(a1x>=0,多方,突破,0,0),color000099;//柱线
//stickline(a1x<0,空方,突破,0,0),color00cc66;//柱线
均价线:=sum(c*v,240)/sum(v,240),colormagenta;
新价:=close,colorwhite;
x:=新价-突破;
stickline(x>=0 and close>m5,m5,突破,1,0),colorred;//柱线
stickline(x>=0 and close<m5,突破,close,1,0),colorcyan;//柱线
//stickline(x>=0 and close<m5 and close>open,突破,close,1,0),colorred;//柱线
stickline(x<0 and close<m5,突破,m5,1,0),colorcyan;//柱线
//stickline(x<0 and close<m5 and close>open,突破,m5,1,0),colorred;//柱线
stickline(x<0 and close>m5,突破,close,1,0),colorred;//柱线
stickline(x<0 and 买>0,close,m5,8,1),colorred;//柱线
stickline(x<0 and 买>0,m5,突破,1,0),colorred;//柱线
//stickline(x<0,突破,m5,1,0),colorcyan;//柱线
//drawicon(cross(新价,突破),新价,1);////////
//drawicon(cross(突破,新价),突破,2);////////
////////////////////////////////////////////////////////////////////////////////////////////
//威廉指标
wr:=100*(hhv(high,m1)-close)/(hhv(high,m1)-llv(low,m1));
b:=cross(m2,wr);
s:=(cross(wr,m2)) or (cross(wr,m3));
bm:=barslast(b);
sm:=barslast(s);
bm1:=if(bm[1]=-1 and b,1,if(bm[1]!=-1 and sm[1]!=-1 and bm[1]>sm[1] and b and b[1]=0,1,0));
sm1:=if(sm[1]=-1 and bm[1]!=-1 and s,1,if( sm[1]!=-1 and bm[1]!=-1 and sm[1]>bm[1] and s and s[1]=0,1,0));
//drawtext(bm1>0,突破*1.02,'w'),coloryellow;
//drawtext(sm1>0,突破*1.02,'w'),colorgreen;
上一指标公式:KD点通公式下载 同花顺点通
下一指标公式:超级买卖点公式下载 同花顺卖点
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文KQY长剑指天公式下载 同花顺剑指仅供学习研究。