hj_1:=strcat(hyblock,14);
hj_2:=strcat(hj_1,dyblock);
hj_3:=strcat(hj_2,13);
drawtext_fix(islastbar,0,0,0,strcat(hj_3,gnblock)),color00c0c0;
hj_4:=ema(close,12)-ema(close,26);
hj_5:=ema(hj_4,9);
hj_6:=(hj_4-hj_5)*2;
hj_7:=close>ref(close,4);
hj_8:=barslastcount(hj_7);
hj_9:=hj_8=9;
hj_10:=islastbar and between(hj_8,1,8);
hj_11:=(backset(hj_9>0,9) or backset(hj_10>0,hj_8))*hj_8;
drawtext(hj_11>0,high*1.05,var2str(hj_11,0)),colormagenta;
drawtext(hj_8=9,high*1.05,3),colorgreen;
hj_12:=close<ref(close,4);
hj_13:=barslastcount(hj_12);
hj_14:=hj_13=9;{好公式网-最好的股票公式网站 www.goodgongshi.com}
hj_15:=islastbar and between(hj_13,1,8);
hj_16:=(backset(hj_14>0,9) or backset(hj_15>0,hj_13))*hj_13;
drawtext(hj_16>0,low*0.95,var2str(hj_16,0)),colormagenta;
drawtext(hj_13=9,low*0.95,3),colorred;
hj_17:=backset(llv(low,5)<ref(llv(low,4),1),4);
hj_18:=backset(hj_17=0 and ref(hj_17,1)=1,2);
hj_19:=if(hj_18=1 and ref(hj_18,1)=0,(-1),0);
hj_20:=backset(hhv(high,5)>ref(hhv(high,4),1),4);
hj_21:=backset(hj_20=0 and ref(hj_20,1)=1,2);
hj_22:=if(hj_21=1 and ref(hj_21,1)=0,1,0);
hj_23:=if(low>ref(high,1),1,if(high<ref(low,1),(-1),0));
hj_24:=barslast(hj_22=1);
hj_25:=barslast(hj_19=(-1));
hj_26:=lowrange(low);
hj_27:=toprange(high);
hj_28:=if(hj_19=(-1) and ref(hj_24,1)>ref(hj_25,1) and llv(low,hj_24+1)<ref(llv(low,hj_24+1),1),(-1),0);
hj_29:=if(hj_19=(-1) and ref(hj_24,1)<ref(hj_25,1) and (hj_24>=4 or llv(hj_23,hj_24)=(-1) or low<ref(llv(low,hj_25+1),1)),(-1),0);
hj_30:=hj_24<4 and hhv(hj_23,hj_24)!=(-1);
hj_31:=hj_19=(-1) and ref(hj_24,1)<ref(hj_25,1);
hj_32:=hj_26>ref(hj_27,hj_24+1) and hj_26>ref(hj_27,hj_24) and hj_26>ref(hj_26,ref(barslast(hj_19=(-1)),hj_25+1)+hj_25+1);
hj_33:=hj_30 and hj_31 and hj_32;
hj_34:=if(hj_28=(-1) or hj_29=(-1) or hj_33,(-1),0);
hj_35:=if(hj_22=1 and ref(hj_25,1)>ref(hj_24,1) and hhv(high,hj_25+1)>ref(hhv(high,hj_25+1),1),1,0);
hj_36:=if(hj_22=1 and ref(hj_25,1)<ref(hj_24,1) and (hj_25>=4 or hhv(hj_23,hj_25)=1),1,0);
hj_37:=hj_25<4 and hhv(hj_23,hj_25)!=1 or ref(hj_34,hj_25)=0;
hj_38:=hj_22=1 and ref(hj_25,1)<ref(hj_24,1);
hj_39:=hj_27>ref(hj_26,hj_25+1) and hj_27>ref(hj_26,hj_25) and hj_27>ref(hj_27,ref(barslast(hj_22=1),hj_24+1)+hj_24+1);
hj_40:=hj_37 and hj_38 and hj_39;
hj_41:=if(hj_35=1 or hj_36=1 or hj_40,1,0);
hj_42:=barslast(hj_41=1);
hj_43:=barslast(hj_34=(-1));
hj_44:=if(hj_34=(-1) and ref(hj_42,1)>ref(hj_43,1) and llv(low,hj_42+1)<ref(llv(low,hj_42+1),1),(-1),0);
hj_45:=if(hj_34=(-1) and ref(hj_42,1)<ref(hj_43,1) and (hj_42>=4 or llv(hj_23,hj_42)=(-1) or low<ref(llv(low,hj_43+1),1)),(-1),0);
hj_46:=hj_42<4 and hhv(hj_23,hj_42)!=(-1);
hj_47:=hj_34=(-1) and ref(hj_42,1)<ref(hj_43,1);
hj_48:=hj_26>ref(hj_27,hj_42+1) and hj_26>ref(hj_27,hj_42) and hj_26>ref(hj_26,ref(barslast(hj_34=(-1)),hj_43+1)+hj_43+1);
hj_49:=hj_46 and hj_47 and hj_48;
hj_50:=if(hj_44=(-1) or hj_45=(-1) or hj_49,(-1),0);
hj_51:=if(hj_41=1 and ref(hj_43,1)>ref(hj_42,1) and hhv(high,hj_43+1)>ref(hhv(high,hj_43+1),1),1,0);
hj_52:=if(hj_41=1 and ref(hj_43,1)<ref(hj_42,1) and (hj_43>=4 or hhv(hj_23,hj_43)=1),1,0);
hj_53:=hj_43<4 and hhv(hj_23,hj_43)!=1 or ref(hj_34,hj_43)=0;
hj_54:=hj_41=1 and ref(hj_43,1)<ref(hj_42,1);
hj_55:=hj_27>ref(hj_26,hj_43+1) and hj_27>ref(hj_26,hj_43) and hj_27>ref(hj_27,ref(barslast(hj_41=1),hj_42+1)+hj_42+1);
hj_56:=hj_53 and hj_54 and hj_55;
hj_57:=if(hj_51=1 or hj_52=1 or hj_56,1,0);
hj_58:=barslast(hj_57=1);
hj_59:=barslast(hj_50=(-1));
hj_60:=if(hj_50=(-1) and ref(hj_58,1)>ref(hj_59,1) and llv(low,hj_58+1)<ref(llv(low,hj_58+1),1),(-1),0);
hj_61:=if(hj_50=(-1) and ref(hj_58,1)<ref(hj_59,1) and (hj_58>=4 or llv(hj_23,hj_58)=(-1) or low<ref(llv(low,hj_59+1),1)),(-1),0);
hj_62:=hj_58<4 and hhv(hj_23,hj_58)!=(-1);
hj_63:=hj_50=(-1) and ref(hj_58,1)<ref(hj_59,1);
hj_64:=hj_26>ref(hj_27,hj_58+1) and hj_26>ref(hj_27,hj_58) and hj_26>ref(hj_26,ref(barslast(hj_50=(-1)),hj_59+1)+hj_59+1);
hj_65:=hj_62 and hj_63 and hj_64;
hj_66:=if(hj_60=(-1) or hj_61=(-1) or hj_65,(-1),0);
hj_67:=if(hj_57=1 and ref(hj_59,1)>ref(hj_58,1) and hhv(high,hj_59+1)>ref(hhv(high,hj_59+1),1),1,0);
hj_68:=if(hj_57=1 and ref(hj_59,1)<ref(hj_58,1) and (hj_59>=4 or hhv(hj_23,hj_59)=1),1,0);
hj_69:=hj_59<4 and hhv(hj_23,hj_59)!=1 or ref(hj_50,hj_59)=0;
hj_70:=hj_57=1 and ref(hj_59,1)<ref(hj_58,1);
hj_71:=hj_27>ref(hj_26,hj_59+1) and hj_27>ref(hj_26,hj_59) and hj_27>ref(hj_27,ref(barslast(hj_57=1),hj_58+1)+hj_58+1);
hj_72:=hj_69 and hj_70 and hj_71;
hj_73:=if(hj_67=1 or hj_68=1 or hj_72,1,0);
hj_74:=barslast(hj_73=1);
hj_75:=barslast(hj_66=(-1));
hj_76:=ref(barslast(hj_73=1),hj_74+1)+hj_74+1;
hj_77:=ref(barslast(hj_66=(-1)),hj_75+1)+hj_75+1;
hj_78:=backset(hj_66=(-1) and ref(hj_74,1)<ref(hj_75,1),hj_74+1);
hj_79:=backset(hj_66=(-1) and ref(hj_74,1)>ref(hj_75,1),hj_77+1);
hj_80:=backset(hj_73=1 and ref(hj_74,1)>ref(hj_75,1),hj_75+1);
hj_81:=backset(hj_73=1 and ref(hj_74,1)<ref(hj_75,1),hj_76+1);
hj_82:=backset(not(hj_66=(-1) or hj_73=1) and hj_74>hj_75 and hj_75>=5 and close>ref(low,hj_75),hj_75+1);
hj_83:=backset(not(hj_66=(-1) or hj_73=1) and hj_74<hj_75 and hj_74>=5 and close<ref(low,hj_74),hj_74+1);
hj_84:=if(hj_66=(-1) and (hj_78+hj_80=2 or hj_79+hj_80=2 or hj_78+hj_81=2 or hj_82=1),(-1),0);
hj_85:=if(hj_73=1 and (hj_78+hj_80=2 or hj_79+hj_80=2 or hj_78+hj_81=2 or hj_83=1),1,0);
notext1a:drawline(hj_85=1,high,hj_84=(-1),low,0),dotline,colorgray;
notext2a:drawline(hj_84=(-1),low,hj_85=1,high,0),dotline,colorgray;
hj_86:=if(hj_66=(-1) and (hj_78+hj_80=2 or hj_79+hj_80=2 or hj_78+hj_81=2),(-1),0);
hj_87:=if(hj_73=1 and (hj_78+hj_80=2 or hj_79+hj_80=2 or hj_78+hj_81=2),1,0);
notext1:drawline(hj_87=1,high,hj_86=(-1),low,0),colorgray;
notext2:drawline(hj_86=(-1),low,hj_87=1,high,0),colorgray;
notext极点:if(hj_86=(-1),low,if(hj_87=1,high,drawnull)),circledot,color00cccc;
hj_88:=ref(barslast(hj_86=(-1)),1)+1;
hj_89:=ref(barslast(hj_86=(-1)),hj_88+1)+hj_88+1;
hj_90:=ref(barslast(hj_87=1),1)+1;
hj_91:=ref(barslast(hj_87=1),hj_90+1)+hj_90+1;
hj_92:=atan((ref(low,hj_88)-ref(low,hj_89))/ref(low,hj_89)/(hj_89-hj_88)*100)/3.141593*180;
hj_93:=atan((ref(high,hj_90)-ref(high,hj_91))/ref(high,hj_91)/(hj_91-hj_90)*100)/3.141593*180;
hj_94:=hj_86=(-1) and backset(islastbar,hj_89+1);
hj_95:=hj_86=(-1) and backset(islastbar,hj_88+1);
hj_96:=hj_87=1 and backset(islastbar,hj_91+1);
hj_97:=hj_87=1 and backset(islastbar,hj_90+1);
支撑线:drawline(hj_94,low,hj_95,low,1),colorred;
压力线:drawline(hj_96,high,hj_97,high,1),colorgreen;
hj_98:=hj_92>=0 and hj_88<hj_90 and ref(hhv(close,hj_90),1)<=ref(high,hj_90) and close>ref(high,hj_90);
drawicon(barssincen(hj_98,hj_90)+1,low*0.97,28);
drawline(hj_97,high,barssincen(hj_98,hj_90)+1=1,ref(high,hj_90),0),dotline,colorgreen;
hj_99:=hj_92>=0 and hj_93<0 and 支撑线<压力线 and cross(close,压力线);
drawicon(barssincen(hj_99,hj_90)+1,low*0.95,29);
hj_100:=hj_92<0 and hj_92>hj_93 and hj_93<0 and hj_93>(-45) and cross(close,压力线);
drawicon(barssincen(hj_100,hj_90)+1,low*0.93,30);
上一指标公式:强筹码引力副图公式下载 通达信指标筹码
下一指标公式:操底公式下载 通达信指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文撑压线模拟版公式下载 通达信压线模拟仅供学习研究。