macd金叉费数标注及逐次选股指标(副图 通达信 贴图)舍得老师精品之作,零上、零下金叉选股源码下载:
dif:ema(close,12)-ema(close,26);
dea:ema(dif,9);
macd:(dif-dea)*2,colorstick;
stickline(macd<ref(macd,1) and macd>0,0,macd,0,0),colorbrown;
stickline(macd>ref(macd,1) and macd<0,0,macd,0,0),colorlired;
dif升:if(dif>ref(dif,1),dif,drawnull),colorred,linethick1;
jccount1:=count(cross(dif,dea),barslast(dea>=0));
零下金叉:cross(dif,dea) and dif<0.0 and count(jccount1=1,21)=1,nodraw,colorgreen;
stickline(零下金叉,0,dea,0.0,0),colorgreen;
drawtext(零下金叉,dea/2,' 零下一'),colorgreen;
零下二次:cross(dif,dea) and dea<0 and count(jccount1=2,21)=1,nodraw,colorgreen;
stickline(零下二次,0,dea,0.0,0),,colorgreen;
drawtext(零下二次,dea/2,' 零下二'),colorgreen;
零下三次:cross(dif,dea) and dea<0 and count(jccount1=3,21)=1,nodraw,colorgreen;
stickline(零下三次,0,dea,0.0,0),colorgreen;
drawtext(零下三次,dea/2,' 零下三'),colorgreen;
零下四次:=cross(dif,dea) and dea<0 and count(jccount1=4,21)=1,nodraw,colorgreen;
stickline(零下四次,0,dea,0.0,0),,colorgreen;
drawtext(零下四次,dea/2,' 零下四'),colorgreen;
零下五次:=cross(dif,dea) and dea<0 and count(jccount1=5,21)=1,nodraw,colorgreen;
stickline(零下五次,0,dea,0.0,0),colorgreen;
drawtext(零下五次,dea/2,' 零下五'),colorgreen;
jccount2:=count(cross(dif,dea),barslast(dea<=0));
零上金叉:cross(dif,dea) and dif>0.0 and count(jccount2=1,21)=1,nodraw,colormagenta;
stickline(零上金叉,0,dea,0.0,0),colormagenta;
drawtext(零上金叉,dea/2,'零上一 '),colormagenta;
零上二次:cross(dif,dea) and dea>0 and count(jccount2=2,21)=1,nodraw,,colormagenta;
stickline(零上二次,0,dea,0.0,0),colormagenta;
drawtext(零上二次,dea/2,' 零上二'),colormagenta;
零上三次:cross(dif,dea) and dea>0 and count(jccount2=3,21)=1,nodraw,colormagenta;
stickline(零上三次,0,dea,0.0,0),colormagenta;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
drawtext(零上三次,dea/2,' 零上三'),colormagenta;
零上四次:=cross(dif,dea) and dea>0 and count(jccount2=4,21)=1,nodraw,colormagenta;
stickline(零上四次,0,dea,0.0,0),colormagenta;
drawtext(零上四次,dea/2,' 零上四'),colormagenta;
零上五次:=cross(dif,dea) and dea>0 and count(jccount2=5,21)=1,nodraw,colormagenta;
stickline(零上五次,0,dea,0.0,0),colormagenta;
drawtext(零上五次,dea/2,' 零上五'),colormagenta;
a1:=barslast(ref(cross(dif,dea),1));
底背离:=ref(close,a1+1)>close and dif>ref(dif,a1+1) and cross(dif,dea) and dea<0;
stickline(底背离,0,0.03,3,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick4;
drawtext(底背离,dea,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,dif),1));
顶背离:=ref(close,a2+1)<close and ref(dif,a2+1)>dif and cross(dea,dif);
顶背:drawline(a2=0,dea,顶背离,dea,0),colorgreen,linethick2;
drawtext(顶背离,dea,' 顶背离'),colorgreen;
drawtext(零下金叉 and 零下二次 and 底背离,0.25,'三全项'),color0000ff,linethick2;
{费数}
jc:=cross(dif,dea),nodraw;
tj:=sumbars(jc,1),nodraw;
sc:=cross(dea,dif),nodraw;
ts:=sumbars(sc,1),nodraw;
f:=0.1;
drawtext(jc,-f,'1'),colormagenta;
drawtext(tj=3 and macd>0,-f,'3'),colormagenta;
drawtext(tj=5 and macd>0,-f,'5'),colormagenta;
drawtext(tj=8 and macd>0,-f,'8'),colormagenta;
drawtext(tj=13 and macd>0,-f,'13'),colormagenta;
drawtext(tj=21 and macd>0,-f,'21'),colormagenta;
drawtext(tj=34 and macd>0,-f,'34'),colormagenta;
drawtext(tj=55 and macd>0,-f,'55'),colormagenta;
drawtext(sc,f,'1'),colorgreen;
drawtext(ts=3 and macd<0,f,'3'),colorgreen;
drawtext(ts=5 and macd<0,f,'5'),colorgreen;
drawtext(ts=8 and macd<0,f,'8'),colorgreen;
drawtext(ts=13 and macd<0,f,'13'),colorgreen;
drawtext(ts=21 and macd<0,f,'21'),colorgreen;
drawtext(ts=34 and macd<0,f,'34'),colorgreen;
drawtext(ts=55 and macd<0,f,'55'),colorgreen;
零上第一次金叉选股
零上第二次金叉选股
零上第三次金叉选股
零下第一次金叉选股
零下第二次金叉选股
零下第三次金叉选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MACD金叉费数标注及逐次选股指标(副图 通达信 贴图)舍得老师精品之作,零上、零下金叉选股下载仅供学习研究。