drawgbk(2>1,rgb(3,3,3),rgb(3,3,3),0,'bjt',0);
drawkline(high,open,low,close);
{www+8+8+g+s+com}
var1:=(high+low)/2;
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_mx1:ployline(2>1,m1),color505050;
notext_mx3:ployline(2>1,m3),color505050;
notext_mx5:ployline(2>1,m5),color505050;
notext_mx10:ployline(2>1,m10),color505050;
notext_mx15:ployline(2>1,m15),color505050;
notext_mx20:ployline(2>1,m20),color505050;
notext_mx25:ployline(2>1,m25),color505050;
notext_mx30:ployline(2>1,m30),color505050;
notext_mx35:ployline(2>1,m35),color505050;
notext_mx40:ployline(2>1,m40),color505050;
notext_mx45:ployline(2>1,m45),color505050;
notext_mx50:ployline(2>1,m50),color505050;
notext_mx55:ployline(2>1,m55),color505050;
notext_mx60:ployline(2>1,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(2>1,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;{www+8+8+g+s+com}
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((var2 or var3) and close>=open,high,low,0.8,0),colorred;
stickline((var2 or var3) and close>=open,close,open,3,0),colorred;
stickline((var2 or var3) and close<open,high,low,0.8,0),colorgreen;
stickline((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:=xma((hh/ll)*m0+((hh/ll)*m0-m0),10);
dd0:=xma((ll/hh)*m0-(m0-(ll/hh)*m0),10);
notext_up0:if(ref(m0,1)<m0 and not(xx),uu0,drawnull),linethick1,coloraaff56;
notext_down0:if(ref(m0,1)>m0 and not(yy),dd0,drawnull),linethick1,coloraaff56;
uu1:=xma(((hh/ll)*m0)+((hh/ll)*m0-m0)/2,10);
dd1:=xma((ll/hh)*m0-0.5*(m0-(ll/hh)*m0),10);
notext_up1:if(ref(m0,1)>m0,uu1,drawnull),linethick1,coloryellow;
notext_down1:if(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_top:ployline(2>1,uu2),color616161,dotline;
notext_bot:ployline(2>1,dd2),color616161,dotline;
notext_up2:if(ref(m0,1)<m0 and xx,uu2,drawnull),linethick1,colormagenta;
notext_down2:if(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;
notext_dyn:dynainfo(7),coloryellow,dotline;
drawnumber(islastbar=1,dynainfo(7),dynainfo(7)),colorwhite,drawabove;
上一指标公式:校长抓黑马 通达信黑马
下一指标公式:18翻倍 通达信翻倍
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通道2 通达信通道仅供学习研究。