最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信股性副图及贴图未加密选股指标公式源码

    正文概述    2022-05-12 00:00:00  

    REFLINE:2;

    {-----------趋势与股性-----------}

    CS:=Dma(AMOUNT/(100*vol),VOL/CAPITAL);

    M20:=MA(C,20);

    M30:=MA(C,30);

    M2:=M20>REF(M20,1);

    M3:=M30>REF(M30,1);

    MCS:=CS>REF(CS,1);

    TRD:=M2+M3+MCS>1;{趋势}

    LBARS:=LLVBARS(L,21);

    BARS:=IF(LBARS<13,13,LBARS);

    acT:SMA(MAX(Abs(C-O),ABS(C-REF(C,1)))/REF(C,1)*100,10,1),LINETHICK2;{活跃度}

    YD:=ACT>LLV(ACT,13)*1.2;{异动}

    A1:=ACT<2 AND NOT(YD);{弱}

    A2:=ACT<2 AND YD;{异动}

    A3:=ACT>=2 AND TRD;{强}

    A4:=ACT>=2 AND NOT(TRD); {跌}

    2,COLOR5E5E5E;

    IF(A1>0,ACT,DRAWNULL),COLORYELLOW,LINETHICK3;

    IF(A2>0,ACT,DRAWNULL),COLORLICYAN,LINETHICK3;

    IF(A3>0,ACT,DRAWNULL),COLORWHITE,LINETHICK3;

    IF(A4>0,ACT,DRAWNULL),COLORCYAN,LINETHICK3;

    DRAWTEXT_FIX(1,0.05,0.02,1,'弱势'),COLORYELLOW;

    DRAWTEXT_FIX(1,0.05,0.17,1,'异动'),COLORLICYAN;

    DRAWTEXT_FIX(1,0.05,0.32,1,'强势'),COLORWHITE;

    DRAWTEXT_FIX(1,0.05,0.47,1,'跌秃'),COLORCYAN;

    DRAWTEXT_FIX(1,0.5,0.42,1,'短线:异动或强势——参与?!股性处于2以上比较活跃'),COLOR5E5E5E;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信股性副图及贴图未加密选股指标公式源码 加入收藏