通达信坡度几何图副图指标 源码

 

T:30;
 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,1);
 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:=BARSLAST(ABS(HJ_50));
 HJ_60:=CLOSE/REF(CLOSE,HJ_59)*100-100;
 NOTEXT跌速:IF(HJ_50=(-1),(HJ_54-REF(HJ_54,1))/REF(HJ_54,1)/(0.1/100)*HJ_51,DRAWNULL);
跌坡度:PLOYLINE(NOTEXT跌速<0,NOTEXT跌速),COLORGREEN,LINETHICK2;
 NOTEXT跌点:IF(HJ_50=(-1),跌坡度,DRAWNULL),CIRCLEDOT,COLORBLUE,LINETHICK5;
 HJ_61:=BARSLAST(HJ_50=1);
 HJ_62:=BACKSET(ISLASTBAR,HJ_61+1);
 HJ_63:=IF(HJ_50=0,(CLOSE-REF(HIGH,HJ_61))/REF(HIGH,HJ_61)/HJ_61/(0.1/100)*HJ_51,DRAWNULL);
跌点:IF(ISLASTBAR AND HJ_60<0,HJ_63,DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHICK5;
 DRAWNUMBER(ISLASTBAR AND HJ_60<0,跌点,跌点),COLORGREEN;
 HJ_64:=HJ_62=1 AND REF(HJ_62,1)=0;
 HJ_65:=IF(HJ_64,(HJ_53-REF(HJ_53,1))/REF(HJ_53,1)/(0.1/100)*HJ_51,DRAWNULL);
 NOTEXT涨速:IF(HJ_50=1,(HJ_53-REF(HJ_53,1))/REF(HJ_53,1)/(0.1/100)*HJ_51,DRAWNULL);
涨坡度:PLOYLINE(NOTEXT涨速>0,NOTEXT涨速),COLORRED,LINETHICK2;
 NOTEXT涨点:IF(HJ_50=1,涨坡度,DRAWNULL),CIRCLEDOT,COLORMAGENTA,LINETHICK5;
 HJ_66:=BARSLAST(HJ_50=(-1));
 HJ_67:=BACKSET(ISLASTBAR,HJ_66+1);
 HJ_68:=IF(HJ_50=0,(CLOSE-REF(LOW,HJ_66))/REF(LOW,HJ_66)/HJ_66/(0.1/100)*HJ_51,DRAWNULL);
涨点:IF(ISLASTBAR AND HJ_60>0,HJ_68,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK5;
 DRAWNUMBER(ISLASTBAR AND HJ_60>0,涨点,涨点),COLORRED;
 NOTEXTDDG:DRAWLINE(HJ_50=(-1),NOTEXT跌点,HJ_50=1,NOTEXT涨点,0),COLORLIRED;
 NOTEXTGDD:DRAWLINE(HJ_50=1,NOTEXT涨点,HJ_50=(-1),NOTEXT跌点,0),COLORYELLOW;
 DRAWNUMBER(HJ_50=(-1),NOTEXT跌点,NOTEXT跌点),COLORGREEN;
 DRAWNUMBER(HJ_50=1,NOTEXT涨点,NOTEXT涨点),COLORRED;
 HJ_69:=LLV(LOW,T)=HJ_58*HJ_51;
 HJ_70:=BARSLAST(HJ_69);
 HJ_71:=COUNT(HJ_57,HJ_70)*HJ_51;
 HJ_72:=COUNT(HJ_55,HJ_70)*HJ_51;
 HJ_73:=IF(HJ_70>0,BARSLAST(HJ_72=1),DRAWNULL);
 HJ_74:=HHV(HIGH,T)=HJ_56*HJ_51;
 HJ_75:=BARSLAST(HJ_74);
 HJ_76:=COUNT(HJ_55,HJ_75)*HJ_51;
 HJ_77:=COUNT(HJ_57,HJ_75)*HJ_51;
 HJ_78:=BARSLAST(HJ_77=1);
 HJ_79:=IF(LOW=LLV(LOW,HJ_75),1,0);
 HJ_80:=IF(HJ_50=(-1) AND 跌坡度>REF(跌坡度,1) AND 跌坡度<0,1,0);
 HJ_81:=HJ_79=1 AND HJ_80=1 AND HJ_50=(-1);
 DRAWICON(HJ_81,跌坡度,26);
 HJ_82:=IF(HIGH=HHV(HIGH,HJ_70),1,0);
 HJ_83:=IF(HJ_50=1 AND 涨坡度<REF(涨坡度,1) AND 涨坡度>0,1,0);
 HJ_84:=HJ_82=1 AND HJ_83=1 AND HJ_50=1;
 DRAWICON(HJ_84,涨坡度,27);


 




来函数检测结果如下
该公式包含未来函数:BACKSET

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

输出T:30
HJ_1赋值:若5日内最低价的最低值<1日前的4日内最低价的最低值则将最近4周期置为1
HJ_2赋值:若HJ_1=0ANDREF(HJ_1,1)=1则将最近2周期置为1
HJ_3赋值:如果HJ_2=1ANDREF(HJ_2,1)=0,返回(-1),否则返回0
HJ_4赋值:若5日内最高价的最高值>1日前的4日内最高价的最高值则将最近4周期置为1
HJ_5赋值:若HJ_4=0ANDREF(HJ_4,1)=1则将最近2周期置为1
HJ_6赋值:如果HJ_5=1ANDREF(HJ_5,1)=0,返回1,否则返回0
HJ_7赋值:如果最低价>1日前的最高价,返回1,否则返回如果最高价<1日前的最低价,返回(-1),否则返回0
HJ_8赋值:上次HJ_6=1距今天数
HJ_9赋值:上次HJ_3=(-1)距今天数
HJ_10赋值:当前值是近最低价周期的最小值
HJ_11赋值:当前值是近最高价周期的最大值
HJ_12赋值:如果HJ_3=(-1)ANDREF(HJ_8,1)>1日前的HJ_9ANDLLV(最低价,HJ_8+1)<1日前的HJ_8+1日内最低价的最低值,返回(-1),否则返回0
HJ_13赋值:如果HJ_3=(-1)ANDREF(HJ_8,1)<=1日前的HJ_9AND(HJ_8>=4ORLLV(HJ_7,HJ_8)=(-1)ORLLV(最低价,HJ_9+2)<1日前的HJ_9+1日内最低价的最低值),返回(-1),否则返回0
HJ_14赋值:如果HJ_12=(-1)ORHJ_13=(-1)ANDLOWHJ_15赋值:如果HJ_9<4ANDHHV(HJ_7,HJ_9)不等于1ORREF(HJ_14,HJ_9)=0,返回1,否则返回0
HJ_16赋值:如果HJ_6=1ANDREF(HJ_9,1)<=1日前的HJ_8ANDHJ_15=1ANDHJ_11>HJ_9+1日前的HJ_10ANDHJ_11>HJ_9日前的HJ_10ANDHJ_11>HJ_8日前的HJ_11,返回1,否则返回0
HJ_17赋值:如果HJ_6=1ANDREF(HJ_9,1)>1日前的HJ_8ANDHHV(最高价,HJ_9+1)>1日前的HJ_9+1日内最高价的最高值,返回1,否则返回0
HJ_18赋值:如果HJ_6=1ANDREF(HJ_9,1)<=1日前的HJ_8ANDREF(HJ_14,HJ_9)=(-1)AND(HJ_9>=4ORHHV(HJ_7,HJ_9)=1),返回1,否则返回0
HJ_19赋值:如果HJ_17=1ORHJ_18=1ORHJ_16=1ANDHIGH>HJ_9+1日前的最低价,返回1,否则返回0
HJ_20赋值:如果HJ_8<4ANDHHV(HJ_7,HJ_8)不等于1ORREF(HJ_19,HJ_8)=0,返回1,否则返回0
HJ_21赋值:如果HJ_3=(-1)ANDREF(HJ_8,1)<=1日前的HJ_9ANDHJ_20=1ANDHJ_10>HJ_8+1日前的HJ_11ANDHJ_10>HJ_8日前的HJ_11ANDHJ_10>HJ_9日前的HJ_10,返回(-1),否则返回0
HJ_22赋值:如果HJ_3=(-1)ANDREF(HJ_8,1)>1日前的HJ_9ANDLLV(最低价,HJ_8+1)<1日前的HJ_8+1日内最低价的最低值,返回(-1),否则返回0
HJ_23赋值:如果HJ_3=(-1)ANDREF(HJ_8,1)<=1日前的HJ_9AND(HJ_8>=4ORLLV(HJ_7,HJ_8)=(-1)ORHJ_21=(-1)),返回(-1),否则返回0
HJ_24赋值:如果HJ_22=(-1)ORHJ_23=(-1)ANDLOWHJ_25赋值:上次HJ_19=1距今天数
HJ_26赋值:上次HJ_24=(-1)距今天数
HJ_27赋值:如果HJ_26<4ANDHHV(HJ_7,HJ_26)不等于1ORREF(HJ_24,HJ_26)=0,返回1,否则返回0
HJ_28赋值:如果HJ_6=1ANDREF(HJ_26,1)<=1日前的HJ_25ANDHJ_27=1ANDHJ_11>HJ_26+1日前的HJ_10ANDHJ_11>HJ_26日前的HJ_10ANDHJ_11>HJ_25日前的HJ_11,返回1,否则返回0
HJ_29赋值:如果HJ_6=1ANDREF(HJ_26,1)>1日前的HJ_25ANDHHV(最高价,HJ_26+1)>1日前的HJ_26+1日内最高价的最高值,返回1,否则返回0
HJ_30赋值:如果HJ_6=1ANDREF(HJ_26,1)<=1日前的HJ_25ANDREF(HJ_24,HJ_26)=(-1)AND(HJ_26>=4ORHHV(HJ_7,HJ_26)=1),返回1,否则返回0
HJ_31赋值:如果HJ_29=1ORHJ_30=1ORHJ_28=1ANDHIGH>HJ_26+1日前的最低价,返回1,否则返回0
HJ_32赋值:如果HJ_25<4ANDHHV(HJ_7,HJ_25)不等于1ORREF(HJ_29,HJ_25)=0,返回1,否则返回0
HJ_33赋值:如果HJ_3=(-1)ANDREF(HJ_25,1)<=1日前的HJ_26ANDHJ_32=1ANDHJ_10>HJ_25+1日前的HJ_11ANDHJ_10>HJ_25日前的HJ_11ANDHJ_10>HJ_26日前的HJ_10,返回(-1),否则返回0
HJ_34赋值:如果HJ_3=(-1)ANDREF(HJ_25,1)>1日前的HJ_26ANDLLV(最低价,HJ_25+1)<1日前的HJ_25+1日内最低价的最低值,返回(-1),否则返回0
HJ_35赋值:如果HJ_3=(-1)ANDREF(HJ_25,1)<=1日前的HJ_26AND(HJ_25>=4ORLLV(HJ_7,HJ_25)=(-1)ORHJ_33=(-1)),返回(-1),否则返回0
HJ_36赋值:如果HJ_34=(-1)ORHJ_35=(-1)ANDLOWHJ_37赋值:上次HJ_31=1距今天数
HJ_38赋值:上次HJ_36=(-1)距今天数
HJ_39赋值:如果HJ_38<4ANDHHV(HJ_7,HJ_38)不等于1ORREF(HJ_36,HJ_38)=0,返回1,否则返回0
HJ_40赋值:如果HJ_6=1ANDREF(HJ_38,1)<=1日前的HJ_37ANDHJ_39=1ANDHJ_11>HJ_38+1日前的HJ_10ANDHJ_11>HJ_38日前的HJ_10ANDHJ_11>HJ_37日前的HJ_11,返回1,否则返回0
HJ_41赋值:如果HJ_6=1ANDREF(HJ_38,1)>1日前的HJ_37ANDHHV(最高价,HJ_38+1)>1日前的HJ_38+1日内最高价的最高值,返回1,否则返回0
HJ_42赋值:如果HJ_6=1ANDREF(HJ_38,1)<=1日前的HJ_37ANDREF(HJ_36,HJ_38)=(-1)AND(HJ_38>=4ORHHV(HJ_7,HJ_38)=1),返回1,否则返回0
HJ_43赋值:如果HJ_41=1ORHJ_42=1ORHJ_40=1ANDHIGH>HJ_38+1日前的最低价,返回1,否则返回0
HJ_44赋值:如果HJ_37<4ANDHHV(HJ_7,HJ_37)不等于1ORREF(HJ_41,HJ_37)=0,返回1,否则返回0
HJ_45赋值:如果HJ_3=(-1)ANDREF(HJ_37,1)<=1日前的HJ_38ANDHJ_44=1ANDHJ_10>HJ_37+1日前的HJ_11ANDHJ_10>HJ_37日前的HJ_11ANDHJ_10>HJ_38日前的HJ_10,返回(-1),否则返回0
HJ_46赋值:如果HJ_3=(-1)ANDREF(HJ_37,1)>1日前的HJ_38ANDLLV(最低价,HJ_37+1)<1日前的HJ_37+1日内最低价的最低值,返回(-1),否则返回0
HJ_47赋值:如果HJ_3=(-1)ANDREF(HJ_37,1)<=1日前的HJ_38AND(HJ_37>=4ORLLV(HJ_7,HJ_37)=(-1)ORHJ_45=(-1)),返回(-1),否则返回0
HJ_48赋值:如果HJ_46=(-1)ORHJ_47=(-1)ANDLOWHJ_49赋值:如果HJ_43=1ANDHJ_48=(-1)ANDHIGH>1日前的HJ_37+2日前的最高价,返回1,否则返回如果HJ_43=1ANDHJ_48=(-1)ANDLOW<1日前的HJ_38+2日前的最低价,返回(-1),否则返回0
HJ_50赋值:如果HJ_49=0,返回HJ_43+HJ_48,否则返回HJ_49
HJ_51赋值:如果日期<1161215,返回1,否则返回1
HJ_52赋值:如果HJ_50=(-1),返回最低价,否则返回如果HJ_50=1,返回最高价,否则返回无效数
HJ_53赋值:当满足条件HJ_50=(-1)时,在HJ_52位置画直线起点,当满足条件HJ_50=1时,在HJ_52位置画直线终点,0表示是否延长.
HJ_54赋值:当满足条件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赋值:如果HJ_55,返回最高价*HJ_51,否则返回无效数
HJ_57赋值:HJ_53=HJ_54 AND HJ_1 AND HJ_50=(-1)
HJ_58赋值:如果HJ_57,返回最低价*HJ_51,否则返回无效数
HJ_59赋值:上次HJ_50的绝对值距今天数
HJ_60赋值:收盘价/HJ_59日前的收盘价*100-100
输出 NOTEXT跌速:如果HJ_50=(-1),返回(HJ_54-1日前的HJ_54)/1日前的HJ_54/(0.1/100)*HJ_51,否则返回无效数
输出跌坡度:当满足条件NOTEXT跌速<0时以NOTEXT跌速位置为顶点画折线连接,画绿色,线宽为2
输出 NOTEXT跌点:如果HJ_50=(-1),返回跌坡度,否则返回无效数,CIRCLEDOT,画蓝色,线宽为5
HJ_61赋值:上次HJ_50=1距今天数
HJ_62赋值:若是否最后一个周期则将最近HJ_61+1周期置为1
HJ_63赋值:如果HJ_50=0,返回(收盘价-HJ_61日前的最高价)/HJ_61日前的最高价/HJ_61/(0.1/100)*HJ_51,否则返回无效数
输出跌点:如果ISLASTBARANDHJ_60<0,返回HJ_63,否则返回无效数,CIRCLEDOT,画绿色,线宽为5
当满足条件ISLASTBARANDHJ_60<0时,在跌点位置书写数字,画绿色
HJ_64赋值:HJ_62=1 AND 1日前的HJ_62=0
HJ_65赋值:如果HJ_64,返回(HJ_53-1日前的HJ_53)/1日前的HJ_53/(0.1/100)*HJ_51,否则返回无效数
输出 NOTEXT涨速:如果HJ_50=1,返回(HJ_53-1日前的HJ_53)/1日前的HJ_53/(0.1/100)*HJ_51,否则返回无效数
输出涨坡度:当满足条件NOTEXT涨速>0时以NOTEXT涨速位置为顶点画折线连接,画红色,线宽为2
输出 NOTEXT涨点:如果HJ_50=1,返回涨坡度,否则返回无效数,CIRCLEDOT,画洋红色,线宽为5
HJ_66赋值:上次HJ_50=(-1)距今天数
HJ_67赋值:若是否最后一个周期则将最近HJ_66+1周期置为1
HJ_68赋值:如果HJ_50=0,返回(收盘价-HJ_66日前的最低价)/HJ_66日前的最低价/HJ_66/(0.1/100)*HJ_51,否则返回无效数
输出涨点:如果ISLASTBARANDHJ_60>0,返回HJ_68,否则返回无效数,CIRCLEDOT,画红色,线宽为5
当满足条件ISLASTBARANDHJ_60>0时,在涨点位置书写数字,画红色
输出 NOTEXTDDG:当满足条件HJ_50=(-1)时,在NOTEXT跌点位置画直线起点,当满足条件HJ_50=1时,在NOTEXT涨点位置画直线终点,0表示是否延长.,画淡红色
输出 NOTEXTGDD:当满足条件HJ_50=1时,在NOTEXT涨点位置画直线起点,当满足条件HJ_50=(-1)时,在NOTEXT跌点位置画直线终点,0表示是否延长.,画黄色
当满足条件HJ_50=(-1)时,在NOTEXT跌点位置书写数字,画绿色
当满足条件HJ_50=1时,在NOTEXT涨点位置书写数字,画红色
HJ_69赋值:T日内最低价的最低值=HJ_58*HJ_51
HJ_70赋值:上次HJ_69距今天数
HJ_71赋值:统计HJ_70日中满足HJ_57的天数*HJ_51
HJ_72赋值:统计HJ_70日中满足HJ_55的天数*HJ_51
HJ_73赋值:如果HJ_70>0,返回上次HJ_72=1距今天数,否则返回无效数
HJ_74赋值:T日内最高价的最高值=HJ_56*HJ_51
HJ_75赋值:上次HJ_74距今天数
HJ_76赋值:统计HJ_75日中满足HJ_55的天数*HJ_51
HJ_77赋值:统计HJ_75日中满足HJ_57的天数*HJ_51
HJ_78赋值:上次HJ_77=1距今天数
HJ_79赋值:如果最低价=HJ_75日内最低价的最低值,返回1,否则返回0
HJ_80赋值:如果HJ_50=(-1)AND跌坡度>1日前的跌坡度AND跌坡度<0,返回1,否则返回0
HJ_81赋值:HJ_79=1 AND HJ_80=1 AND HJ_50=(-1)
当满足条件HJ_81时,在跌坡度位置画26号图标
HJ_82赋值:如果最高价=HJ_70日内最高价的最高值,返回1,否则返回0
HJ_83赋值:如果HJ_50=1AND涨坡度<1日前的涨坡度AND涨坡度>0,返回1,否则返回0
HJ_84赋值:HJ_82=1 AND HJ_83=1 AND HJ_50=1
当满足条件HJ_84时,在涨坡度位置画27号图标

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图