{公式名称: zgl分时主图
公式描述: zgl分时主图}
var1:=close>ref(close,4);
var2:=barslastcount(var1);
var3:=var2=9;
var4:=islastbar and between(var2,1,8);
var5:=(backset(var3>0,9) or backset(var4>0,var2))*var2;
drawtext(var5>0,high*1.02,var2str(var5,0)),colormagenta;
drawnumber(var2=9,high*1.02,9),colorgreen;
var6:=close<ref(close,4);
var7:=barslastcount(var6);
var8:=var7=9;
var9:=islastbar and between(var7,1,8);
var10:=(backset(var8>0,9) or backset(var9>0,var7))*var7;
drawtext(var10>0,low*0.98,var2str(var10,0)),colormagenta;
drawnumber(var7=9,low*0.98,9),colorgreen;
var11:=const(ma2.ma1#day);
var12:=const(ma2.ma2#day);
var13:=const(ma2.ma3#day);
var14:=const(ma2.ma4#day);
var15:=const(ma2.ma5#day);
var16:=const(ma2.ma6#day);
var17:=const(ma2.ma7#day);
var18:=(-0.015);
var19:=0.015;
var20:=dynainfo(3);
var21:=(var20-var11)/var20;
var22:=(var20-var12)/var20;
var23:=(var20-var13)/var20;
var24:=(var20-var14)/var20;
var25:=(var20-var15)/var20;
var26:=(var20-var16)/var20;
var27:=(var20-var17)/var20;
var28:=(-0.02);
var29:=0.02;
var30:=dynainfo(5);
var31:=(var30-var11)/var30;
var32:=(var30-var12)/var30;
var33:=(var30-var13)/var30;
var34:=(var30-var14)/var30;
var35:=(var30-var15)/var30;
var36:=(var30-var16)/var30;
var37:=(var30-var17)/var30;
压力5:if(range(var21,0,var19)=1 or range(var31,0,var29)=1,var11,drawnull),colorgreen;
支撑5:if(range(var21,var18,0)=1 or range(var31,var28,0)=1,var11,drawnull),colormagenta;
压力10:if(range(var22,0,var19)=1 or range(var32,0,var29)=1,var12,drawnull),colorgreen;
支撑10:if(range(var22,var18,0)=1 or range(var32,var28,0)=1,var12,drawnull),colormagenta;
压力20:if(range(var23,0,var19)=1 or range(var33,0,var29)=1,var13,drawnull),colorgreen;
支撑20:if(range(var23,var18,0)=1 or range(var33,var28,0)=1,var13,drawnull),colormagenta;
压力30:if(range(var24,0,var19)=1 or range(var34,0,var29)=1,var14,drawnull),colorgreen;
支撑30:if(range(var24,var18,0)=1 or range(var34,var28,0)=1,var14,drawnull),colormagenta;
压力60:if(range(var25,0,var19)=1 or range(var35,0,var29)=1,var15,drawnull),colorgreen;
支撑60:if(range(var25,var18,0)=1 or range(var35,var28,0)=1,var15,drawnull),colormagenta;
压力120:if(range(var26,0,var19)=1 or range(var36,0,var29)=1,var16,drawnull),colorgreen;
支撑120:if(range(var26,var18,0)=1 or range(var36,var28,0)=1,var16,drawnull),colormagenta;
压力250:if(range(var27,0,var19)=1 or range(var37,0,var29)=1,var17,drawnull),colorgreen;
支撑250:if(range(var27,var18,0)=1 or range(var37,var28,0)=1,var17,drawnull),colormagenta;
var38:=const(ma2.ma1#week);
var39:=const(ma2.ma2#week);
var40:=const(ma2.ma3#week);
var41:=const(ma2.ma4#week);
var42:=const(ma2.ma5#week);
var43:=const(ma2.ma6#week);
var44:=const(ma2.ma7#week);
var45:=(var30-var38)/var30;
var46:=(var30-var39)/var30;
var47:=(var30-var40)/var30;
var48:=(var30-var41)/var30;
var49:=(var30-var42)/var30;
var50:=(var30-var43)/var30;
var51:=(var30-var44)/var30;
var52:=(var20-var38)/var20;
var53:=(var20-var39)/var20;
var54:=(var20-var40)/var20;
var55:=(var20-var41)/var20;
var56:=(var20-var42)/var20;
var57:=(var20-var43)/var20;
var58:=(var20-var44)/var20;
压力250z:if(range(var58,0,var19)=1 or range(var51,0,var29)=1,var44,drawnull),colorwhite;
支撑250z:if(range(var58,var18,0)=1 or range(var51,var28,0)=1,var44,drawnull),coloryellow;
压力120z:if(range(var57,0,var19)=1 or range(var50,0,var29)=1,var43,drawnull),colorwhite;
支撑120z:if(range(var57,var18,0)=1 or range(var50,var28,0)=1,var43,drawnull),coloryellow;
压力60z:if(range(var56,0,var19)=1 or range(var49,0,var29)=1,var42,drawnull),colorwhite;
支撑60z:if(range(var56,var18,0)=1 or range(var49,var28,0)=1,var42,drawnull),coloryellow;
压力30z:if(range(var55,0,var19)=1 or range(var48,0,var29)=1,var41,drawnull),colorwhite;
支撑30z:if(range(var55,var18,0)=1 or range(var48,var28,0)=1,var41,drawnull),coloryellow;
压力20z:if(range(var54,0,var19)=1 or range(var47,0,var29)=1,var40,drawnull),colorwhite;
支撑20z:if(range(var54,var18,0)=1 or range(var47,var28,0)=1,var40,drawnull),coloryellow;
压力10z:if(range(var53,0,var19)=1 or range(var46,0,var29)=1,var39,drawnull),colorwhite;
支撑10z:if(range(var53,var18,0)=1 or range(var46,var28,0)=1,var39,drawnull),coloryellow;
压力5z:if(range(var52,0,var19)=1 or range(var45,0,var29)=1,var38,drawnull),colorwhite;
支撑5z:if(range(var52,var18,0)=1 or range(var45,var28,0)=1,var38,drawnull),coloryellow;
var59:=const(dynainfo(3));
dif:5*(ema(close,12)-ema(close,26))+var59,dotline,colormagenta;
dea:ema(dif,9),dotline,colorliblue;
var60:=macd.macd;
var61:=var60>0 and var60<ref(var60,1);
var62:=var60<0 and var60>ref(var60,1);
var63:=sum(close*vol,240)/sum(vol,240);
var64:=(close-var63)/var63;
var65:=var64*100;
stickline(var64>0,dynainfo(3),dynainfo(3)*(1+var64),0.5,0),colorred;
stickline(var64<0,dynainfo(3),dynainfo(3)*(1+var64),0.5,0),colorgreen;
drawnumber(islastbar,close*1.005,const(var65)),colormagenta;
var66:=var65>1;
var67:=var65<(-1);
var68:=100-100*(hhv(high,12)-close)/(hhv(high,12)-llv(low,12));
var69:=ref(var68,1)>95;
var70:=ref(var68,1)<5;
var71:=ref(var68,1)=100 and var68<100;
var72:=ref(var68,1)=0 and var68>0;
var73:=ma(close,5)>0;
var74:=winner(close)*100;
drawnumber(islastbar,close,const(winner(close)*100)),colorgreen;
var75:=ref(var74,1)>95 and var74<ref(var74,1) and ref(var74,1)>ref(var74,2);
var76:=ref(var74,1)<5 and var74>ref(var74,1) and ref(var74,1)<ref(var74,2);
drawnumber(islastbar,close*0.995,const(dynainfo(13)*100)),coloryellow;
var77:=dynainfo(13)*100;
var78:=var77>2;
var79:=llv(low,100);
var80:=hhv(high,250);
var81:=ema((close-var79)/(var80-var79)*4,4);
var82:=0.3;
var83:=3.5;
var84:=ref(var81,1)>3.5;
var85:=ref(var81,1)<0.5;
var86:=(high+low+close)/3;
var87:=(var86-ma(var86,10))/(0.015*avedev(var86,10));
var88:=ref(var87,1)>100;
var89:=ref(var87,1)<(-100);
var90:=close<ref(close,1) and ref(close,1)>ref(close,2) and ref(close,1)=hhv(high,5);
var91:=close>ref(close,1) and ref(close,1)<ref(close,2) and ref(close,1)=llv(low,5);
drawicon(var73 and ref(var74,1)=0 and var74>ref(var74,1) and var65<=(-2),close*0.98,26),colorred;
drawicon(var73 and ref(var74,1)=100 and var74<ref(var74,1) and var65>=2,close*1.02,27),colorgreen;
drawicon(var73 and var70 and var62 and var85 and var76 and var89 and var67 and var91,close*0.99,1),colormagenta;
drawicon(var73 and var69 and var61 and var84 and var75 and var88 and var66 and var90,close*1.01,2),colormagenta;
var92:=if(time<=41400,(time-34200)/60,120+(time-46800)/60);
上一指标公式:最近思路压力划线 转载和谐完全加密 通达信思路加密
下一指标公式:阻力与支撑 副图 通达信支撑源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文ZGL分时主图九转分时 转载和谐完全加密 通达信和谐指标仅供学习研究。