趋势交易通道
//{趋势交易通道}
{趋势交易通道优化加文字版}
drawgbk((date > 0),colorrgb(40,40,173),colorrgb(1,1,14),1);
上轨:sma(amount/vol/100,13,1)*1.15,coloryellow,linethick3;
m1:ma(close,1);
m8:ma(close,8);
下轨:sma(amount/vol/100,13,1)*0.85,colorff,linethick3;
fillrgn(m1>m8, m1,m8),color00aadd;
fillrgn(m1<m8, m1,m8),colorgreen;
//www.goodgongshi.com
多空:=open;
drawtext(barpos=sysparam(2),high,'欢迎您使用{{趋势交易通道}(主图)}(飞狐源码)')align4,coloryellow;
stickline(close>多空,high,low,0.5,0),colorff;
stickline(close>多空 and close>open,open,close,8,0),color102088;
stickline(close>多空 and close>open,open,close,7,0),color102099;
stickline(close>多空 and close>open,open,close,6,0),color1020aa;
stickline(close>多空 and close>open,open,close,5,0),color1020bb;
stickline(close>多空 and close>open,open,close,4,0),color1020cc;
stickline(close>多空 and close>open,open,close,3,0),color1020dd;
stickline(close>多空 and close>open,open,close,2,0),color1020ee;
stickline(close>多空 and close>open,open,close,1,0),color1020ff;
stickline(close>多空 and close<open,open,open,8,0),color102088;
stickline(close>多空 and close<open,open,open,7,0),color102099;
stickline(close>多空 and close<open,open,open,6,0),color1020aa;
stickline(close>多空 and close<open,open,open,5,0),color1020bb;
stickline(close>多空 and close<open,open,open,4,0),color1020cc;
stickline(close>多空 and close<open,open,open,3,0),color1020dd;
stickline(close>多空 and close<open,open,open,2,0),color1020ee;
stickline(close>多空 and close<open,open,open,1,0),color1020ff;
stickline(close<多空,high,low,0.5,0),colorff8800;
stickline(close<多空 and close<open,open,close,8,0),colorff7700;
stickline(close<多空 and close<open,open,close,7,0),colorff8800;
stickline(close<多空 and close<open,open,close,6,0),colorff9900;
stickline(close<多空 and close<open,open,close,5,0),colorffaa00;
stickline(close<多空 and close<open,open,close,4,0),colorffbb00;
stickline(close<多空 and close<open,open,close,3,0),colorffcc00;
stickline(close<多空 and close<open,open,close,2,0),colorffdd00;
stickline(close<多空 and close<open,open,close,1,0),colorffee00;
stickline(close<多空 and close>open,open,open,8,0),colorff7700;
stickline(close<多空 and close>open,open,open,7,0),colorff8800;
stickline(close<多空 and close>open,open,open,6,0),colorff9900;
stickline(close<多空 and close>open,open,open,5,0),colorffaa00;
stickline(close<多空 and close>open,open,open,4,0),colorffbb00;
stickline(close<多空 and close>open,open,open,3,0),colorffcc00;
stickline(close<多空 and close>open,open,open,2,0),colorffdd00;
stickline(close<多空 and close>open,open,open,1,0),colorffee00;
stickline(close=多空,open,close,8,0),colorffff00;
stickline(close=多空,high,low,0.5,0),colorffff00;
多:ema(c,3),coloryellow,linethick0;
空:ema(c,5),color00ff00,linethick0;
均衡:ema(空,5),colorwhite,linethick0;
varf1:=count(cross(多,均衡),2)=1;
varf2:=count(cross(空,均衡),2)=1;
zai:=filter(varf1 and varf2,2);
drawtext(zai,均衡,' 短线'),colorff00ff;
vv2:=ref(close,1);
vv3:=sma((close-vv2),6,1)/sma(abs(close-vv2),6,1)*100;
drawicon(ref(vv3,1)>81 and vv3<80,high,2);
drawtext(ref(vv3,1)>81 and vv3<80,high,' 沽空'),coloryellow;
vf1:=ma(close,60)-ma(close,5)/3.2;
drawtext(if(close<vf1 and vol/240>ma(vol,5)/240 and close>=ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0),low,'☆'),colorred;
vara:=(close-ref(open,29))/ref(open,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
drawtext(if(vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)=llv(low,120),1,0),low,' 买入');
varr1:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;
drawicon(cross(82,varr1),high,2);
drawtext(cross(82,varr1),high,' 短空'),coloryellow;
var1:=(high+low+open+2*close)/5;
var2:=ref(var1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
hy3:=if(count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0);
drawtext(hy3,low,' 买入'),colorred;
s:=ma(vol,5)/ma(vol,60),colorred,linethick2;
a:=ma(s,5),colorgreen,,linethick2;
bias:=(close-ma(close,5))/ma(close,5)*100;
f:=ma(s,121);
rsv:=(close-llv(low,45))/(hhv(high,45)-llv(low,45))*100;
k:=sma(rsv,15,1);
d:=sma(k,15,1);
j:=3*k-2*d;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,' 逃顶'),coloryellow ;
s1:=if((j<11 and bias>-11 and cross( s,f) and (s-f)>0.010),2,0),stick,linethick3,colorgreen;
drawtext(s1=2,low,' 关注'), colorgreen;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势交易通道优化加文字版公式下载 飞狐趋势交易指标 源码仅供学习研究。