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

    正文概述    2024-04-13 07:37:56  

    分享收藏的通达信公式 ---高低区间,好用,比黄金分割线简洁,上涨下跌空间一目了然.
    唯觉右上角蓝色背景似应去掉,打开公式文本,将
    DRAWBAND(GD4,RGB(0,0,250),那个250改成0,即(0,0,0)就行了!
    附件文本,粘贴即可

    N:=120;
    N8:=STRCAT(CON2STR(YEAR,0), '年' );
    Y8:=STRCAT(CON2STR(MONTH,0),' 月' );
    R8:=STRCAT(CON2STR(DAY,0),' 日' );
    K:=BARSLAST(CURRBARSCOUNT=N);
    GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
    DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
    KJ:=GD-DD;
    SJ8:=STRCAT(STRCAT(N8,Y8), R8);
    GD4:=IF(CURRBARSCOUNT =N/2,GD,DRAWNULL);
    DRAWBAND(GD4,RGB(0,0,250),DD+KJ/2,RGB(0,0,0));平衡:IF(CURRBARSCOUNT =N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;

    压力:IF(CURRBARSCOUNT =N,GD-KJ*0.191,DRAWNULL),COLORFF00FF,NODRAW;
    支撑:IF(CURRBARSCOUNT =N,DD+KJ*0.191,DRAWNULL),COLOR00FF00,NODRAW;
    低吸:IF(CURRBARSCOUNT =N/2 AND CROSS(平衡,LOW),1,DRAWNULL),COLORFF8899,NODRAW;
    低涨:IF(CURRBARSCOUNT =N,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;
    天:BARSLAST(L=DD),COLOR00FFFF,NODRAW;

    MA11:MA(CLOSE,5),COLORFFFFFF;
    MA21:MA(CLOSE,10),COLOR00FFFF;
    MA55:MA(C,20),COLORFF00FF;
    MA144:MA(C,144),COLORFF00FF;

    DRAWTEXT_FIX(C 0,0.5,0,0,SJ8),COLOR00FFFF;
    高:IF(CURRBARSCOUNT =N,GD,DRAWNULL),COLOR00FFFF,POINTDOT;
    低:IF(CURRBARSCOUNT =N,DD,DRAWNULL),COLOR00FF00,POINTDOT;
    STICKLINE(CURRBARSCOUNT=N,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORGREEN;
    STICKLINE(CURRBARSCOUNT =N,平衡,平衡,3,-1),COLORWHITE;
    STICKLINE(CURRBARSCOUNT =N/2,压力,压力,3,-1),COLORRED;
    STICKLINE(CURRBARSCOUNT =N/2,支撑,支撑,3,-1),COLORGREEN;


    分享通达信公式 高低区间源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 分享通达信公式 高低区间源码 加入收藏