hj_1:=strcat(hyblock,1);
hj_2:=strcat(hj_1,dyblock);
hj_3:=strcat(hj_2,1);
drawtext_fix(islastbar,0,0,0,strcat(hj_3,gnblock)),colorred;
notextma1:ma(close,m1),colorwhite;
notextma2:ma(close,m2),colormagenta;
notextma3:ma(close,m3),colorcyan;
notextma4:ma(close,m4),colorgreen;
hj_4:=ref(close,1);
hj_5:=ref(high,8)=hhv(high,2*8+1);
hj_6:=ref(low,8)=llv(low,2*8+1);
hj_7:=backset(hj_5,8+1);
hj_8:=backset(hj_6,8+1);
hj_9:=filter(hj_7,8) and high=hhv(high,8+1);
hj_10:=filter(hj_8,8) and low=llv(low,8+1);
hj_11:=barslast(hj_9);
hj_12:=barslast(hj_10);
hj_13:=if(hj_9,currbarscount,0);
hj_14:=if(hj_10,currbarscount,0);
hj_15:=if(hj_11,ref(hj_13,hj_11),hj_13);
hj_16:=if(hj_12,ref(hj_14,hj_12),hj_14);
hj_17:=const(hj_15);
hj_18:=const(hj_16);
hj_19:=const(ref(high,hj_17-1));
hj_20:=const(ref(low,hj_18-1));
hj_21:=ref(hj_15,hj_11+1);
hj_22:=ref(hj_16,hj_12+1);
hj_23:=const(hj_21);
hj_24:=const(hj_22);
hj_25:=const(ref(high,hj_21-1));
hj_26:=const(ref(low,hj_22-1));
hj_27:=backset(islastbar,hj_17);
hj_28:=backset(islastbar,hj_18);
hj_29:=backset(islastbar,hj_21);
hj_30:=backset(islastbar,hj_22);
hj_31:=intpart(3*8/5);
hj_32:=ref(high,hj_31)=hhv(high,2*hj_31+1);
hj_33:=backset(hj_32,hj_31+1);
hj_34:=filter(hj_33,hj_31) and high=hhv(high,hj_31+1);
hj_35:=barslast(hj_34);
hj_36:=if(hj_34,currbarscount,0);
hj_37:=if(hj_35,ref(hj_36,hj_35),hj_36);
hj_38:=const(hj_37);
hj_39:=ref(hj_37,hj_35+1);
hj_40:=const(hj_39);
hj_41:=ref(low,hj_31)=llv(low,2*hj_31+1);
hj_42:=backset(hj_41,hj_31+1);
hj_43:=filter(hj_42,hj_31) and low=llv(low,hj_31+1);
hj_44:=barslast(hj_43);
hj_45:=if(hj_43,currbarscount,0);
hj_46:=if(hj_44,ref(hj_45,hj_44),hj_45);
hj_47:=const(hj_46);
hj_48:=ref(hj_46,hj_44+1);
hj_49:=const(hj_48);
hj_50:=ref(high,5)=hhv(high,2*5+1);
hj_51:=filter(hj_50,5);
hj_52:=backset(hj_51,5+1);
hj_53:=filter(hj_52,5);
hj_54:=backset(islastbar,barslast(hj_53)+1);
hj_55:=hj_54>ref(hj_54,1);
hj_56:=ref(low,5)=llv(low,2*5+1);
hj_57:=filter(hj_56,5);
hj_58:=backset(hj_57,5+1);
hj_59:=filter(hj_58,5);
hj_60:=backset(islastbar,barslast(hj_59)+1);
hj_61:=hj_60>ref(hj_60,1);
hj_62:=10;
hj_63:=10;
hj_64:=ref(high,hj_62)=hhv(high,2*hj_62+1);
hj_65:=backset(hj_64,hj_62+1);
hj_66:=filter(hj_65,hj_62) and high=hhv(high,hj_62+1);
hj_67:=barslast(hj_66);
hj_68:=if(hj_66,currbarscount,0);
hj_69:=if(hj_67,ref(hj_68,hj_67),hj_68);
hj_70:=const(hj_69);
hj_71:=ref(hj_69,hj_67+1);
hj_72:=const(hj_71);
hj_73:=ref(low,hj_63)=llv(low,2*hj_63+1);
hj_74:=backset(hj_73,hj_63+1);
hj_75:=filter(hj_74,hj_63) and low=llv(low,hj_63+1);
hj_76:=barslast(hj_75);
hj_77:=if(hj_75,currbarscount,0);
hj_78:=if(hj_76,ref(hj_77,hj_76),hj_77);
hj_79:=const(hj_78);
hj_80:=ref(hj_78,hj_76+1);
hj_81:=const(hj_80);
hj_82:=backset(islastbar,sumbars(vol,capital));
hj_83:=hj_82>ref(hj_82,1);
notext1上:drawline(currbarscount=hj_40,high,currbarscount=hj_38,high,1),colorgray;
notext1下:drawline(currbarscount=hj_49,low,currbarscount=hj_47,low,1),colorgray;
notext1:if(hj_29,hj_25,drawnull),pointdot,colorligray;
notext2:if(hj_27,hj_19,drawnull),pointdot,colorligray;
notext3:if(hj_30,hj_26,drawnull),pointdot,colorligray;
notext4:if(hj_28,hj_20,drawnull),pointdot,colorligray;
高压:drawline(currbarscount=hj_72,high,currbarscount=hj_70,high,1),colormagenta;
低撑:drawline(currbarscount=hj_81,low,currbarscount=hj_79,low,1),colormagenta;
短压:drawline(hj_53,high,hj_55,high,1),coloryellow;
短撑:drawline(hj_59,low,hj_61,low,1),coloryellow;
hj_84:=ma(ma(close,3),1);
轨道:ma(ma(close,3),3),color32cd32,linethick2;
notext_升:if(hj_84>=轨道,轨道,drawnull),colormagenta,linethick2;
涨家数:indexadv,nodraw,colorred;
跌家数:indexdec,nodraw,colorcyan;
流通市值:finance(40)/100000000,nodraw,colorred;
流通亿股:finance(7)/100000000,nodraw,color0080ff;
日成交亿:amount/100000000,nodraw,colormagenta;
净买额:(dynainfo(23)-dynainfo(22))*close/1000000,nodraw,colorred;
买卖比:dynainfo(23)/dynainfo(22),nodraw,colorwhite;
hj_85:=if(period=16,0.03,if(period=15,0.03,if(period=14,0.006,if(period=11,0.02,if(period=10,0.02,if(period=9,0.02,if(period=8,0.002,if(period=7,0.05,if(period=6,0.03,if(period=5,0.018,if(period=4,0.005,if(period=3,0.004,if(period=2,0.003,if(period=1,0.0015,if(period=0,0.0012,0)))))))))))))));
hj_86:=ma(close,5);
hj_87:=ma(close,10);
hj_88:=ref(high,5)=hhv(high,11);
hj_89:=ref(low,5)=llv(low,11);
hj_90:=backset(hj_88,6)>backset(hj_88,5);
hj_91:=backset(hj_89,6)>backset(hj_89,5);
hj_92:=if(barslast(hj_90)=barslast(hj_91) and hj_86>hj_87,hj_90,if(barslast(hj_91)>barslast(hj_90),hj_90,0));
hj_93:=if(barslast(hj_90)=barslast(hj_91) and hj_87>hj_86,hj_91,if(barslast(hj_90)>barslast(hj_91),hj_91,0));
hj_94:=hj_92 and high=hhv(high,barslast(hj_93));
hj_95:=hj_93 and low=llv(low,barslast(hj_92));
hj_96:=if(hj_94,high,drawnull);
hj_97:=if(hj_95,low,drawnull);
hj_98:=low>ref(high,1) and day!=ref(day,1);
hj_99:=high<ref(low,1) and day!=ref(day,1);
hj_100:=ref(low,barslast(hj_98));
hj_101:=ref(high,barslast(hj_99));
hj_102:=ref(high,barslast(hj_94));
hj_103:=ref(low,barslast(hj_94));
hj_104:=ref(high,barslast(hj_94)+1);
hj_105:=ref(low,barslast(hj_94)+1);
hj_106:=ref(high,barslast(hj_94)+2);
hj_107:=ref(low,barslast(hj_94)+2);
hj_108:=ref(high,barslast(hj_95));
hj_109:=ref(low,barslast(hj_95));
hj_110:=ref(high,barslast(hj_95)+1);
hj_111:=ref(low,barslast(hj_95)+1);
hj_112:=ref(high,barslast(hj_95)+2);
hj_113:=ref(low,barslast(hj_95)+2);
hj_114:=if(hj_103<=hj_105,hj_106,hj_104);
hj_115:=if(hj_104<hj_103,hj_103,if(hj_103<=hj_105,hj_107,hj_105));
hj_116:=if(hj_111>hj_108,hj_108,if(hj_108>=hj_110,hj_112,hj_110));
hj_117:=if(hj_108>=hj_110,hj_113,hj_111);
hj_118:=hj_102>hj_116 and hj_94;
hj_119:=hj_109<hj_115 and hj_95;
hj_120:=hj_118 and hj_102>hj_108 and hj_103>hj_109 and hj_105>hj_109;
hj_121:=hj_119 and hj_109<hj_103 and hj_108<hj_102 and hj_110<hj_102;
hj_122:=high<=ref(high,1) and low>=ref(low,1) or (high>=ref(high,1) and low<=ref(low,1));
hj_123:=count(hj_122,barslast(hj_95));
hj_124:=count(hj_122,barslast(hj_94));
hj_125:=count(hj_98,barslast(hj_95));
hj_126:=count(hj_99,barslast(hj_94));
hj_127:=if(hj_123>0,hj_123+2+笔,if(hj_124,hj_124+2+笔,3));
hj_128:=if(hj_125,hj_127-hj_125,if(hj_126,hj_127-hj_126,hj_127));
hj_129:=hj_120 and barslast(hj_121)>hj_128;
hj_130:=hj_121 and barslast(hj_120)>hj_128;
hj_131:=hj_94 and ref(high,barslast(hj_94))>=ref(high,barslast(hj_129)) and barslast(hj_130)>barslast(hj_129) or (hj_118 and count(hj_98,barslast(hj_119))>0 and ref(high,barslast(hj_118))>ref(high,barslast(hj_129)));
hj_132:=hj_95 and ref(low,barslast(hj_95))<=ref(low,barslast(hj_130)) and barslast(hj_129)>barslast(hj_130) or (hj_119 and count(hj_99,barslast(hj_118))>0 and ref(low,barslast(hj_119))<ref(high,barslast(hj_130)));
hj_133:=if(barslast(hj_132)>barslast(hj_131),ref(high,barslast(hj_131)),ref(high,barslast(hj_132)));
hj_134:=if(barslast(hj_131)>barslast(hj_132),ref(low,barslast(hj_132)),ref(low,barslast(hj_131)));
hj_135:=hj_131 and high=hhv(hj_133,barslast(hj_132)+1) and high>ref(high,1) and barslast(hj_132)>barslast(hj_131);
hj_136:=hj_53 and low=llv(hj_134,barslast(hj_131)+1) and low<ref(low,1) and barslast(hj_131)>barslast(hj_132);
hj_137:=hj_135 or (hj_94 and ref(high,barslast(hj_94))>ref(high,barslast(hj_135)) and barslast(hj_136)>barslast(hj_135));
hj_138:=hj_136 or (hj_95 and ref(low,barslast(hj_95))<ref(low,barslast(hj_136)) and barslast(hj_135)>barslast(hj_136));
notext高点:if(hj_129,high,drawnull),pointdot,colorgreen,linethick4;
notext低点:if(hj_130,low,drawnull),pointdot,coloryellow,linethick4;
notext上:drawline(hj_130,low,hj_129,high,0),colorgray;
notext下:drawline(hj_129,high,hj_130,low,0),color888888;
hj_139:=barslast(hj_129);
hj_140:=barslast(hj_130);
drawnumber(hj_130,low,hj_139),coloryellow;
drawnumber(hj_129,high+high*hj_85,hj_140),colorgreen;
drawnumber(islastbar,if(barslast(hj_129)>barslast(hj_130),low,high+high*hj_85),min(hj_139,hj_140)),colormagenta;
{-----------------------------------}
上一指标公式:零滞后MACDX公式 通达信滞后
下一指标公式:呯凡牛股启动公式 通达信牛股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文撑压系统公式 通达信系统仅供学习研究。