最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信大阴梯主图指标公式

    正文概述    2024-04-14 17:14:35  

    VAR1:=CONST(HHV(REF(HIGH,1),240));
    VAR2:=CONST(LLV(REF(LOW,1),240));
    VAR3:=VAR1-VAR2;
    VAR4:=LOW-VAR3*0.03;
    VAR5:=HIGH+VAR3*0.03;
    VAR6:=CLOSE>500;
    VAR7:=MAX(CLOSE,OPEN);
    VAR8:=MIN(CLOSE,OPEN);
    VAR9:=0;
    VAR10:=1;
    VAR11:=IF(VAR6,HIGH,VAR7);
    VAR12:=IF(VAR6,LOW,VAR8);
    VAR13:=IF(CLOSE>OPEN,IF(VAR10=0,LOW,VAR12),IF(VAR10=0,HIGH,VAR11));
    VAR14:=2/1000;
    VAR15:=CURRBARSCOUNT;
    VAR16:=120;
    VAR17:=VAR15<=VAR16;
    VAR18:=LOW;
    VAR19:=IF(VAR9=0,VAR18,REF(VAR9,VAR9));
    基准价:IF(VAR17,CONST(VAR19),DRAWNULL),DOTLINE,COLORRED;
    VAR20:=基准价;
    VAR21:=VAR20*VAR14;
    VAR22:=Abs(LOW-VAR20)<=VAR21;
    VAR23:=ABS(OPEN-VAR20)<=VAR21;
    VAR24:=ABS(CLOSE-VAR20)<=VAR21;
    VAR25:=ABS(HIGH-VAR20)<=VAR21;
    VAR26:=VAR22 OR VAR23 OR VAR24 OR VAR25 AND VAR17 AND VAR15!=1;
    VAR27:=COUNT(VAR26,VAR16);
    精准点个数:IF(VAR27>0,VAR27+1,0),NODRAW,COLORRED;
    VAR28:=CLOSE<0.96*OPEN OR CLOSE<=REF(CLOSE,1)*0.96 OR CLOSE>1000 AND CLOSE<=REF(CLOSE,1)*0.98;
    VAR29:=BArslAST(FILTER(VAR28,2));
    VAR30:=REF(OPEN,VAR29);
    DRAWLINE(VAR29=0,MAX(CLOSE,OPEN),REF(VAR29=0,1),REF(MAX(CLOSE,OPEN),1),1),COLORMAGENTA;
    VAR31:=AMOUNT/vol/100;
    VAR32:=CLOSE>OPEN AND REF(CLOSE,1)>VAR31 AND CLOSE>VAR31 AND CLOSE<300;
    STICKLINE(VAR32,OPEN,CLOSE,1,0),COLORLICYAN;
    VAR33:=OPEN>CLOSE AND CLOSEREF(CLOSE,1);
    STICKLINE(VAR33,OPEN,CLOSE,1,0),COLORRED;
    VAR34:=VOL>REF(VOL,1)*0.95 AND VOL VAR35:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND VAR34;
    STICKLINE(VAR35,OPEN,CLOSE,1,0),COLORBLUE;
    VAR36:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
    VAR37:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR36>=4.945;
    VAR38:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR36<=(-4.945);
    涨停价:IF(VAR37,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
    跌停价:IF(VAR38,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
    VAR39:=REF(CLOSE,1);
    VAR40:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
    STICKLINE(VAR40,OPEN,CLOSE,2,0),COLORMAGENTA;
    STICKLINE(VAR40,OPEN,CLOSE,1,0),COLORMAGENTA;
    VAR41:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
    STICKLINE(VAR41,OPEN,CLOSE,2,0),COLORGREEN;
    STICKLINE(VAR41,HIGH,LOW,0,1),COLORGREEN;
    流通市值:FINANCE(40)/100000000,NODRAW;
    MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
    循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
    VAR42:=HHV(VOL,10);
    VAR43:=BARSLAST(VAR42=VOL);
    VAR44:=crOSS(REF(MAX(CLOSE,OPEN),VAR43),CLOSE);
    STICKLINE(VAR44,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
    STICKLINE(VAR44,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
    DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
    VAR45:=CLOSEREF(CLOSE,5);
    VAR46:=REFX(CLOSE,1) VAR47:=CLOSEREF(CLOSE,6);
    VAR48:=REFX(CLOSE,1) VAR49:=CLOSEREF(CLOSE,7);
    VAR50:=REFX(CLOSE,1) VAR51:=CLOSEREF(CLOSE,8);
    VAR52:=REFX(CLOSE,1) VAR53:=CLOSEREF(CLOSE,9);
    VAR54:=REFX(CLOSE,1) VAR55:=CLOSEREF(CLOSE,10);
    VAR56:=REFX(CLOSE,1) VAR57:=CLOSEREF(CLOSE,11);
    VAR58:=REFX(CLOSE,1) VAR59:=CLOSEREF(CLOSE,12);
    VAR60:=REFX(CLOSE,1) VAR61:=CLOSEREF(CLOSE,13);
    VAR62:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
    VAR63:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
    VAR64:=CURRBARSCOUNT-1;
    DRAWNUMBER(VAR45 AND (VAR46 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58) OR (VAR64=3 AND VAR56) OR (VAR64=4 AND VAR54) OR (VAR64=5 AND VAR52) OR (VAR64=6 AND VAR50) OR (VAR64=7 AND VAR48)),VAR62,1),COLORMAGENTA;
    DRAWNUMBER(VAR47 AND (VAR48 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58) OR (VAR64=3 AND VAR56) OR (VAR64=4 AND VAR54) OR (VAR64=5 AND VAR52) OR (VAR64=6 AND VAR50)),VAR62,2),COLORMAGENTA;
    DRAWNUMBER(VAR49 AND (VAR50 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58) OR (VAR64=3 AND VAR56) OR (VAR64=4 AND VAR54) OR (VAR64=5 AND VAR52)),VAR62,3),COLORMAGENTA;
    DRAWNUMBER(VAR51 AND (VAR52 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58) OR (VAR64=3 AND VAR56) OR (VAR64=4 AND VAR54)),VAR62,4),COLORMAGENTA;
    DRAWNUMBER(VAR53 AND (VAR54 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58) OR (VAR64=3 AND VAR56)),VAR62,5),COLORMAGENTA;
    DRAWNUMBER(VAR55 AND (VAR56 OR VAR64=0 OR (VAR64=1 AND VAR60) OR (VAR64=2 AND VAR58)),VAR62,6),COLORMAGENTA;
    DRAWNUMBER(VAR57 AND (VAR58 OR VAR64=0 OR (VAR64=1 AND VAR60)),VAR62,7),COLORMAGENTA;
    DRAWNUMBER(VAR59 AND (VAR60 OR VAR64<1),VAR62,8),COLORMAGENTA;
    DRAWNUMBER(VAR61,VAR62,9),COLORGREEN;
    VAR65:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1) VAR66:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3) AND REFX(CLOSE,8)>REFX(CLOSE,4);
    VAR67:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2) VAR68:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3);
    VAR69:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3) VAR70:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2);
    VAR71:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4) VAR72:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1);
    VAR73:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5) VAR74:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE;
    VAR75:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6) VAR76:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1);
    VAR77:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7) VAR78:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2);
    VAR79:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8) VAR80:=REFX(CLOSE,1)>REF(CLOSE,3);
    VAR81:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12) AND REF(CLOSE,9) DRAWNUMBER(VAR65 AND (VAR66 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78) OR (VAR64=3 AND VAR76) OR (VAR64=4 AND VAR74) OR (VAR64=5 AND VAR72) OR (VAR64=6 AND VAR70) OR (VAR64=7 AND VAR68)),VAR63,1),COLORMAGENTA;
    DRAWNUMBER(VAR67 AND (VAR68 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78) OR (VAR64=3 AND VAR76) OR (VAR64=4 AND VAR74) OR (VAR64=5 AND VAR72) OR (VAR64=6 AND VAR70)),VAR63,2),COLORMAGENTA;
    DRAWNUMBER(VAR69 AND (VAR70 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78) OR (VAR64=3 AND VAR76) OR (VAR64=4 AND VAR74) OR (VAR64=5 AND VAR72)),VAR63,3),COLORMAGENTA;
    DRAWNUMBER(VAR71 AND (VAR72 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78) OR (VAR64=3 AND VAR76) OR (VAR64=4 AND VAR74)),VAR63,4),COLORMAGENTA;
    DRAWNUMBER(VAR73 AND (VAR74 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78) OR (VAR64=3 AND VAR76)),VAR63,5),COLORMAGENTA;
    DRAWNUMBER(VAR75 AND (VAR76 OR VAR64=0 OR (VAR64=1 AND VAR80) OR (VAR64=2 AND VAR78)),VAR63,6),COLORMAGENTA;
    DRAWNUMBER(VAR77 AND (VAR78 OR VAR64=0 OR (VAR64=1 AND VAR80)),VAR63,7),COLORMAGENTA;
    DRAWNUMBER(VAR79 AND (VAR80 OR VAR64<1),VAR63,8),COLORMAGENTA;
    DRAWNUMBER(VAR81,VAR63,9),COLORGREEN;
    VAR82:=OPEN-(OPEN-CLOSE)/3;
    VAR83:=(OPEN+CLOSE)/2;
    VAR84:=OPEN-2*(OPEN-CLOSE)/3;
    STICKLINE((OPEN+CLOSE)/2 AND CLOSE/REF(CLOSE,1)>=1.035 OR REF(CLOSE,1)/CLOSE>=1.035,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORBLUE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信大阴梯主图指标公式 加入收藏