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

    正文概述    2024-04-13 14:20:20  

    DRAWGBK(CLOSE OPEN,RGB(33,33,33),RGB(0,0,0),1,2,1);
    HJ_1:=XMA(HHV(HIGH,20),13);
    HJ_2:=XMA(LLV(LOW,20),13);
    DRAWBAND(HJ_1,RGB(25,25,25),HJ_2,RGB(25,25,25));
    DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
    昨日中间价:IF(BARSLAST(CURRBARSCOUNT-1=CONST(2)) =1 AND CLOSE 1,CONST(REF((HIGH+LOW)/2,1)),DRAWNULL),COLORYELLOW;
    十日中间价:IF(BARSLAST(CURRBARSCOUNT-1=CONST(10)) =1 AND CLOSE 1,CONST(REF((HHV(HIGH,10)+LLV(LOW,10))/2,1)),DRAWNULL),COLORRED;
    二十日中间价:IF(BARSLAST(CURRBARSCOUNT-1=CONST(20)) =1 AND CLOSE 1,CONST(REF((HHV(HIGH,20)+LLV(LOW,20))/2,1)),DRAWNULL),COLORBLUE;
    二十高:IF(BARSLAST(CURRBARSCOUNT-1=CONST(20)) =1 AND CLOSE 1,CONST(HHV(HIGH,20)),DRAWNULL),DOTLINE,COLORCYAN;
    二十低:IF(BARSLAST(CURRBARSCOUNT-1=CONST(20)) =1 AND CLOSE 1,CONST(LLV(LOW,20)),DRAWNULL),DOTLINE,COLORGREEN;
    DRAWNUMBER(ISLASTBAR,二十高,二十高),COLORCYAN;
    DRAWNUMBER(ISLASTBAR,二十低,二十低),COLORGREEN;
    DRAWNUMBER(ISLASTBAR,二十日中间价,二十日中间价),COLORBLUE;
    DRAWNUMBER(ISLASTBAR,十日中间价,十日中间价),COLORRED;
    DRAWNUMBER(ISLASTBAR,昨日中间价,昨日中间价),COLORYELLOW;

    {-----------------------------------}

    通达信关键价位主图源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信关键价位主图源码 加入收藏