macd分时均价线和分时线主图修订版主图指标源码下载:
{年月日}
da:=year and month and day;
aa1:=strcat(con2str(year,0),'年');
aa2:=strcat(con2str(month,0),'月');
aa3:=strcat(con2str(day,0),'日');
aa4:=strcat('【',if(weekday=1,'一',if(weekday=2,'二',if(weekday=3,'三',if(weekday=4,'四',if
(weekday=5,'五',if(weekday=6,'六','日')))))));
aa:=strcat(strcat(strcat(aa1,aa2),strcat(aa3,aa4)),'】');
drawtext_fix(da and fromopen<=120,0.88,0,0,aa),colorblue;
drawtext_fix(da and fromopen>120,0,0,0,aa),colorblue;
{分时macd}
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=2*(dif-dea);
x:=const(hhv(abs(c-dynainfo(3)),fromopen))/const(hhv(abs(dif),fromopen))*0.6;
di:dif*x+dynainfo(3),colorcc00cc;
de:dea*x+dynainfo(3),color00dd00;
mac:=macd*x;
stickline(mac>0,dynainfo( 3),mac+dynainfo( 3),0,1),colorred;
stickline(mac<0,dynainfo( 3),mac+dynainfo( 3),0,1),colorcyan;
{高点直线}
v1:=time;
t:=if(v1<130000,(floor(v1/10000)-9.5)*60+(floor(v1/100)-100*floor(v1/10000)),
(floor(v1/10000)-11)*60+(floor(v1/100)-100*floor(v1/10000))),nodraw;
kp30:=t<240;{好公式网-最好的股票公式网站 www.goodgongshi.com}
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
hhhh:ref(h,gdsj),coloryellow,pointdot,linethick1;
{低点直线}
vq1:=time;
tq:=if(vq1<130000,(floor(v1/10000)-9.5)*60+(floor(vq1/100)-100*floor(vq1/10000)),
(floor(vq1/10000)-11)*60+(floor(vq1/100)-100*floor(vq1/10000))),nodraw;
kpq30:=tq<240;
kpgdq:=l=llv(l,0) and kpq30;
gdsjq:=barslast(kpgdq);
hhhhq:ref(l,gdsjq),colorcc00cc,pointdot,linethick1;
{分时均价线和分时线}
最新:close,colorwhite;
aqa:=sum(amount,barscount(c))/sum(vol*100,barscount(c));
drawtext( islastbar and 最新>ref(最新,1),最新,strcat(' 涨▲',con2str(最新,2))),colormagenta;
drawtext( islastbar and 最新<ref(最新,1),最新,strcat(' 跌▼',con2str(最新,2))),color00ff00;
均价:sum(v*c,0)/sum(v,0),colorgreen,linethick1;
if(均价<=ref(均价,1),均价,drawnull),colorgreen,linethick3;
if(均价>=ref(均价,1),均价,drawnull),coloryellow,linethick3;
drawtext(currbarscount=8,均价,'均'),coloryellow,linethick3;
drawnumber(currbarscount=1,均价,均价),coloryellow,linethick3;
{板块概念}
drawtext_fix(1 and fromopen<=120,0.5,0,0,dyblock),colorwhite;
drawtext_fix(1 and fromopen<=120,0.55,0,0,hyblock),coloryellow;
drawtext_fix(1 and fromopen<=120,0.6,0,0,gnblock),coloryellow;
drawtext_fix(1 and fromopen>120,0.12,0,0,dyblock),colorwhite;
drawtext_fix(1 and fromopen>120,0.17,0,0,hyblock),coloryellow;
drawtext_fix(1 and fromopen>120,0.21,0,0,gnblock),coloryellow;
上一指标公式:通达信准时监控买卖点副图附效果图指标下载
下一指标公式:通达信自动画浪主图附效果图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MACD分时均价线和分时线主图修订版主图指标下载仅供学习研究。