趋势通道,有未来
粗的黄线和红线代表中期策略,黄线出现代表中期趋势向下,红线出现代表中期趋势向上,操作你可以选择红线上进出.
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf>9.8,o,c,2,0),colorred;
stickline(zdf<-9.8,o,c,2,0),colorblue;
var6q:=ref(close,1);
var7q:=sma(max(close-var6q,0),6,1)/sma(abs(close-var6q),6,1)*100;
drawtext(cross(84,var7q),h*1.03,'逃顶'),coloryellow ;
var3p:=if(close/ref(close,1)>1.050 and high/close<1.010 and if(close>ref(close,1),88,0)>0, 91, 0);
drawicon(var3p>90,l*0.99,1);
var51:=ema(amount/vol/100,3);
var52:=ema(var51,88);
var53:=ema(var51,88)*0.85;
var54:=var53*0.87;
var55:=low<var54 and close>ref(close,1)*1.02;
drawtext(filter(var55,6),low+0.1,'坚决●买进'), coloryellow;
aa:=cross(ma(c,5),ma(c,20)) and cross(ma(c,5),ma(c,30)) and cross(ma(c,5),ma(c,60));
bb:=ma(c,60)>ma(c,10) and cross(ma(c,10),ma(c,30)) and ma(c,30)>ma(c,20) and abs(ma(c,60)-ma(c,20))/ma(c,20)<0.05;
cc:=ma(c,30)>ma(c,5) and cross(ma(c,5),ma(c,20)) and ma(c,20)>ma(c,10), coloryellow;
dd:=abs((ma(c,5)-ma(c,10))+(ma(c,10)-ma(c,20))+(ma(c,20)-ma(c,30)))<0.02 and ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1);
ee:=ma(c,20)>ma(c,5) and cross(ma(c,5),ma(c,10)) and ma(c,10)>ma(c,60) and abs(ma(c,20)-ma(c,60))/ma(c,60)<0.05;
ff:=aa or bb or cc or dd or ee ;
drawtext(ff,l*0.99,'庄影'),coloryellow;
stickline(ff,h,l,0.5,0),coloryellow;
n1:=7;
lc:=ref(close,1);
x:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*100,coloryellow,linethick1;
魔鬼:=drawline(x>=hhv(x,n1),x,x<=llv(x,n1),x,1),color00ff00;
魔王:=drawline(x>=hhv(x,n1),x,x<=llv(x,n1),1,x),color00ff00;
tj00:=x=魔王;
tj11:=x=魔鬼;
tj22:=x<ref(x,1);
tj33:=x>ref(1,x);
jrs1:=drawicon(tj11 and tj22,x,1);
jrs2:=drawicon(tj00 and tj33,x,2);
drawicon(filter(jrs1>0,1),l*0.97,5);
drawicon(filter(jrs2>0,1),h*1.02,6);
k:=(c+h+l)/3;
d:=ma(k,4);
drawicon(ref(c,1)<d and c>d and d<ref(d,1),l*0.98,20);
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawicon(filter(买=1,5),l*0.95,25);
获利了结:ema(ema(ema(high,5),5),5)*1.15,colorffffff,linethick1;
风险: ema(ema(ema(high,5),5),5)*1.1,coloryellow;
回档: ema(ema(ema(high,5),5),5)*1.05,color00ff00;
平衡: ema(ema(ema(high,5),5),5),colorff00ff,linethick1;
反弹: ema(ema(ema(high,5),5),5)*0.95,colorgray,linethick1;
超跌: ema(ema(ema(high,5),5),5)*0.9,colorblue,linethick1;
ma6:=ma(close,5)colorwhite;
ma12:=ma(close,12),pointdot;
ma33:=ma(close,33),color00ffff,linethick2;
drawtext(cross(ma(c,6),ma(c,12)),ma(c,6),'○'),linethick2, coloryellow;
drawtext(cross(ma(c,12),ma(c,33)),ma(c,12),'◎'),linethick2, colorlired;
xx:=l<反弹 and c>反弹 ;
drawtext(xx,反弹*0.98,'回踩'),coloryellow ;
n:=if(barscount(c)>=48,48,barscount(c));
amov:=vol*(c+l+h)/3;
mn:=sum(amov,n)/sum(vol,n);
notext16:if(c>=mn,mn,drawnull),linethick3,colorred;
notext17:if(c<mn,mn,drawnull),linethick3,coloryellow;
上一指标公式:大牛买卖主图指标详解 通达信公式大牛
下一指标公式:放量打拐版加图指标详解 通达信源码通达信
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势通道主图有用法说明指标详解 通达信源码通道仅供学习研究。