好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式黄金法则 通达信法则

黄金法则 通达信法则

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:黄金法则 通达信法则

hj_1:=backset(llv(low,5)<ref(llv(low,4),1),4);
hj_2:=backset(hj_1=0 and ref(hj_1,1)=1,2);
hj_3:=if(hj_2=1 and ref(hj_2,1)=0,(-1),0);
hj_4:=backset(hhv(high,5)>ref(hhv(high,4),1),4);
hj_5:=backset(hj_4=0 and ref(hj_4,1)=1,2);
hj_6:=if(hj_5=1 and ref(hj_5,1)=0,1,0);
hj_7:=if(low>ref(high,1),1,if(high<ref(low,1),(-1),0));
hj_8:=barslast(hj_6=1);
hj_9:=barslast(hj_3=(-1));
hj_10:=lowrange(low);
hj_11:=toprange(high);

hj_12:=if(hj_3=(-1) and ref(hj_8,1)>ref(hj_9,1) and llv(low,hj_8+1)<ref(llv(low,hj_8+1),1),(-1),0);
hj_13:=if(hj_3=(-1) and ref(hj_8,1)<=ref(hj_9,1) and (hj_8>=4 or llv(hj_7,hj_8)=(-1) or llv(low,hj_9+2)<ref(llv(low,hj_9+1),1)),(-1),0);
hj_14:=if(hj_12=(-1) or hj_13=(-1) and low<ref(high,hj_8+1),(-1),0);
hj_15:=if(hj_9<4 and hhv(hj_7,hj_9)!=1 or ref(hj_14,hj_9)=0,1,0);
hj_16:=if(hj_6=1 and ref(hj_9,1)<=ref(hj_8,1) and hj_15=1 and hj_11>ref(hj_10,hj_9+1) and hj_11>ref(hj_10,hj_9) and hj_11>ref(hj_11,hj_8),1,0);
hj_17:=if(hj_6=1 and ref(hj_9,1)>ref(hj_8,1) and hhv(high,hj_9+1)>ref(hhv(high,hj_9+1),1),1,0);
hj_18:=if(hj_6=1 and ref(hj_9,1)<=ref(hj_8,1) and ref(hj_14,hj_9)=(-1) and (hj_9>=4 or hhv(hj_7,hj_9)=1),1,0);
hj_19:=if(hj_17=1 or hj_18=1 or hj_16=1 and high>ref(low,hj_9+1),1,0);
hj_20:=if(hj_8<4 and hhv(hj_7,hj_8)!=1 or ref(hj_19,hj_8)=0,1,0);
hj_21:=if(hj_3=(-1) and ref(hj_8,1)<=ref(hj_9,1) and hj_20=1 and hj_10>ref(hj_11,hj_8+1) and hj_10>ref(hj_11,hj_8) and hj_10>ref(hj_10,hj_9),(-1),0);
hj_22:=if(hj_3=(-1) and ref(hj_8,1)>ref(hj_9,1) and llv(low,hj_8+1)<ref(llv(low,hj_8+1),1),(-1),0);
hj_23:=if(hj_3=(-1) and ref(hj_8,1)<=ref(hj_9,1) and (hj_8>=4 or llv(hj_7,hj_8)=(-1) or hj_21=(-1)),(-1),0);
hj_24:=if(hj_22=(-1) or hj_23=(-1) and low<ref(high,hj_8+1),(-1),0);
hj_25:=barslast(hj_19=1);
hj_26:=barslast(hj_24=(-1));
hj_27:=if(hj_26<4 and hhv(hj_7,hj_26)!=1 or ref(hj_24,hj_26)=0,1,0);
hj_28:=if(hj_6=1 and ref(hj_26,1)<=ref(hj_25,1) and hj_27=1 and hj_11>ref(hj_10,hj_26+1) and hj_11>ref(hj_10,hj_26) and hj_11>ref(hj_11,hj_25),1,0);
hj_29:=if(hj_6=1 and ref(hj_26,1)>ref(hj_25,1) and hhv(high,hj_26+1)>ref(hhv(high,hj_26+1),1),1,0);
hj_30:=if(hj_6=1 and ref(hj_26,1)<=ref(hj_25,1) and ref(hj_24,hj_26)=(-1) and (hj_26>=4 or hhv(hj_7,hj_26)=1),1,0);
hj_31:=if(hj_29=1 or hj_30=1 or hj_28=1 and high>ref(low,hj_26+1),1,0);
hj_32:=if(hj_25<4 and hhv(hj_7,hj_25)!=1 or ref(hj_29,hj_25)=0,1,0);
hj_33:=if(hj_3=(-1) and ref(hj_25,1)<=ref(hj_26,1) and hj_32=1 and hj_10>ref(hj_11,hj_25+1) and hj_10>ref(hj_11,hj_25) and hj_10>ref(hj_10,hj_26),(-1),0);
hj_34:=if(hj_3=(-1) and ref(hj_25,1)>ref(hj_26,1) and llv(low,hj_25+1)<ref(llv(low,hj_25+1),1),(-1),0);
hj_35:=if(hj_3=(-1) and ref(hj_25,1)<=ref(hj_26,1) and (hj_25>=4 or llv(hj_7,hj_25)=(-1) or hj_33=(-1)),(-1),0);
hj_36:=if(hj_34=(-1) or hj_35=(-1) and low<ref(high,hj_25+1),(-1),0);
hj_37:=barslast(hj_31=1);
hj_38:=barslast(hj_36=(-1));
hj_39:=if(hj_38<4 and hhv(hj_7,hj_38)!=1 or ref(hj_36,hj_38)=0,1,0);
hj_40:=if(hj_6=1 and ref(hj_38,1)<=ref(hj_37,1) and hj_39=1 and hj_11>ref(hj_10,hj_38+1) and hj_11>ref(hj_10,hj_38) and hj_11>ref(hj_11,hj_37),1,0);
hj_41:=if(hj_6=1 and ref(hj_38,1)>ref(hj_37,1) and hhv(high,hj_38+1)>ref(hhv(high,hj_38+1),1),1,0);
hj_42:=if(hj_6=1 and ref(hj_38,1)<=ref(hj_37,1) and ref(hj_36,hj_38)=(-1) and (hj_38>=4 or hhv(hj_7,hj_38)=1),1,0);
hj_43:=if(hj_41=1 or hj_42=1 or hj_40=1 and high>ref(low,hj_38+1),1,0);
hj_44:=if(hj_37<4 and hhv(hj_7,hj_37)!=1 or ref(hj_41,hj_37)=0,1,0);
hj_45:=if(hj_3=(-1) and ref(hj_37,1)<=ref(hj_38,1) and hj_44=1 and hj_10>ref(hj_11,hj_37+1) and hj_10>ref(hj_11,hj_37) and hj_10>ref(hj_10,hj_38),(-1),0);
hj_46:=if(hj_3=(-1) and ref(hj_37,1)>ref(hj_38,1) and llv(low,hj_37+1)<ref(llv(low,hj_37+1),1),(-1),0);
hj_47:=if(hj_3=(-1) and ref(hj_37,1)<=ref(hj_38,1) and (hj_37>=4 or llv(hj_7,hj_37)=(-1) or hj_45=(-1)),(-1),0);
hj_48:=if(hj_46=(-1) or hj_47=(-1) and low<ref(high,hj_37+1),(-1),0);
hj_49:=if(hj_43=1 and hj_48=(-1) and high>ref(high,ref(hj_37,1)+2),1,if(hj_43=1 and hj_48=(-1) and low<ref(low,ref(hj_38,1)+2),(-1),0));
hj_50:=if(hj_49=0,hj_43+hj_48,hj_49);
hj_51:=if(date<1161215,1,0);
hj_52:=if(hj_50=(-1),low,if(hj_50=1,high,drawnull));
hj_53:=drawline(hj_50=(-1),hj_52,hj_50=1,hj_52,0);
hj_54:=drawline(hj_50=1,hj_52,hj_50=(-1),hj_52,0);
hj_55:=hj_53=hj_54 and hj_4 and hj_50=1;
hj_56:=if(hj_55,high*hj_51,drawnull);
hj_57:=hj_53=hj_54 and hj_1 and hj_50=(-1);
hj_58:=if(hj_57,low*hj_51,drawnull);
hj_59:=llv(low,t)=hj_58*hj_51;
hj_60:=barslast(hj_59);
hj_61:=hhv(high,t)=hj_56*hj_51;
hj_62:=barslast(hj_61);
hj_63:=if(hj_62>hj_60,0,1);
hj_64:=backset(islastbar,hj_62+1);
hj_65:=barslast(hj_64=1 and ref(hj_64,1)=0);
hj_66:=backset(islastbar,hj_60+1);
hj_67:=barslast(hj_66=1 and ref(hj_66,1)=0);
hj_68:=if(hj_65>hj_67,0,1);
hj_69:=if(hj_63=0 and hj_68=0,ref(high,hj_62)-ref(low,hj_60),drawnull);
stickline(hj_66=1 and ref(hj_66,1)=0 and hj_63=0 and hj_68=0,ref(low,hj_60),ref(low,hj_60)+hj_69*1,0.5,(-1)),color0065ca;
notext0:if(hj_63=0 and hj_68=0,drawline(hj_59,low,islastbar,ref(low,hj_60)+hj_69*0,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext0,ref(low,hj_60)),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext0,0),color0065ca;
notext1:if(hj_63=0 and hj_68=0,drawline(hj_59,low+hj_69*0.191,islastbar,ref(low,hj_60)+hj_69*0.191,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext1,ref(low,hj_60)+hj_69*0.191),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext1,0.191),color0065ca;
notext3:if(hj_63=0 and hj_68=0,drawline(hj_59,low+hj_69*0.382,islastbar,ref(low,hj_60)+hj_69*0.382,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext3,ref(low,hj_60)+hj_69*0.382),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext3,0.382),color0065ca;
notext5:if(hj_63=0 and hj_68=0,drawline(hj_59,low+hj_69*0.5,islastbar,ref(low,hj_60)+hj_69*0.5,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext5,ref(low,hj_60)+hj_69*0.5),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext5,0.5),color0065ca;
notext6:if(hj_63=0 and hj_68=0,drawline(hj_59,low+hj_69*0.618,islastbar,ref(low,hj_60)+hj_69*0.618,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext6,ref(low,hj_60)+hj_69*0.618),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext6,0.618),color0065ca;
notext8:if(hj_63=0 and hj_68=0,drawline(hj_59,low+hj_69*0.809,islastbar,ref(low,hj_60)+hj_69*0.809,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext8,ref(low,hj_60)+hj_69*0.809),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext8,0.809),color0065ca;
notext2:if(hj_63=0 and hj_68=0,drawline(hj_59,ref(high,hj_62),islastbar,ref(low,hj_60)+hj_69*1,(-1)),drawnull),dotline,color0065ca;
drawnumber(islastbar and hj_63=0 and hj_68=0,notext2,ref(low,hj_60)+hj_69*1),color0065ca;
drawnumber(hj_59 and hj_63=0 and hj_68=0,notext2,1),color0065ca;
hj_70:=if(hj_63=1 and hj_68=1,ref(high,hj_62)-ref(low,hj_60),drawnull);
stickline(hj_64=1 and ref(hj_64,1)=0 and hj_63=1 and hj_68=1,ref(high,hj_62),ref(high,hj_62)-hj_70*1,0.5,(-1)),colorc080ff;
notexth0:if(hj_63=1 and hj_68=1,drawline(hj_61,high,islastbar,ref(high,hj_62)-hj_70*0,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth0,ref(high,hj_62)),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth0,0),colorc080ff;
notexth1:if(hj_63=1 and hj_68=1,drawline(hj_61,high-hj_70*0.191,islastbar,ref(high,hj_62)-hj_70*0.191,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth1,ref(high,hj_62)-hj_70*0.191),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth1,0.191),colorc080ff;
notexth3:if(hj_63=1 and hj_68=1,drawline(hj_61,high-hj_70*0.382,islastbar,ref(high,hj_62)-hj_70*0.382,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth3,ref(high,hj_62)-hj_70*0.382),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth3,0.382),colorc080ff;
notexth5:if(hj_63=1 and hj_68=1,drawline(hj_61,high-hj_70*0.5,islastbar,ref(high,hj_62)-hj_70*0.5,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth5,ref(high,hj_62)-hj_70*0.5),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth5,0.5),colorc080ff;
notexth6:if(hj_63=1 and hj_68=1,drawline(hj_61,high-hj_70*0.618,islastbar,ref(high,hj_62)-hj_70*0.618,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth6,ref(high,hj_62)-hj_70*0.618),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth6,0.618),colorc080ff;
notexth8:if(hj_63=1 and hj_68=1,drawline(hj_61,high-hj_70*0.809,islastbar,ref(high,hj_62)-hj_70*0.809,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth8,ref(high,hj_62)-hj_70*0.809),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth8,0.809),colorc080ff;
notexth2:if(hj_63=1 and hj_68=1,drawline(hj_61,ref(high,hj_62)-hj_70*1,islastbar,ref(high,hj_62)-hj_70*1,(-1)),drawnull),dotline,colorc080ff;
drawnumber(islastbar and hj_63=1 and hj_68=1,notexth2,ref(high,hj_62)-hj_70*1),colorc080ff;
drawnumber(hj_61 and hj_63=1 and hj_68=1,notexth2,1),colorc080ff;
hj_71:=3;
hj_72:=3;
hj_73:=5;
hj_74:=if(close>500,hj_71,hj_72);
hj_75:=(close-ref(close,1))/ref(close,1)*100;
hj_76:=if(hj_60<=hj_73,hhv(hj_75,hj_60+1),drawnull);
hj_77:=if(hj_60<=hj_73,hhvbars(hj_75,hj_60+1),drawnull);
hj_78:=if(ref(hj_75,hj_77)>=hj_74,ref(close,hj_77)*ref(close,hj_77)/ref(close,hj_77+1)/0.9,drawnull);
hj_79:=backset(ref(hj_75,hj_77)>=hj_74 and hj_60<=hj_73,hj_77+1);
hj_80:=barslast(hj_79=1 and ref(hj_79,1)=0);
hj_81:=backset(islastbar,hj_80+1);
stickline(hj_81=1 and ref(hj_81,1)=0 and k=1,high,hj_78,0.5,(-1)),coloryellow;
notext测顶:if(k=1,drawline(hj_81=1 and ref(hj_81,1)=0,hj_78,islastbar,ref(close,hj_80)*ref(close,hj_80)/ref(close,hj_80+1)/0.9,(-2)),drawnull),dotline,coloryellow;
drawnumber(hj_81=1 and ref(hj_81,1)=0 and k=1,hj_78,hj_78),coloryellow;
hj_82:=if(hj_62<=hj_73,llv(hj_75,hj_62+1),drawnull);
hj_83:=if(hj_62<=hj_73,llvbars(hj_75,hj_62+1),drawnull);
hj_84:=if(ref(hj_75,hj_83)<=(-hj_74),ref(close,hj_83)*ref(close,hj_83)/ref(close,hj_83+1)/1.1,drawnull);
hj_85:=backset(ref(hj_75,hj_83)<=(-hj_74) and hj_62<=hj_73,hj_83+1);
hj_86:=barslast(hj_85=1 and ref(hj_85,1)=0);
hj_87:=backset(islastbar,hj_86+1);
stickline(hj_87=1 and ref(hj_87,1)=0 and k=1,low,hj_84,0.5,(-1)),colorcyan;
notext测底:if(k=1,drawline(hj_87=1 and ref(hj_87,1)=0,hj_84,islastbar,ref(close,hj_86)*ref(close,hj_86)/ref(close,hj_86+1)/1.1,(-2)),drawnull),dotline,colorcyan;
drawnumber(hj_87=1 and ref(hj_87,1)=0 and k=1,hj_84,hj_84),colorcyan;
hj_88:=close>ref(close,4);
hj_89:=barslastcount(hj_88);
hj_90:=hj_89=18;
hj_91:=islastbar and between(hj_89,1,17);
hj_92:=(backset(hj_90>0,18) or backset(hj_91>0,hj_89))*hj_89;
drawnumber(hj_92>0,high*1.02,hj_92),colormagenta;
drawnumber(hj_89=9,high*1.02,9),colorgreen;
drawnumber(hj_89=13,high*1.02,13),coloryellow;
drawnumber(hj_89=18,high*1.02,18),coloryellow;
hj_93:=close<ref(close,4);
hj_94:=barslastcount(hj_93);
hj_95:=hj_94=18;
hj_96:=islastbar and between(hj_94,1,17);
hj_97:=(backset(hj_95>0,18) or backset(hj_96>0,hj_94))*hj_94;
drawnumber(hj_97>0,low*0.98,hj_97),colormagenta;
drawnumber(hj_94=9,low*0.98,9),colorgreen;
drawnumber(hj_94=13,low*0.98,13),coloryellow;
drawnumber(hj_94=18,low*0.98,18),coloryellow;
drawkline(high,open,low,close);
hj_98:=if(hj_51=1,high=hhv(high,60),0);
hj_99:=if(hj_51=1,low=llv(low,60),0);
hj_100:=barslast(hj_98);
hj_101:=barslast(hj_99);
hj_102:=backset(islastbar,hj_100+1);
hj_103:=backset(islastbar,hj_101+1);
hj_104:=barssince(hj_102)+1;
hj_105:=barssince(hj_103)+1;
hj_106:=if(backset(hj_102,hj_104+1),1,drawnull);
hj_107:=if(backset(hj_103,hj_105+1),1,drawnull);
hj_108:=hj_107*sum(high*vol,hj_105)/sum(vol,hj_105);
hj_109:=hj_106*sum(low*vol,hj_104)/sum(vol,hj_104);
hj_110:=hj_107*sum(low*vol,hj_105)/sum(vol,hj_105);
hj_111:=hj_106*sum(high*vol,hj_104)/sum(vol,hj_104);
notext点金_支:if(ref(high,hj_104)>ref(high,hj_104+1) and ref(high,hj_104)>ref(high,hj_104-1),hj_108,hj_109),color00ff7f;
notext点金_支1:if(ref(high,hj_104)>ref(high,hj_104+1) and ref(high,hj_104)>ref(high,hj_104-1),hj_110,hj_111),colorgreen,linethick2;
notext点金_压:if(ref(high,hj_105)>ref(high,hj_105+1) and ref(high,hj_105)>ref(high,hj_105-1),hj_109,hj_108),colorlimagenta;
notext点金_压1:if(ref(high,hj_105)>ref(high,hj_105+1) and ref(high,hj_105)>ref(high,hj_105-1),hj_111,hj_110),colorred,linethick2;
drawnumber(islastbar,notext点金_压*1,const(notext点金_压)),colorred;
drawnumber(islastbar,notext点金_支*1,const(notext点金_支)),colorgreen;
drawnumber(islastbar,notext点金_压1*1,const(notext点金_压1)),colorlimagenta;
drawnumber(islastbar,notext点金_支1*1,const(notext点金_支1)),color00ff7f;

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


黄金法则

  >>>使用本站搜索工具可以找到更多黄金法则 通达信法则

指标公式下载地址

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

上一指标公式:ZDIF主图指标 通达信指标

下一指标公式:竞价选股BBB 通达信选股BBB

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文黄金法则 通达信法则仅供学习研究。

猜你喜欢

学了又学