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

    正文概述    2024-04-13 14:37:42  

    通达信分时主图公式

    源码

    DRAWTEXT_FIX(ISLASTBAR,0.00,0.06,0,STRCAT('涨家数: ',CON2STR(DYNAINFO(60),0))),COLORLIRED;
    DRAWTEXT_FIX(ISLASTBAR,0.00,0.14,0,STRCAT('跌家数: ',CON2STR(DYNAINFO(61),0))),COLORGREEN;
    总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;
    DRAWTEXT_FIX(ISLASTBAR,0.0,0.22,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORCYAN;
    DRAWTEXT_FIX(ISLASTBAR,0.5,0.08,0,CODE),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.45,0.08,0,STKNAME)COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.55,0.08,0,HYBLOCK),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,DYBLOCK),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.3,0.79,0,GNBLOCK),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.3,0.87,0,FGBLOCK),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0.3,0.95,0,ZSBLOCK),COLORWHITE;
    今日开盘线:DYNAINFO(4),COLORMAGENTA;
    {www.9m8.cn}
    AAA:=MAX(DYNAINFO(3),DYNAINFO(5));
    BBB:=MIN(DYNAINFO(3),DYNAINFO(6));
    CCC:=AAA-BBB;
    中轨:=(AAA+BBB)/2,COLOR999900;
    DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
    DEAA:=EMA(DIFF,9);MACD:=(DIFF-DEAA)/4;
    阻力:BBB+CCC*7/8,COLOR00DD00,LINETHICK2;
    支撑:BBB+CCC*1/8,COLOR00DD00,LINETHICK2;
    上顶:BBB+CCC*2/3,COLOR999900;
    下底:BBB+CCC/3,COLOR999900;
    价:C,COLOR00FFFF;
    最新:C,LINETHICK9,COLORFFFF00;
    IF(C =REF(C,1),C,DRAWNULL),LINETHICK9,COLOR0909FF;
    DRAWICON(LONGCROSS(支撑,C,2),C,1);
    DRAWICON(LONGCROSS(C,阻力,2),C,2);

    通达信分时主图公式

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信分时主图公式 加入收藏