date0:=1181231;
dd:=1<=date0;
drawgbk(2>1,rgb(3,3,3),rgb(3,3,3),0,'bjt',0);
drawkline(high,open,low,close);
最新价:dynainfo(7),coloryellow,dotline;
var1:=if(dd,(high+low)/2,0);
m1:=var1,color505050;
m3:=xma(var1,3),color505050;
m5:=xma(var1,5),color505050;
m10:=xma(var1,10),color505050;
m15:=xma(var1,15),color505050;
m20:=xma(var1,20),color505050;
m25:=xma(var1,25),color505050;
m30:=xma(var1,30),color505050;
m35:=xma(var1,35),color505050;
m40:=xma(var1,40),color505050;
m45:=xma(var1,45),color505050;
m50:=xma(var1,50),color505050;
m55:=xma(var1,55),color505050;
m60:=xma(var1,60),colorwhite,linethick1,dotline;
notext_ztx1:ployline(dd,m1),color505050;
notext_ztx3:ployline(dd,m3),color505050;
notext_ztx5:ployline(dd,m5),color505050;
notext_ztx10:ployline(dd,m10),color505050;
notext_ztx15:ployline(dd,m15),color505050;
notext_ztx20:ployline(dd,m20),color505050;
notext_ztx25:ployline(dd,m25),color505050;
notext_ztx30:ployline(dd,m30),color505050;
notext_ztx35:ployline(dd,m35),color505050;
notext_ztx40:ployline(dd,m40),color505050;
notext_ztx45:ployline(dd,m45),color505050;
notext_ztx50:ployline(dd,m50),color505050;
notext_ztx55:ployline(dd,m55),color505050;
notext_ztx60:ployline(dd,m60),colorwhite,linethick1,dotline;
m0:=(m3+m5+m10+m15+m20+m25+m30+m35+m40+m45+m50+m55+m60)/13,coloryellow,dotline,linethick1;
n0:=(m1+m3+m5)/3,nodraw;
notext_mx0:ployline(dd,m0),colora9a9a9,linethick2;
uar1:=m1>m3 and m1>m5 and m1>m10 and m1>m15 and m1>m20 and m1>m25 and m1>m30 and m1>m35 and m1>m40 and m1>m45 and m1>m50 and m1>m55 and m1>m60 and m3>m5 and m3>m10 and m3>m15 and m3>m20 and m3>m25 and m3>m30;
uar2:=m3>m35 and m3>m40 and m3>m45 and m3>m50 and m3>m55 and m3>m60 and m5>m10 and m5>m15 and m5>m20 and m5>m25 and m5>m30 and m5>m35 and m5>m40 and m5>m45 and m5>m50 and m5>m55 and m5>m60 and m10>m15 and m10>m20 and m10>m25 and m10>m30 and m10>m35 and m10>m40 and m10>m45 and m10>m50 and m10>m55 and m10>m60;
uar3:=m15>m20 and m15>m25 and m15>m30 and m15>m35 and m15>m40 and m15>m45 and m15>m50 and m15>m55 and m15>m60 and m20>m25 and m20>m30 and m20>m35 and m20>m40 and m20>m45 and m20>m50 and m20>m55 and m20>m60 and m25>m30 and m25>m35 and m25>m40 and m25>m45 and m25>m50 and m25>m55 and m25>m60 and m30>m35 and m30>m40;
uar4:=m30>m45 and m30>m50 and m30>m55 and m30>m60 and m35>m40 and m35>m45 and m35>m50 and m35>m55 and m35>m60 and m40>m45 and m40>m50 and m40>m55 and m40>m60 and m45>m50 and m45>m55 and m45>m60 and m50>m55 and m50>m60 and m55>m60;
var2:=uar1 and uar2 and uar3 and uar4;
uar11:=m1<m3 and m1<m5 and m1<m10 and m1<m15 and m1<m20 and m1<m25 and m1<m30 and m1<m35 and m1<m40 and m1<m45 and m1<m50 and m1<m55 and m1<m60 and m3<m5 and m3<m10 and m3<m15 and m3<m20 and m3<m25 and m3<m30;
uar22:=m3<m35 and m3<m40 and m3<m45 and m3<m50 and m3<m55 and m3<m60 and m5<m10 and m5<m15 and m5<m20 and m5<m25 and m5<m30 and m5<m35 and m5<m40 and m5<m45 and m5<m50 and m5<m55 and m5<m60 and m10<m15 and m10<m20;
uar33:=m10<m25 and m10<m30 and m10<m35 and m10<m40 and m10<m45 and m10<m50 and m10<m55 and m10<m60 and m15<m20 and m15<m25 and m15<m30 and m15<m35 and m15<m40 and m15<m45 and m15<m50 and m15<m55 and m15<m60 and m20<m25;
uar44:=m20<m30 and m20<m35 and m20<m40 and m20<m45 and m20<m50 and m20<m55 and m20<m60 and m25<m30 and m25<m35 and m25<m40 and m25<m45 and m25<m50 and m25<m55 and m25<m60 and m30<m35 and m30<m40 and m30<m45 and m30<m50;
uar55:=m30<m55 and m30<m60 and m35<m40 and m35<m45 and m35<m50 and m35<m55 and m35<m60 and m40<m45 and m40<m50 and m40<m55 and m40<m60 and m45<m50 and m45<m55 and m45<m60 and m50<m55 and m50<m60 and m55<m60;
var3:=uar11 and uar22 and uar33 and uar44 and uar55;
stickline(dd and (var2 or var3) and close>=open,high,low,0.8,0),colorred;
stickline(dd and (var2 or var3) and close>=open,close,open,3,0),colorred;
stickline(dd and (var2 or var3) and close<open,high,low,0.8,0),colorgreen;
stickline(dd and (var2 or var3) and close<open,close,open,3,0),colorgreen;
hh:=(high+xma(high,3)+xma(high,5)+xma(high,10)+xma(high,15)+xma(high,20)+xma(high,25)+xma(high,30)+xma(high,35)+xma(high,40)+xma(high,45)+xma(high,50)+xma(high,55)+xma(high,60))/14;
ll:=(low+xma(low,3)+xma(low,5)+xma(low,10)+xma(low,15)+xma(low,20)+xma(low,25)+xma(low,30)+xma(low,35)+xma(low,40)+xma(low,45)+xma(low,50)+xma(low,55)+xma(low,60))/14;
xx:=m15>m20 and m15>m25 and m15>m30 and m15>m35 and m15>m40 and m15>m45 and m15>m50 and m15>m55 and m15>m60 and m20>m25 and m20>m30 and m20>m35 and m20>m40 and m20>m45 and m20>m50 and m20>m55 and m20>m60 and m25>m30 and m25>m35 and m25>m40 and m25>m45 and m25>m50 and m25>m55 and m25>m60 and m30>m35 and m30>m40 and m30>m45 and m30>m50 and m30>m55 and m30>m60 and m35>m40 and m35>m45 and m35>m50 and m35>m55 and m35>m60 and m40>m45 and m40>m50 and m40>m55 and m40>m60 and m45>m50 and m45>m55 and m45>m60 and m50>m55 and m50>m60 and m55>m60;
yy:=m15<m20 and m15<m25 and m15<m30 and m15<m35 and m15<m40 and m15<m45 and m15<m50 and m15<m55 and m15<m60 and m20<m25 and m20<m30 and m20<m35 and m20<m40 and m20<m45 and m20<m50 and m20<m55 and m20<m60 and m25<m30 and m25<m35 and m25<m40 and m25<m45 and m25<m50 and m25<m55 and m25<m60 and m30<m35 and m30<m40 and m30<m45 and m30<m50 and m30<m55 and m30<m60 and m35<m40 and m35<m45 and m35<m50 and m35<m55 and m35<m60 and m40<m45 and m40<m50 and m40<m55 and m40<m60 and m45<m50 and m45<m55 and m45<m60 and m50<m55 and m50<m60 and m55<m60;
uu0:=(hh/ll)*m0+((hh/ll)*m0-m0);
dd0:=(ll/hh)*m0-(m0-(ll/hh)*m0);
notext_up0:if(dd and ref(m0,1)<m0 and not(xx),uu0,drawnull),linethick1,coloraaff56;
notext_down0:if(dd and ref(m0,1)>m0 and not(yy),dd0,drawnull),linethick1,coloraaff56;
uu1:=((hh/ll)*m0)+((hh/ll)*m0-m0)/2;
dd1:=(ll/hh)*m0-0.5*(m0-(ll/hh)*m0);
notext_up1:if(dd and ref(m0,1)>m0,uu1,drawnull),linethick1,coloryellow;
notext_down1:if(dd and ref(m0,1)<m0,dd1,drawnull),linethick1,coloryellow;
uu2:=((hh/ll)*m0)+((hh/ll)*m0-m0)*1.5,dotline,color616161;
dd2:=(ll/hh)*m0-1.5*(m0-(ll/hh)*m0),dotline,color616161;
notext_uu21:ployline(dd,uu2),dotline,color616161;
notext_dd21:ployline(dd,dd2),dotline,color616161;
notext_up2:if(dd and ref(m0,1)<m0 and xx,uu2,drawnull),linethick1,colormagenta;
notext_down2:if(dd and ref(m0,1)>m0 and yy,dd2,drawnull),linethick1,colorff8000;
notext_up20:if(var2,uu2,drawnull),colorgreen,linethick2;
notext_down20:if(var3,dd2,drawnull),colorred,linethick2;
top_day:zk009.notext_top#day,linethick1,colorff00ff,linethick0;
bot_day:zk009.notext_bot#day,colorwhite,linethick0;
drawtext(currbarscount=10,top_day,'日');
drawtext(currbarscount=10,bot_day,'日');
top_week:zk009.notext_top#week,linethick3,color4080ff;
bot_week:zk009.notext_bot#week,linethick3,coloryellow;
drawtext(currbarscount=10,top_week,'周');
drawtext(currbarscount=10,bot_week,'周');
top_month:zk009.notext_top#month,linethick1,dotline,colorred;
bot_month:zk009.notext_bot#month,linethick1,dotline,colorgreen;
{www-8、8、g、s-com}
drawtext(currbarscount=10,top_month,'月');
drawtext(currbarscount=10,bot_month,'月');
notext_qs:if(dd,m0-ref(m0,1),drawnull),nodraw;
上一指标公式:18翻倍 通达信翻倍
下一指标公式:可以添加到主图的 小 通达信到主图添加
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通道 通达信通道仅供学习研究。