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

    正文概述    2024-04-14 15:12:12  

    N:=120;{120可以变}
    DAY1:=BARSLAST(CURRBARSCOUNT=N);
    低:=CONST(IF(ISLASTBAR=1,LLV(LOW,DAY1),0));
    高:=CONST(IF(ISLASTBAR=1,HHV(H,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),POINTDOT COLORFFFF00;
    X6:IF(DAY2,阻5,DRAWNULL),POINTDOT COLOR0FF0FF;
    X5:IF(DAY2,阻4,DRAWNULL),POINTDOT COLOR00FF00;
    X4:=IF(DAY2,阻3,DRAWNULL),POINTDOT COLOR0000FF;
    X3:IF(DAY2,阻2,DRAWNULL),POINTDOT COLOR00FFFF;
    X2:IF(DAY2,阻1,DRAWNULL),POINTDOT COLORFF00FF;
    X1:IF(DAY2,低,DRAWNULL),POINTDOT COLORFFFF00;
    {}
    M1:SUM(V*C,30)/SUM(V,30);
    M2:SUM(V*C,55)/SUM(V,55);
    M3:SUM(V*C,88)/SUM(V,88);
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信经典特色主图源码 加入收藏