好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式封牛撑压 通达信封牛撑压

封牛撑压 通达信封牛撑压

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-05-28 22:07:21
  • 指标公式标签:封牛撑压
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:封牛撑压 通达信封牛撑压

hj_1:=7;
hj_2:=7;
hj_3:=10;
drawgbk(close>0,rgb(1,1,1),rgb(1,1,1),0,0,1);
平均成本:cost(50),colorred;
hj_4:=0;
hj_5:=0;
hj_6:=(3*close+low+open+high)/6;
hj_7:=if(close<500 and setcode<=2,0,(20*hj_6+19*ref(hj_6,1)+18*ref(hj_6,2)+17*ref(hj_6,3)+16*ref(hj_6,4)+15*ref(hj_6,5)+14*ref(hj_6,6)+13*ref(hj_6,7)+12*ref(hj_6,8)+11*ref(hj_6,9)+10*ref(hj_6,10)+9*ref(hj_6,11)+8*ref(hj_6,12)+7*ref(hj_6,13)+6*ref(hj_6,14)+5*ref(hj_6,15)+4*ref(hj_6,16)+3*ref(hj_6,17)+2*ref(hj_6,18)+ref(hj_6,20))/210);
hj_8:=if(close<500 and setcode<=2,0,ma(hj_7,5));
主力成本:if(close<500 and setcode<=2,0,(hj_7+hj_8)/2),color0000cc;
drawband(hj_7,rgb(99,0,0),hj_8,rgb(0,99,0));
生命线:cost(80)*0.9998,colorwhite;
hj_9:=low>ref(high,1)+0.001;
hj_10:=barslast(hj_9);
hj_11:=count(low>ref(high,hj_10+1),hj_10+1)=hj_10+1;
hj_12:=cross(backset(hj_11>0 and islastbar,hj_10+1),0.5);
hj_13:=barslast(hj_12);
hj_14:=if(currbarscount<=const(hj_13+1),const(llv(low,hj_13+1)),drawnull);
hj_15:=if(currbarscount<=const(hj_13+1),ref(high,hj_13+1),drawnull);
stickline(currbarscount<=const(hj_13+1),hj_14,hj_15,15,0),colorgray;
hj_16:=high<ref(low,1)-0.001;
hj_17:=barslast(hj_16);
hj_18:=count(high<ref(low,hj_17+1),hj_17+1)=hj_17+1;
hj_19:=cross(backset(hj_18>0 and islastbar,hj_17+1),0.5);
hj_20:=barslast(hj_19);
hj_21:=if(currbarscount<=const(hj_20+1),const(hhv(high,hj_20+1)),drawnull);
hj_22:=if(currbarscount<=const(hj_20+1),ref(low,hj_20+1),drawnull);
stickline(currbarscount<=const(hj_20+1),hj_21,hj_22,15,0),colorgray;
hj_23:=cost(1);
hj_24:=cost(10);
hj_25:=cost(20);
hj_26:=cost(30);
hj_27:=cost(40);
hj_28:=cost(50);
hj_29:=cost(60);
hj_30:=cost(70);
hj_31:=cost(80);
hj_32:=cost(90);
hj_33:=cost(99);
hj_34:=cost(5);
hj_35:=cost(15);
hj_36:=cost(25);
hj_37:=cost(35);
hj_38:=cost(45);
hj_39:=cost(55);
hj_40:=cost(65);
hj_41:=cost(75);
hj_42:=cost(85);
hj_43:=cost(95);
hj_44:=hj_34-hj_23;
hj_45:=hj_24-hj_34;
hj_46:=hj_35-hj_24;
hj_47:=hj_25-hj_35;
hj_48:=hj_36-hj_25;
hj_49:=hj_26-hj_36;
hj_50:=hj_37-hj_26;
hj_51:=hj_27-hj_37;
hj_52:=hj_38-hj_27;
hj_53:=hj_28-hj_38;
hj_54:=hj_39-hj_28;
hj_55:=hj_29-hj_39;
hj_56:=hj_40-hj_29;
hj_57:=hj_30-hj_40;
hj_58:=hj_41-hj_30;
hj_59:=hj_31-hj_41;
hj_60:=hj_42-hj_31;
hj_61:=hj_32-hj_42;
hj_62:=hj_43-hj_32;
hj_63:=hj_33-hj_43;
hj_64:=min(hj_44,min(hj_45,min(hj_46,min(hj_47,min(hj_48,min(hj_49,min(hj_50,min(hj_51,min(hj_52,min(hj_53,min(hj_54,min(hj_55,min(hj_56,min(hj_57,min(hj_58,min(hj_59,min(hj_60,min(hj_61,min(hj_62,hj_63)))))))))))))))))));
hj_65:=if(hj_5=1,0,hj_64);
stickline(hj_65=hj_44,hj_23,hj_34,5,0),colorff8800;
stickline(hj_65=hj_45,hj_24,hj_34,5,0),colorff8800;
stickline(hj_65=hj_46,hj_35,hj_24,5,0),colorff8800;
stickline(hj_65=hj_47,hj_25,hj_35,5,0),colorff8800;
stickline(hj_65=hj_48,hj_36,hj_25,5,0),colorff8800;
stickline(hj_65=hj_49,hj_26,hj_36,5,0),colorff8800;
stickline(hj_65=hj_50,hj_37,hj_26,5,0),colorff8800;
stickline(hj_65=hj_51,hj_27,hj_37,5,0),colorff8800;
stickline(hj_65=hj_52,hj_38,hj_27,5,0),colorff8800;
stickline(hj_65=hj_53,hj_28,hj_38,5,0),colorff8800;
stickline(hj_65=hj_54,hj_39,hj_28,5,0),colorff8800;
stickline(hj_65=hj_55,hj_29,hj_39,5,0),colorff8800;
stickline(hj_65=hj_56,hj_40,hj_29,5,0),colorff8800;
stickline(hj_65=hj_57,hj_30,hj_40,5,0),colorff8800;
stickline(hj_65=hj_58,hj_41,hj_30,5,0),colorff8800;
stickline(hj_65=hj_59,hj_31,hj_41,5,0),colorff8800;
stickline(hj_65=hj_60,hj_42,hj_30,5,0),colorff8800;
stickline(hj_65=hj_61,hj_32,hj_42,5,0),colorff8800;
stickline(hj_65=hj_62,hj_43,hj_32,5,0),colorff8800;
stickline(hj_65=hj_63,hj_33,hj_43,5,0),colorff8800;
hj_66:=if(hj_4=1,0,hj_33-hj_23);
hj_67:=hj_32-hj_29;
hj_68:=hj_31-hj_28;
hj_69:=hj_30-hj_27;
hj_70:=hj_29-hj_26;
hj_71:=hj_28-hj_25;
hj_72:=hj_27-hj_24;
hj_73:=hj_26-hj_23;
stickline(hj_67/hj_66<0.08,hj_32,hj_29,5,0),color004455;
stickline(hj_68/hj_66<0.08,hj_31,hj_28,5,0),color004455;
stickline(hj_69/hj_66<0.08,hj_30,hj_27,5,0),color004455;
stickline(hj_70/hj_66<0.08,hj_29,hj_26,5,0),color004455;
stickline(hj_71/hj_66<0.08,hj_28,hj_25,5,0),color004455;
stickline(hj_72/hj_66<0.08,hj_27,hj_24,5,0),color004455;
hj_74:=hj_32-hj_30;
hj_75:=hj_31-hj_29;
hj_76:=hj_30-hj_28;
hj_77:=hj_29-hj_27;
hj_78:=hj_28-hj_26;
hj_79:=hj_27-hj_25;
hj_80:=hj_26-hj_24;
stickline(hj_74/hj_66<0.05,hj_32,hj_30,5,0),color554400;
stickline(hj_75/hj_66<0.05,hj_31,hj_29,5,0),color554400;
stickline(hj_76/hj_66<0.05,hj_30,hj_28,5,0),color554400;
stickline(hj_77/hj_66<0.05,hj_29,hj_27,5,0),color554400;
stickline(hj_78/hj_66<0.05,hj_28,hj_26,5,0),color554400;
stickline(hj_79/hj_66<0.05,hj_27,hj_25,5,0),color554400;
stickline(hj_80/hj_66<0.05,hj_26,hj_24,5,0),color554400;
hj_81:=ma(close,20);
hj_82:=barslastcount(close<hj_81);
hj_83:=backset((hj_82>=4)*hj_82,hj_82);
hj_84:=barslastcount(close>hj_81);
hj_85:=backset((hj_84>=4)*hj_84,hj_84);
hj_86:=barslastcount(not(hj_83 or hj_85));
hj_87:=barslastcount(ref(hj_83>0,hj_86));
hj_88:=barslastcount(ref(hj_85>0,hj_86));
hj_89:=if(hj_4=1,0,filterx(llv(low,hj_87)=low,hj_87));
hj_90:=if(hj_5=1,0,filterx(hhv(high,hj_88)=high,hj_88));
hj_91:=if(hj_4=1,0,ref(high,barslast(hj_90)));
hj_92:=if(hj_5=1,0,ref(low,barslast(hj_89)));
hj_93:=barslast(hj_87=1);
hj_94:=ref(hj_91,barslast(hj_87));
hj_95:=ref(hj_92,hj_93);
hj_96:=(hj_94-hj_95)*0.191+hj_95;
hj_97:=(hj_94-hj_95)*0.382+hj_95;
hj_98:=(hj_94-hj_95)*0.5+hj_95;
hj_99:=(hj_94-hj_95)*0.618+hj_95;
hj_100:=(hj_94-hj_95)*0.809+hj_95;
hj_101:=hj_94+(hj_94-hj_95)*0.191;
hj_102:=hj_95-(hj_94-hj_95)*0.191;
hj_103:=refdate(hj_95,date);
hj_104:=refdate(hj_97,date);
hj_105:=refdate(hj_99,date);
hj_106:=refdate(hj_94,date);
hj_107:=refdate(hj_101,date);
hj_108:=refdate(hj_102,date);
drawband(hj_103,rgb(68,68,0),hj_108,rgb(68,68,0));
drawband(hj_107,rgb(78,78,0),hj_106,rgb(78,78,0));
hj_109:=if(period=7,7,if(period=6,14,30));
hj_110:=if(period=7,8,if(period=6,16,35));
hj_111:=if(period=7,9,if(period=6,18,40));
hj_112:=if(period=7,10,if(period=6,20,45));
hj_113:=if(period=7,11,if(period=6,22,50));
hj_114:=if(period=7,12,if(period=6,24,55));
hj_115:=ema(close,hj_109);
hj_116:=ema(close,hj_110);
hj_117:=ema(close,hj_111);
hj_118:=ema(close,hj_112);
hj_119:=ema(close,hj_113);
hj_120:=ema(close,hj_114);
hj_121:=if(hj_4=1,0,if(capital>0 and close<500,0,1));
notextm1:if(close>0 and hj_121,hj_115,drawnull),color005500;
notextm2:if(close>0 and hj_121,hj_116,drawnull),color007700;
notextm3:if(close>0 and hj_121,hj_117,drawnull),color009900;
notextm4:if(close>0 and hj_121,hj_118,drawnull),color00bb00;
notextm5:if(close>0 and hj_121,hj_119,drawnull),color00dd00;
notextm6:if(close>0 and hj_121,hj_120,drawnull),colorgreen;
notextm11:if(hj_115>ref(hj_115,1) and hj_121,hj_115,drawnull),color550055;
notextm22:if(hj_116>ref(hj_116,1) and hj_121,hj_116,drawnull),color770077;
notextm33:if(hj_117>ref(hj_117,1) and hj_121,hj_117,drawnull),color990099;
notextm44:if(hj_118>ref(hj_118,1) and hj_121,hj_118,drawnull),colorbb00bb;
notextm55:if(hj_119>ref(hj_119,1) and hj_121,hj_119,drawnull),colordd00dd;
notextm66:if(hj_120>ref(hj_120,1) and hj_121,hj_120,drawnull),colormagenta;
hj_122:=ema(indexc,120)/ema(close,120);
notext大盘:if(close<500 and setcode<=2,(indexc/hj_122+0.812*ref(indexc/hj_122,1)+0.618*ref(indexc/hj_122,2)+0.382*ref(indexc/hj_122,3)+0.191*ref(indexc/hj_122,4))/3.003,drawnull),color008888;
hj_123:=ema(hy_indexc,120)/ema(close,120);
notext行业:if(close<500 and setcode<=2,(hy_indexc/hj_123+0.812*ref(hy_indexc/hj_123,1)+0.618*ref(hy_indexc/hj_123,2)+0.382*ref(hy_indexc/hj_123,3)+0.191*ref(hy_indexc/hj_123,4))/3.003,drawnull),color888888;
hj_124:=(close+0.812*ref(close,1)+0.618*ref(close,2)+0.382*ref(close,3)+0.191*ref(close,4))/3.003;
stickline(hj_124>notext行业 and hj_124>notext大盘,notext行业,notext大盘,0.3,(-1)),colorbb00bb;
stickline(hj_124<notext行业 and hj_124<notext大盘,notext行业,notext大盘,0.3,(-1)),color00bb00;
hj_125:=day!=ref(day,1);
hj_126:=barslast(hj_125)+1;
hj_127:=vol*(close+low+high)/3;
hj_128:=sum(hj_127,hj_126)/sum(vol,hj_126);
hj_129:=sum(amount,hj_126)/sum(vol,hj_126)/100;
hj_130:=if(setcode<=2 and close<500,hj_129,hj_128);
hj_131:=if(hj_125<=const(hj_126),hj_128,drawnull);
hj_132:=ref(hj_131,1)*1.0001;
短线盈损:if(setcode<=2 and close<500,0,hj_132),colordddddd;
hj_133:=const(ma((close-ref(close,1))/ref(close,1),30));
hj_134:=ma(close,1);
hj_135:=sma(sma(hj_134,2,1),2,1);
hj_136:=ma(hj_135,3);
hj_137:=if(cross(hj_89,0.5),1,if(cross(hj_90,0.5),(-1),0));
hj_138:=if(barssince(close>0)<=3 and hj_137=0 and hj_135>hj_136,1,if(barssince(close>0)<=3 and hj_137=0 and hj_135<=hj_136,(-1),hj_137));
hj_139:=ref(hj_138,barslast(hj_138));
hj_140:=zig(3,hj_3);
hj_141:=peak(3,hj_3,1);
hj_142:=trough(3,hj_3,1);
hj_143:=hj_140>ref(hj_140,1);
hj_144:=hj_140<=ref(hj_140,1);
hj_145:=if(hj_4=1,0,ref(hj_139=1,1));
hj_146:=if(hj_5=1,0,ref(hj_139=(-1),1));
hj_147:=if(hj_4=1,0,if(capital>0 and close<500,0,1));
hj_148:=if(hj_147,hj_145,if(period>=5,hj_143,hj_145));
hj_149:=if(hj_147,hj_146,if(period>=5,hj_144,hj_146));
hj_150:=tfilter(cross(hj_148=1,0.5),cross(hj_149=1,0.5),0);
drawicon(hj_150=1,llv(low,2),1);
drawicon(hj_150=2,hhv(high,2),2);
hj_151:=hj_150=1;
hj_152:=if(hj_151,llv(low,2),0);
hj_153:=if(hj_152=0,ref(hj_152,barslast(hj_151)),hj_152);
if(hj_153=ref(hj_153,1),hj_153,drawnull),color00cccc;
hj_154:=hj_150=2;
hj_155:=if(hj_154,hhv(high,2),0);
hj_156:=if(hj_155=0,ref(hj_155,barslast(hj_154)),hj_155);
if(hj_156=ref(hj_156,1),hj_156,drawnull),colorcccc00;
drawicon(filterx(cross(close,hj_156),5),low,26);
drawicon(currbarscount<=60 and filterx(cross(close,hj_107),5),low,26);
hj_157:=barslast(hj_150=1);
止损位:min(ref(close,hj_157),ref(close,hj_157+1)),nodraw,color00cccc;
hj_158:=barslast(hj_150=2);
止盈位:max(ref(close,hj_158),ref(close,hj_158+1)),nodraw,colorcccc00;
if(止盈位=ref(止盈位,1),止盈位,drawnull),dotline,colorcccc00;
if(止损位=ref(止损位,1),止损位,drawnull),dotline,color00cccc;
stickline(hj_148,high,low,0,0),colorred;
stickline(hj_148 and close>open,open,close,2.5,1),colorred;
stickline(hj_148 and close<=open,open,close,2.5,0),colorred;
stickline(hj_149,high,low,0,0),colorgreen;
stickline(hj_149 and close>open,open,close,2.5,1),colorgreen;
stickline(hj_149 and close<=open,open,close,2.5,0),colorgreen;
hj_159:=if((close-ref(close,1))*100/ref(close,1)>=10-0.01*100/ref(open,1),1,0);
stickline(hj_159,open,close,0,0),coloryellow;
hj_160:=(close-ref(close,1))/ref(close,1)*100;
stickline(hj_160<(-9.9),open,close,0.3,0),colorblue;
hj_161:=ref(high,hj_1)=hhv(high,2*hj_1+1);
hj_162:=backset(hj_161,hj_1+1);
hj_163:=filter(hj_162,hj_1) and high=hhv(high,hj_1+1);
hj_164:=if(hj_4=1,0,barslast(hj_163));
hj_165:=if(hj_163,currbarscount,0);
hj_166:=if(hj_164,ref(high,hj_164),high);
hj_167:=if(hj_164,ref(hj_165,hj_164),hj_165);
hj_168:=ref(hj_166,hj_164+1);
hj_169:=const(hj_167);
hj_170:=ref(hj_167,hj_164+1);
hj_171:=const(hj_170);
hj_172:=ref(hj_168,hj_164+1);
hj_173:=if(currbarscount>hj_171,0,1);
hj_174:=drawline(currbarscount=hj_171,high,currbarscount=hj_169,high,1);
压力线:if(hj_174>ref(hj_174,1),drawnull,hj_174),color999900,linethick3;
hj_175:=ref(low,hj_2)=llv(low,2*hj_2+1);
hj_176:=backset(hj_175,hj_2+1);
hj_177:=filter(hj_176,hj_2) and low=llv(low,hj_2+1);
hj_178:=if(hj_5=1,0,barslast(hj_177));
hj_179:=if(hj_177,currbarscount,0);
hj_180:=if(hj_178,ref(low,hj_178),low);
hj_181:=if(hj_178,ref(hj_179,hj_178),hj_179);
hj_182:=const(hj_181);
hj_183:=ref(hj_180,hj_178+1);
hj_184:=ref(hj_181,hj_178+1);
hj_185:=const(hj_184);
hj_186:=drawline(currbarscount=hj_185,low,currbarscount=hj_182,low,1);
支撑线:if(hj_186<ref(hj_186,1),drawnull,hj_186),color990099,linethick3;
hj_187:=backset(barstatus=2,barslast(hj_163)+1);
hj_188:=hj_187>ref(hj_187,1);
hj_189:=backset(barstatus=2,barslast(hj_177)+1);
hj_190:=hj_189>ref(hj_189,1);
hj_191:=backset(hj_188,ref(barslast(hj_163),1)+2);
hj_192:=hj_191>ref(hj_191,1);
hj_193:=backset(hj_190,ref(barslast(hj_177),1)+2);
hj_194:=hj_193>ref(hj_193,1);
hj_195:=barslast(hj_190)+1;
hj_196:=barslast(hj_194)+1;
hj_197:=if(hj_195=drawnull and hj_196>0 and hj_163 and hj_4!=1,high,drawnull);
hj_198:=barslast(hj_188)+1;
hj_199:=barslast(hj_192)+1;
hj_200:=if(hj_198=drawnull and hj_199>0 and hj_177 and hj_5!=1,low,drawnull);
hj_201:=const(hhv(hj_197-支撑线,0));
hj_202:=const(hhv(压力线-hj_200,0));
支撑通道:drawline(currbarscount=hj_185,low+hj_201,currbarscount=hj_182,low+hj_201,1),color990099,linethick2;
压力通道:drawline(currbarscount=hj_171,high-hj_202,currbarscount=hj_169,high-hj_202,1),color999900,linethick2;
drawicon(cross(支撑线,close),high,35);
drawicon(cross(close,压力线),low,34);
drawnumber(hj_150=1,止损位,止损位),color00cccc;
drawnumber(hj_150=2,止盈位,止盈位),colorcccc00;
if(capital>0 and close<500,0,hj_132),colordddddd;
cost(50),color0000cc,linethick2;
if(平均成本<ma(平均成本,2),平均成本,drawnull),color00cc00,linethick2;
cost(80)*0.9998,colorwhite;
drawnumber(islastbar,短线盈损,短线盈损),color00dddd;
drawnumber(islastbar,生命线,生命线),color00dddd;

{-----------------------------------}


  >>>使用本站搜索工具可以找到更多封牛撑压 通达信封牛撑压

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文封牛撑压 通达信封牛撑压仅供学习研究。

猜你喜欢

学了又学