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

    正文概述    2024-05-04 04:10:28  
       变色指标公式

       DRAWTEXT_FIX(ISLASTBAR,0.79,0.05,1,DYBLOCK),COLORMAGENTA,LINET

        HICK5;

        DRAWTEXT_FIX(ISLASTBAR,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHIC

        K3;

        DRAWTEXT_FIX(ISLASTBAR,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHIC

        K5;

        DRAWTEXT_FIX(ISLASTBAR,0.79,0.05,1,DYBLOCK),COLORYELLOW,LINETHI

        CK3;

        DRAWTEXT_FIX(ISLASTBAR,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHIC

        K5;

        MA5:MA(CLOSE,5);

        MA13:MA(CLOSE,13);

        MA21:MA(CLOSE,21);

        MA30:MA(CLOSE,30);

        MA60:MA(CLOSE,60);

        MA89:MA(CLOSE,89);

        MA144:MA(CLOSE,144),LINETHICK2;

        MA233:MA(CLOSE,233),LINETHICK2;

        MA377:MA(CLOSE,377);

        MA4181:MA(CLOSE,4181),LINETHICK3;

        二分之一:REF((H+L)/2,1),POINTDOT;

        上升:IF(MA30 REF(MA30,1),MA30,DRAWNULL),COLORRED,LINETHICK3;

        下降:IF(MA30 REF(MA30,1),MA30,DRAWNULL),COLORGREEN,LINETHICK3;

        IF(MA60 REF(MA60,1),MA60,DRAWNULL),COLORLIRED,LINETHICK3;

        IF(MA60 REF(MA60,1),MA60,DRAWNULL),COLORLIBLUE,LINETHICK3;


    image.png

     

        通达信变色指标公式

       

    {M1 2, 1000,5;M2 2,1000,10;M3 2 ,1000, 20; M4 2, 1000, 60; M5 2, 1000,

    120; M6 2, 1000, 240;}

    MA1:MA(CLOSE,M1);

    MA2:MA(CLOSE,M2);

    MA3:MA(CLOSE,M3);

    MA4:MA(CLOSE,M4);

    MA5:MA(CLOSE,M5);

    MA6:MA(CLOSE,M6);

    C2:=REF(C,1);

    涨停:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0);

    STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;

    STICKLINE(涨停,H,L,0,0),COLORRED;

    跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);

    STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;

    STICKLINE(跌停,H,L,0,1),COLORGREEN;


    image.png


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 变色指标公式 通达信k线涨停变色指标公式 加入收藏