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

    正文概述    2024-04-13 11:58:27  

    NOTEXTTY:CONST(CLOSE),DOTLINE,COLORCYAN;
    VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
    VAR2:=(8*VAR1+7*REF(VAR1,1)+6*REF(VAR1,2)+5*REF(VAR1,3)+4*REF(VAR1,4)+3*REF(VAR1,5)+2*REF(VAR1,6)+REF(VAR1,8))/36;
    VAR3:=(LLV(VAR2,2)+LLV(VAR2,4)+LLV(VAR2,6))/3;
    NOTEXT短线:VAR2,COLORYELLOW,LINETHICK2;
    NOTEXT中线:VAR3,COLORRED,LINETHICK2;
    NOTEXT:IF(VAR2=VAR3,VAR3,DRAWNULL),COLORGREEN,LINETHICK2;
    VAR4:=IF(CLOSE OPEN,CLOSE,OPEN);
    VAR5:=MEMA(CLOSE,5);
    VAR6:=ATAN((VAR5/REF(VAR5,1)-1)*100);
    VAR7:=IF(VAR6 0,VAR6,VAR6);
    VAR8:=(CLOSE/REF(CLOSE,1)-1)*100;
    VAR9:=VAR8 1.5 AND VAR8 (-1.5);
    黄金点★:LAST(VAR9,4,1) AND VAR8 2 AND VOL REF(VOL,1),NODRAW,COLORYELLOW;
    DRAWTEXT(黄金点★,LOW/1.01,61),COLORYELLOW;
    VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,4,0);
    VAR11:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
    VAR12:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);
    VAR13:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
    VAR14:=ZIG(3,22) REF(ZIG(3,22),1) AND REF(ZIG(3,22),1) =REF(ZIG(3,22),2) AND REF(ZIG(3,22),2) =REF(ZIG(3,22),3);
    VAR15:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
    VAR16:=ZIG(3,51) REF(ZIG(3,51),1) AND REF(ZIG(3,51),1) =REF(ZIG(3,51),2) AND REF(ZIG(3,51),2) =REF(ZIG(3,51),3);
    VAR17:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
    VAR18:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);
    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR20:=VAR10;
    VAR21:=VAR11+VAR13+VAR15+VAR17;
    VAR22:=VAR12+VAR14+VAR16+VAR18;
    NOTEXTB:IF(VAR20 0 OR VAR21 0,LOW*1,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK4;
    获利筹码:WINNER(CLOSE)*100,NODRAW,COLORMAGENTA;
    VAR23:=REF(CLOSE,1);
    VAR24:=IF((CLOSE-VAR23)*100/VAR23 =10-0.01*100/VAR23,1,0);
    STICKLINE(VAR24,OPEN,CLOSE,2,0),COLORRED;
    VAR25:=IF((VAR23-CLOSE)*100/VAR23 =10-0.01*100/VAR23,1,0);
    STICKLINE(VAR25,OPEN,CLOSE,2,0),COLORCYAN;
    VAR26:=EMA(CLOSE,5);
    VAR27:=EMA(CLOSE,40);
    VAR28:=CLOSE VAR26 AND CLOSE VAR27;
    VAR29:=CLOSE VAR27;
    VAR30:=CLOSE VAR26 AND CLOSE VAR27;
    VAR31:=CLOSE VAR26 AND CLOSE VAR27;
    STICKLINE(VAR28,CLOSE,OPEN,2,0),COLOR000055;
    STICKLINE(VAR28,CLOSE,OPEN,2,0),COLOR000088;
    STICKLINE(VAR28,CLOSE,OPEN,1.5,0),COLOR0000AA;
    STICKLINE(VAR28,CLOSE,OPEN,1,0),COLOR0000CC;
    STICKLINE(VAR28,CLOSE,OPEN,0.5,0),COLOR0000EE;
    STICKLINE(VAR28,HIGH,LOW,0,0),COLOR0000EE;
    STICKLINE(VAR29,CLOSE,OPEN,2,0),COLORGREEN;
    STICKLINE(VAR29,CLOSE,OPEN,2,0),COLORGREEN;
    STICKLINE(VAR29,CLOSE,OPEN,1.5,0),COLORGREEN;
    STICKLINE(VAR29,CLOSE,OPEN,1,0),COLORGREEN;
    STICKLINE(VAR29,CLOSE,OPEN,0.5,0),COLORGREEN;
    STICKLINE(VAR29,HIGH,LOW,0,0),COLORGREEN;
    STICKLINE(VAR30,OPEN,CLOSE,2,0),COLORBB4400;
    STICKLINE(VAR30,OPEN,CLOSE,2,0),COLORCC5500;
    STICKLINE(VAR30,OPEN,CLOSE,1.5,0),COLORDD6600;
    STICKLINE(VAR30,OPEN,CLOSE,1,0),COLOREE7700;
    STICKLINE(VAR30,OPEN,CLOSE,0.5,0),COLORFF8800;
    STICKLINE(VAR30,HIGH,LOW,0,0),COLORFF8800;
    STICKLINE(VAR31,OPEN,CLOSE,2,0),COLOR0077BB;
    STICKLINE(VAR31,OPEN,CLOSE,2,0),COLOR0099CC;
    STICKLINE(VAR31,OPEN,CLOSE,1.5,0),COLOR00BBDD;
    STICKLINE(VAR31,OPEN,CLOSE,1,0),COLOR00DDEE;
    STICKLINE(VAR31,OPEN,CLOSE,0.5,0),COLORYELLOW;
    STICKLINE(VAR31,HIGH,LOW,0,0),COLORYELLOW;
    VAR32:=EMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5);
    VAR33:=(HHV(HIGH,55)-LLV(LOW,55))/EMA(CLOSE-LLV(LOW,55),5);
    VAR34:=CROSS(VAR33,VAR32);
    VAR35:=REF(VAR33,2) REF(VAR33,1) AND VAR33 REF(VAR33,1);
    VAR36:=COUNT(VAR34,7) 0 AND VAR35;
    VAR37:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1)-2*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,5,1);
    VAR38:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
    VAR39:=EMA(VAR37,5);
    VAR40:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
    VAR41:=SMA(VAR40,3,1);
    VAR42:=SMA(VAR41,3,1);
    VAR43:=3*VAR41-2*VAR42;
    VAR44:=EMA(3*VAR41-2*VAR42,4);
    VAR45:=SMA(VAR44,5,1);
    VAR46:=MA(3*SMA(VAR38,6,1)-2*SMA(SMA(VAR38,5,1),5,1),2);
    VAR47:=CROSS(VAR46,0) AND VAR39
    VAR48:=IF(VAR36 AND COUNT(VAR36,5)=1,1,0);
    VAR49:=VAR47 AND VAR48 OR (CROSS(IF(VAR37 3 AND VAR45 5 AND VAR46 4,1,0),0.5) AND LLV(LOW,34)/HHV(HIGH,144) 0.78);
    STICKLINE(VAR49,HIGH,LOW,0,0),COLORRED;
    STICKLINE(VAR49,OPEN,CLOSE,(-1),0),COLOR000099;
    STICKLINE(VAR49,OPEN,CLOSE,2,0),COLOR0000AB;
    STICKLINE(VAR49,OPEN,CLOSE,1,0),COLOR0000DD;
    STICKLINE(VAR49,OPEN,CLOSE,0.1,0),COLORRED;
    DRAWTEXT(VAR49,CLOSE*0.96,64),COLORRED;
    VAR50:=COST(90);
    VAR51:=COST(12);
    VAR52:=WINNER(CLOSE)*100;
    VAR53:=100-WINNER(CLOSE)*100;
    VAR54:=COST(0.37);
    VAR55:=COST(6);
    VAR56:=COST(15);
    VAR57:=COST(95);
    VAR58:=COST(55);
    DRAWTEXT_FIX(1,0,0,0,66),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0,0,CONST(VAR52)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0,0,67),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.05,0,68),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.05,0,CONST(VAR54)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.05,0,67),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.1,0,69),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.1,0,CONST(VAR57)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.1,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.15,0,71),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.15,0,CONST(VAR55)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.15,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.2,0,72),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.2,0,CONST(VAR56)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.2,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.25,0,73),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.25,0,CONST(VAR58)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.25,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0,0.3,0,74),COLORLIRED;
    DRAWNUMBER_FIX(1,0.09,0.3,0,CONST(VAR50)),COLORLIRED;
    DRAWTEXT_FIX(1,0.14,0.3,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0.16,0.3,0,75),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.3,0,CONST(VAR51)),COLORLIRED;
    DRAWTEXT_FIX(1,0.29,0.3,0,70),COLORLIRED;
    VAR59:=HHV(HIGH,22);
    VAR60:=HIGH;
    VAR61:=VAR60/1.0809;
    VAR62:=VAR60/1.1618;
    VAR63:=VAR60/1.0809/1.1618;
    VAR64:=VAR60/1.1618/1.1618;
    DRAWTEXT_FIX(1,0.16,0,0,76),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0,0,CONST(VAR61)),COLORLIRED;
    DRAWTEXT_FIX(1,0.28,0,0,77),COLORLIRED;
    DRAWNUMBER_FIX(1,0.3,0,0,CONST(VAR62)),COLORLIRED;
    DRAWTEXT_FIX(1,0.34,0,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0.16,0.05,0,78),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.05,0,CONST(VAR63)),COLORLIRED;
    DRAWTEXT_FIX(1,0.28,0.05,0,77),COLORLIRED;
    DRAWNUMBER_FIX(1,0.3,0.05,0,CONST(VAR64)),COLORLIRED;
    DRAWTEXT_FIX(1,0.34,0.05,0,70),COLORLIRED;
    VAR65:=LLV(LOW,22);
    VAR66:=LOW;
    VAR67:=VAR66*1.0809;
    VAR68:=VAR66*1.1618;
    VAR69:=VAR66*1.0809*1.1618;
    VAR70:=VAR66*1.1618*1.1618;
    DRAWTEXT_FIX(1,0.16,0.1,0,79),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.1,0,CONST(VAR67)),COLORLIRED;
    DRAWTEXT_FIX(1,0.28,0.1,0,77),COLORLIRED;
    DRAWNUMBER_FIX(1,0.3,0.1,0,CONST(VAR68)),COLORLIRED;
    DRAWTEXT_FIX(1,0.34,0.1,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0.16,0.15,0,80),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.15,0,CONST(VAR69)),COLORLIRED;
    DRAWTEXT_FIX(1,0.28,0.15,0,77),COLORLIRED;
    DRAWNUMBER_FIX(1,0.3,0.15,0,CONST(VAR70)),COLORLIRED;
    DRAWTEXT_FIX(1,0.34,0.15,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0.16,0.2,0,81),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.2,0,CONST(VAR65)),COLORLIRED;
    DRAWTEXT_FIX(1,0.29,0.2,0,70),COLORLIRED;
    DRAWTEXT_FIX(1,0.16,0.25,0,82),COLORLIRED;
    DRAWNUMBER_FIX(1,0.25,0.25,0,CONST(VAR59)),COLORLIRED;
    DRAWTEXT_FIX(1,0.29,0.25,0,70),COLORLIRED;
    VAR71:=STRCAT(HYBLOCK,18);
    VAR72:=STRCAT(VAR71,DYBLOCK);
    VAR73:=STRCAT(DYBLOCK,18);
    VAR74:=STRCAT(VAR72,GNBLOCK);
    VAR75:=STRCAT(VAR74,18);
    DRAWTEXT_FIX(ISLASTBAR,1,1.1,8,STRCAT(VAR75,FGBLOCK)),COLORFFFF80;
    VAR76:=HORCALC(HYBLOCK,105,1,DRAWNULL);
    VAR77:=STRCAT(HYBLOCK,83);
    DRAWTEXT_FIX(ISLASTBAR,0.9,0.9,0,STRCAT(VAR77,CON2STR(VAR76,0))),COLORLIMAGENTA;
    通达信超级趋势源码副图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信超级趋势源码副图 加入收藏