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

    正文概述    2024-04-13 17:31:16  

    N1:=3;N2:=13;
    H1:EMA(CLOSE,N1);
    H2:EMA(CLOSE,N2);
    STICKLINE(H1>H2,H1,H2,1,1),COLORRED;
    STICKLINE(H1<=H2,H1,H2,1,1),COLORGREEN;
    E3:EMA(C,40),COLOR61DC16;
    E5:EMA(C,42),COLOR61DC16;
    E8:EMA(C,45),COLOR61DC16;
    E10:EMA(C,49),COLOR61DC16;
    E12:EMA(C,54),COLOR61DC16;
    E15:EMA(C,60),COLOR61DC16;
    IF(E3>REF(E3,1),E3,DRAWNULL),COLORYELLOW;
    IF(E5>REF(E5,1),E5,DRAWNULL),COLORYELLOW;
    IF(E8>REF(E8,1),E8,DRAWNULL),COLORYELLOW;
    IF(E10>REF(E10,1),E10,DRAWNULL),COLORYELLOW;
    IF(E12>REF(E12,1),E12,DRAWNULL),COLORYELLOW;
    IF(E15>REF(E15,1),E15,DRAWNULL),COLORYELLOW;
    A:=AMOUNT/V/100;VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);
    操盘线:=EMA(((VARA/10)+EMA(A,10)),3);行情线:=EMA(A,3);
    重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
    趋势线:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
    红升:IF(重心>=趋势线,趋势线,DRAWNULL),COLORRED,LINETHICK2;
    蓝降:IF(重心<趋势线,趋势线,DRAWNULL),COLORBLUE,LINETHICK2;
    STICKLINE(行情线<操盘线,H,L,0,1),COLORGREEN;
    STICKLINE(行情线<操盘线,C,O,2,1),COLORGREEN;
    STICKLINE(行情线>=操盘线,H,L,0,1),COLORRED;
    STICKLINE(行情线>=操盘线,C,O,2,1),COLORRED;
    DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
    DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
    JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
    涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
    STICKLINE(涨停,O,C,2,0),COLORRED;
    跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);
    STICKLINE(跌停,O,C,2,1),COLORGREEN;
    主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
    B:=主趋势线>REF(主趋势线,1);
    IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK3;
    AA:=EMA(C,5) > EMA(C,20);
    BB:=EMA(C,5) < EMA(C,20);
    CC:= EMA(C,5) > EMA(C,10);
    CC1:=EMA(C,5) < EMA(C,10);
    DD:=CLOSESTICKLINE(AA,H,L,0,0),COLORRED;
    STICKLINE(AA,O,C,3,1),COLORRED;
    STICKLINE(AA AND DD,O,C,3,0),COLORRED;
    STICKLINE(BB,H,L,0,0),COLORGREEN;
    STICKLINE(BB,O,C,3,1),COLORGREEN;
    STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;
    STICKLINE(BB AND CC,H,L,0,1),COLORWHITE;
    STICKLINE(BB AND CC,O,C,3,1),COLORWHITE;
    STICKLINE(BB AND CC AND DD,O,C,3,0),COLORWHITE;
    STICKLINE(AA AND CC1,H,L,0,0),COLORWHITE;
    STICKLINE(AA AND CC1,O,C,3,1),COLORWHITE;
    STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
    AAA:=CONST(HHV(C,90));
    短上轨:EMA(HIGH,75),COLORRED;
    短下轨:EMA(LOW,75),COLORGREEN;
    NOTEXT短下轨0:IF(CLOSE>短下轨,短下轨,DRAWNULL),COLORRED;
    NOTEXT短下轨1:IF(CLOSE<短下轨,短下轨,DRAWNULL),COLORGREEN;
    NOTEXT短上轨0:IF(CLOSE>短上轨,短上轨,DRAWNULL),COLORRED;
    NOTEXT短上轨1:IF(CLOSE<短上轨,短上轨,DRAWNULL),COLORGREEN;
    STICKLINE(CLOSE>短上轨,短上轨,短下轨,0,0),COLORRED;
    STICKLINE(CLOSE<短下轨,短上轨,短下轨,0,0),COLORGREEN;
    短轨差:短上轨-短下轨,NODRAW,COLORYELLOW;
    长上轨:EMA(HIGH,155),COLORMAGENTA;
    长下轨:EMA(LOW,155),COLORBLUE;
    NOTEXT长下轨0:IF(CLOSE>长下轨,长下轨,DRAWNULL),COLORMAGENTA;
    NOTEXT长下轨1:IF(CLOSE<长下轨,长下轨,DRAWNULL),COLORBLUE;
    NOTEXT长上轨0:IF(CLOSE>长上轨,长上轨,DRAWNULL),COLORMAGENTA;
    NOTEXT长上轨1:IF(CLOSE<长上轨,长上轨,DRAWNULL),COLORBLUE;
    STICKLINE(CLOSE>长上轨,长上轨,长下轨,0,0),COLORMAGENTA;
    STICKLINE(CLOSE<长下轨,长上轨,长下轨,0,0),COLORBLUE;
    长轨差:长上轨-长下轨,NODRAW,COLORYELLOW;
    DRAWNUMBER(REF(CLOSE,3)短上轨 AND 短上轨<长下轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,4),COLORMAGENTA;
    DRAWNUMBER(REF(CLOSE,3)短上轨 AND CLOSE>长上轨 AND COUNT(CLOSE<短下轨,6)>0,LOW*0.96,10),COLORMAGENTA;
    DRAWNUMBER(REF(CLOSE,3)长上轨 AND CLOSE>短上轨 AND COUNT(CLOSE<长下轨,6)>0,LOW*0.96,10),COLORMAGENTA;
    DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短上轨>长上轨 AND CLOSE>长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,6),COLORMAGENTA;
    DRAWNUMBER(REF(CLOSE,3)>REF(短上轨,3) OR REF(CLOSE,3)>REF(短下轨,3) AND (REF(CLOSE,2)>REF(短上轨,2) OR REF(CLOSE,2)>REF(短下轨,2)) AND (REF(CLOSE,1)>REF(短上轨,1) OR REF(CLOSE,1)>REF(短下轨,1)) AND CLOSE<短下轨 AND 短下轨<长下轨 AND COUNT(CLOSE>短上轨,6)>0,HIGH*1.04,0),COLORMAGENTA;
    DRAWNUMBER(REF(CLOSE,3)>REF(长上轨,3) OR REF(CLOSE,3)>REF(长下轨,3) AND (REF(CLOSE,2)>REF(长上轨,2) OR REF(CLOSE,2)>REF(长下轨,2)) AND (REF(CLOSE,1)>REF(长上轨,1) OR REF(CLOSE,1)>REF(长下轨,1)) AND CLOSE<长下轨 AND CLOSE<短下轨 AND COUNT(CLOSE>长上轨,6)>0,HIGH*1.04,0),COLORMAGENTA;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信日线看大趋势指标公式 加入收藏