自在买卖对macd再优化副图指标
diff1:ema(c,13) - ema(c,34),color00ffff ;
dea1:ema(ema(c,13) - ema(c,34),12) ;
if(ema(c,13) - ema(c,34) >= ema(ema(c,13) - ema(c,34) ,12),ema(c,13) - ema(c,34) ,drawnull),colorred;
if((ema(c,13) - ema(c,34) - ema(ema(c,13) - ema(c,34) ,12) ) * 1000/ema(c,15) > 0 and (ema(c,13) - ema(c,34) - ema(ema(c,13) - ema(c,34) ,12) ) * 1000/ema(c,15) < 1.85,ema(c,13) - ema(c,34),drawnull),colorgreen;
if(ema(c,13) - ema(c,34) < ema(ema(c,13) - ema(c,34) ,12) or ema(c,13) - ema(c,34) > ema(ema(c,13) - ema(c,34) ,12) and ref(ema(c,13) - ema(c,34) ,1) < ref(ema(ema(c,13) - ema(c,34) ,12) ,1),ema(c,13) - ema(c,34) ,drawnull),color00ff00;
drawband(diff1,rgb(64,0,64),dea1,rgb(57,58,66));
diff:=ema(c,13)-ema(c,21),nodraw;
dea:=ema(diff,5);
macd:=2*(diff-dea);
回吐:if(dea>0,dea,0),colorffffff,nodraw;
回补:if(dea<0,dea,0),color00ffff,nodraw;
持币:if(diff<0,diff,0),colorff0000,nodraw;
持股:if(diff>0,diff,0),color0000ff,nodraw;
zg:=hhvbars(diff,89)+1;
hh:ref(diff,barssince(backset(islastbar,zg))),coloraaaa77,linethick2;
zd:=llvbars(diff,89)+1;{好公式网-最好的股票公式网站 www.goodgongshi.com}
ll:ref(diff,barssince(backset(islastbar,zd))),coloraa77aa,linethick2;
drawnumber(islastbar,hh+0.03,zg),color00aa00;
drawnumber(islastbar,ll+0.05,zd),color0000aa;
drawnumber(currbarscount=11 and diff,hh+0.03,hh);
drawnumber(currbarscount=11 and diff,ll+0.05,ll);
stickline((dea>0),0,dea,2.5,0),coloraaaaaa;
stickline((dea>0),0,dea,1.8,0),colorcccccc;
stickline((dea>0),0,dea,1,0),colordddddd;
stickline((dea>0),0,dea,0.2,0),colorffffff;
stickline(dea<0,0,dea,2.5,0),color0064aa;
stickline(dea<0,0,dea,1.8,0),color0093cc;
stickline(dea<0,0,dea,1,0),color00c2dd;
stickline(dea<0,0,dea,0.2,0),color00ffff;
stickline(diff<0,0,diff,2.5,0),coloraa1100;
stickline(diff<0,0,diff,1.8,0),coloraa3300;
stickline(diff<0,0,diff,1,0),coloraa5500;
stickline(diff<0,0,diff,0.2,0),coloraa7700;
stickline(diff>0,0,diff,2.5,0),color0000aa;
stickline(diff>0,0,diff,1.8,0),color0000cc;
stickline(diff>0,0,diff,1,0),color0000dd;
stickline(diff>0,0,diff,0.2,0),color0000ff;
drawtext(ref(diff<0 and diff<dea,1) and diff<0 and diff>dea ,dea-0.1,"回"),color00ffff;
drawtext(ref(diff<0 and diff<dea,1) and diff<0 and diff>dea ,dea-0.2,"补"),color00ffff;
drawtext(cross(diff>0,0.5) ,diff+0.2,"买"),color0000ff;
drawtext(cross(diff>0,0.5) ,diff+0.1,"入"),color0000ff;
drawtext(ref(diff>0 and diff>dea,1) and diff>0 and diff<dea ,dea+0.2,"回"),colorffffff;
drawtext(ref(diff>0 and diff>dea,1) and diff>0 and diff<dea ,dea+0.1,"吐"),colorffffff;
drawicon(cross(ema(c,13) - ema(c,34) >= ema(ema(c,13) - ema(c,34) ,12),0.5),ema(ema(c,13) - ema(c,34) ,12) ,5);
drawicon(cross(ema(ema(c,13) - ema(c,34) ,12) >=ema(c,13) - ema(c,34) ,0.5),ema(ema(c,13) - ema(c,34) ,12) ,6);
上一指标公式:精确波段副图下载
下一指标公式:叼王主图帮你找到长线启动点指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自在买卖对MACD再优化副图指标下载仅供学习研究。