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

    正文概述    2024-04-13 16:31:10  

    昨开:='REF(O,1)#DAY',NODRAW;
    昨高:='REF(H,1)#DAY',NODRAW;
    昨低:='REF(L,1)#DAY',NODRAW;
    昨收:=DYNAINFO(3),NODRAW;
    A1:=CROSS(C,昨高);
    B:=CROSS(昨高,C);
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.01,0,STRCAT('昨高: ',CON2STR(昨高,2))),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.06,0,STRCAT('昨低: ',CON2STR(昨低,2))),COLORMAGENTA;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.11,0,STRCAT('昨收: ',CON2STR(昨收,2))),COLORGREEN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.16,0,STRCAT('昨开: ',CON2STR(昨开,2))),COLORWHITE;


    {-----------------------------------------------------------};


    HH:=MAX(DYNAINFO(3),DYNAINFO(5));
    LL:=MIN(DYNAINFO(3),DYNAINFO(6));
    PP:=HH-LL;
    阻力:LL+PP*7/8,COLOR00DD00;
    支撑:LL+PP*0.5/8,COLORMAGENTA;
    现价:CLOSE;
    STICKLINE(CROSS(支撑,现价),支撑,(支撑+阻力)/2,2,0),COLORRED;
    STICKLINE(CROSS(现价,阻力),阻力,(支撑+阻力)/2,2,0),COLORGREEN;
    DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★吸'),LINETHICK2,,COLORYELLOW;
    DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★抛'),LINETHICK2,COLORRED;

    通达信分时阻力支撑高抛低吸主图指标源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信分时阻力支撑高抛低吸主图指标源码 加入收藏