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

    正文概述    2024-04-14 15:08:23  

    收价:=1000*CLOSE/INDEXC;
    高价:=1000*HIGH/INDEXH;
    低价:=1000*LOW/INDEXL;
    开价:=1000*OPEN/INDEXO;
    STICKLINE(收价>=开价,开价,收价,2,0),COLORRED;
    STICKLINE(收价>=开价,高价,收价,0,0),COLORRED;
    STICKLINE(收价>=开价,开价,低价,0,0),COLORRED;
    STICKLINE(开价>=收价,收价,开价,2,0),COLORCYAN;
    STICKLINE(开价>=收价,收价,低价,0,0),COLORCYAN;
    STICKLINE(开价>=收价,开价,高价,0,0),COLORCYAN;
    N:=90;
    DAY1:=BARSLAST(CURRBARSCOUNT=180);
    低:=CONST(IF(ISLASTBAR=1,LLV(低价,DAY1),0));
    高:=CONST(IF(ISLASTBAR=1,HHV(高价,DAY1),0));
    差值:=CONST(IF(ISLASTBAR=1,高-低,0));
    阻1:=CONST(IF(ISLASTBAR=1,低+差值*0.191,0));
    阻2:=CONST(IF(ISLASTBAR=1,低+差值*0.382,0));
    阻3:=CONST(IF(ISLASTBAR=1,低+差值*0.5,0));
    阻4:=CONST(IF(ISLASTBAR=1,低+差值*0.618,0));
    阻5:=CONST(IF(ISLASTBAR=1,低+差值*0.809,0));
    DAY2:=CURRBARSCOUNT<=N;
    X7:IF(DAY2,高,DRAWNULL),COLORFFFF00;
    X6:IF(DAY2,阻5,DRAWNULL),COLOR0FF0FF;
    X5:IF(DAY2,阻4,DRAWNULL),COLOR00FF00;
    X4:=IF(DAY2,阻3,DRAWNULL),COLOR0000FF;
    X3:IF(DAY2,阻2,DRAWNULL),COLOR00FFFF;
    X2:IF(DAY2,阻1,DRAWNULL),COLORFF00FF;
    X1:IF(DAY2,低,DRAWNULL),COLORFFFF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信改编机构K线主图 加入收藏