可以添加到主图的 小公式:
drawgbk(2>1,rgb(3,3,3),rgb(3,3,3),0,'bjt',0);
cc1:=codelike('a') or codelike('b') or codelike('c') or codelike('d') or codelike('e') or codelike('f') or codelike('g') or codelike('h') or codelike('i') or codelike('j') or codelike('k') or codelike('l') or codelike('m');
cc2:=codelike('n') or codelike('o') or codelike('p') or codelike('q') or codelike('r') or codelike('s') or codelike('t') or codelike('u') or codelike('v') or codelike('w') or codelike('x') or codelike('y') or codelike('z');
cc:=cc1 or cc2 or codelike('11108') or codelike('11803') or codelike('119693');
var1:=if(cc,(high+low)/2,drawnull);
m1:=if(cc,var1,drawnull),color505050;
m3:=if(cc,xma(var1,3),drawnull),color505050;
m5:=if(cc,xma(var1,5),drawnull),color505050;
m10:=if(cc,xma(var1,10),drawnull),color505050;
m15:=if(cc,xma(var1,15),drawnull),color505050;
m20:=if(cc,xma(var1,20),drawnull),color505050;
m25:=if(cc,xma(var1,25),drawnull),color505050;
m30:=if(cc,xma(var1,30),drawnull),color505050;
m35:=if(cc,xma(var1,35),drawnull),color505050;
m40:=if(cc,xma(var1,40),drawnull),color505050;
m45:=if(cc,xma(var1,45),drawnull),color505050;
m50:=if(cc,xma(var1,50),drawnull),color505050;
m55:=if(cc,xma(var1,55),drawnull),color505050;
m60:=if(cc,xma(var1,60),drawnull),colorwhite,linethick1,dotline;
m0:=if(cc,(m3+m5+m10+m15+m20+m25+m30+m35+m40+m45+m50+m55+m60)/13,drawnull),coloryellow,dotline,linethick1;
n0:=if(cc,(m1+m3+m5)/3,drawnull),nodraw;
notext_mx0:=ployline(cc,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;
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:=if(cc,xma((hh/ll)*m0+((hh/ll)*m0-m0),10),drawnull);
dd0:=if(cc,xma((ll/hh)*m0-(m0-(ll/hh)*m0),10),drawnull);
uu1:=if(cc,xma(((hh/ll)*m0)+((hh/ll)*m0-m0)/2,10),drawnull);
dd1:=if(cc,xma((ll/hh)*m0-0.5*(m0-(ll/hh)*m0),10),drawnull);
uu2:=if(cc,xma(((hh/ll)*m0)+((hh/ll)*m0-m0)*1.5,10),drawnull),dotline,color616161;
dd2:=if(cc,xma((ll/hh)*m0-1.5*(m0-(ll/hh)*m0),10),drawnull),dotline,color616161;
drawband(uu2,rgb(55,55,55),dd2,rgb(20,20,20));
notext_top:ployline(cc,uu2),color616161,dotline,linethick0;
notext_bot:ployline(cc,dd2),color616161,dotline,linethick0;
notext_up2:if(cc and ref(m0,1)<m0 and xx,uu2,drawnull),linethick2,colormagenta;
notext_down2:if(cc and ref(m0,1)>m0 and yy,dd2,drawnull),linethick2,colorff8000;
notext_up20:if(cc and var2,uu2,drawnull),colorgreen,linethick2;
notext_down20:if(cc and var3,dd2,drawnull),colorred,linethick2;
notext_up1:if(cc and ref(m0,1)>m0,uu1,drawnull),linethick1,coloryellow,color808080;
notext_down1:if(cc and ref(m0,1)<m0,dd1,drawnull),linethick1,coloryellow,color808080;
notext_up0:if(cc and ref(m0,1)<m0 and not(xx),uu0,drawnull),linethick1,color0080ff,color808080;
notext_down0:if(cc and ref(m0,1)>m0 and not(yy),dd0,drawnull),linethick1,color0080ff,color808080;
notext_mx1:ployline(cc,m1),color505050;
notext_mx3:ployline(cc,m3),color505050;
notext_mx5:ployline(cc,m5),color505050;
notext_mx10:ployline(cc,m10),color505050;
notext_mx15:ployline(cc,m15),color505050;
notext_mx20:ployline(cc,m20),color505050;
notext_mx25:ployline(cc,m25),color505050;
notext_mx30:ployline(cc,m30),color505050;
notext_mx35:ployline(cc,m35),color505050;
notext_mx40:ployline(cc,m40),color505050;
notext_mx45:ployline(cc,m45),color505050;
notext_mx50:ployline(cc,m50),color505050;
notext_mx55:ployline(cc,m55),color505050;
notext_mx60:ployline(cc,m60),color909090,linethick1,dotline;
drawkline(high,open,low,close);
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;
最新价move4:if(cc,dynainfo(7),drawnull),coloryellow,dotline,linethick1;
{drawrectrel(855.8,0.1,990,177,rgb(0,0,0)),colorred;}
drawrectrel(855.8,0.1,990,0.1,rgb(218,165,32));
drawrectrel(855.8,177,990,177,rgb(218,165,32));
drawrectrel(855.8,0.1,855.8,177,rgb(218,165,32));
drawrectrel(990,0.1,990,177,rgb(218,165,32));
drawrectrel(855.8,26,990,26,rgb(218,165,32));
drawrectrel(855.8,86,990,86,rgb(218,165,32));
drawrectrel(907,0.1,907,177,rgb(218,165,32));
drawtext_fix(2>1,0.86,0,0,stkname);
drawtext_fix(2>1,0.93,0,0,code);
drawtext_fix(2>1,0.86,0.03,0,' 最 新 价'),colorc0c0c0;
drawnumber_fix(dynainfo(7)>open,0.93,0.03,0,dynainfo(7)),colorgreen;
drawnumber_fix(dynainfo(7)=open,0.93,0.03,0,dynainfo(7)),colorwhite;
drawnumber_fix(dynainfo(7)<open,0.93,0.03,0,dynainfo(7)),colorred;
drawtext_fix(2>1,0.86,0.06,0,' 涨 跌 幅'),colorc0c0c0;
drawtext_fix(2>1,0.96,0.06,0,'%');
drawnumber_fix(2>1,0.93,0.06,0,dynainfo(14)*100),colorc0c0c0;
drawtext_fix(2>1,0.86,0.09,0,' 开 盘 价'),colorc0c0c0;
drawnumber_fix(dynainfo(4)>ref(close,1),0.93,0.09,0,dynainfo(4)),colorred;
drawnumber_fix(dynainfo(4)<ref(close,1),0.93,0.09,0,dynainfo(4)),colorgreen;
drawnumber_fix(dynainfo(4)=ref(close,1),0.93,0.09,0,dynainfo(4)),colorc0c0c0;
drawtext_fix(2>1,0.86,0.12,0,' 最 高 价'),colorc0c0c0;
drawnumber_fix(2>1,0.93,0.12,0,dynainfo(5)),colorc0c0c0;
drawtext_fix(2>1,0.86,0.15,0,' 最 低 价'),colorc0c0c0;
drawnumber_fix(2>1,0.93,0.15,0,dynainfo(6)),colorc0c0c0;
上一指标公式:通道 通达信通道
下一指标公式:MACD 自用 通达信自用
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文可以添加到主图的 小 通达信到主图添加仅供学习研究。