零轴线:0,coloryellow,linethick3;
a1:=ema(ema(close,7),2)-ema(ema(close,21),2);
b1:=ema((0.668*ref(a1,1)+0.333*a1),1);
短线做多:if(a1>=b1,a1,b1),linethick3,colorff00ff;
短线做空:b1,linethick2,colorffaa00;
stickline(b1<0 and b1<ref(b1,1),b1*0.7,0,0.05,0),colorred;
stickline(b1<0 and b1>ref(b1,1),b1*0.7,0,0.05,0),coloryellow;
stickline(b1>ref(b1,1) and b1>0,b1*0.7,0,0.05,0),colorred;
stickline(b1<ref(b1,1) and b1>0,b1*0.7,0,0.05,0),colorgreen;
lc:=ref(close,1);//www.goodgongshi.com
rsi1:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;
rsi2:=sma(max(close-lc,0),3,1)/sma(abs(close-lc),3,1)*100;
rsi3:=sma(max(close-lc,0),4,1)/sma(abs(close-lc),4,1)*100;
rsi4:=sma(max(close-lc,0),5,1)/sma(abs(close-lc),5,1)*100;
rsi5:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
rsi6:=sma(max(close-lc,0),7,1)/sma(abs(close-lc),7,1)*100;
rsi7:=sma(max(close-lc,0),8,1)/sma(abs(close-lc),8,1)*100;
rsi8:=sma(max(close-lc,0),9,1)/sma(abs(close-lc),9,1)*100;
rsi9:=sma(max(close-lc,0),10,1)/sma(abs(close-lc),10,1)*100;
rsi10:=sma(max(close-lc,0),11,1)/sma(abs(close-lc),11,1)*100;
rsi11:=sma(max(close-lc,0),12,1)/sma(abs(close-lc),12,1)*100;
rsi12:=sma(max(close-lc,0),13,1)/sma(abs(close-lc),13,1)*100;
rsi13:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;
rsi14:=sma(max(close-lc,0),15,1)/sma(abs(close-lc),15,1)*100;
rsi15:=sma(max(close-lc,0),16,1)/sma(abs(close-lc),16,1)*100;
rsi16:=sma(max(close-lc,0),17,1)/sma(abs(close-lc),17,1)*100;
rsi17:=sma(max(close-lc,0),18,1)/sma(abs(close-lc),18,1)*100;
rsi18:=sma(max(close-lc,0),19,1)/sma(abs(close-lc),19,1)*100;
rsi19:=sma(max(close-lc,0),20,1)/sma(abs(close-lc),20,1)*100;
rsi21:=sma(max(close-lc,0),21,1)/sma(abs(close-lc),21,1)*100;
短线rsi:=(rsi1+rsi2+rsi3+rsi4+rsi5)/5,colorwhite;
中线rsi:=(rsi6+ rsi7+ rsi8+ rsi9+ rsi10+ rsi11+ rsi12+ rsi13+ rsi14+ rsi15+ rsi16+ rsi17+ rsi18+ rsi19+ rsi21)/15,coloryellow;
a:=cross(短线rsi,中线rsi);
b:=cross(中线rsi,短线rsi);
drawicon(a and 短线做多>短线做空,短线做多+0.05,1);
drawicon(b and 短线做多<=短线做空,短线做多-0.05,2);
上一指标公式:TDS收获时节TSH指标下载 同花顺收获TDS
下一指标公式:单峰突破TSH指标下载 同花顺突破
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文短线做多做空TSH版指标下载 同花顺做多仅供学习研究。