diff:ema(close,10) - ema(close,22),nodraw;
dea :ema(diff,7.5),nodraw;
macd :2*(diff-dea),nodraw;
drawband(diff,rgb(255,157,255),dea,rgb(21,138,255));
stickline(macd>0,0,macd,0.01,0) ,color0000ff;
stickline(macd<0,0,macd,0.01,0) ,colorfff000;
gmb:if(cross(diff,dea) and diff>0,-0.02,drawnull),crossdot,linethick4,color0000ff;
gmc:if(cross(diff,dea) and diff<0,-0.02,drawnull),crossdot,linethick4,color208fff;
趋势:=(5)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1))-(3)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1),3,1))-sma(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1),3,1),2,1);
stickline(趋势<=5,0,macd,0.01,0) ,color208fff;
0,colorffff00,linethick1;
drawicon(cross(diff,dea) and diff>0,dea,36);
drawicon(cross(diff,dea) and diff<0,dea,37);
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
b1:=ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea");
drawtext(filter(b1>0,5),0,'macd'),colorgreen;
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d");
drawtext(filter(b2>0,5),macd,'kdj'),coloryellow;
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(filter(b3>0,5),macd,'rsi'),colorcyan;
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
d1:=ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif");
drawtext(filter(d1>0,5),macd,'macd'),colorwhite;
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k");
drawtext(filter(d2>0,5),macd,'kdj'),colorwhite;
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(filter(d3>0,5),macd,'rsi'),colormagenta;
上一指标公式:顶底雷达无未来函数副图指标详解 通达信源码未来
下一指标公式:一线打天下指标详解 通达信打天下
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MACD加有KDJRSI金死叉提示副图指标详解 通达信提示贴图仅供学习研究。