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

    正文概述    2024-04-13 15:07:09  

    STICKLINE(1,60,58,12,0),COLORLIRED;
    STICKLINE(1,75,77,12,0),COLORRED;
    STICKLINE(1,30,32,12,0),COLORLIRED;
    LC:=REF(CLOSE,1);
    rsi12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100,COLORRED,LINETHICK1;
    RSI56:SMA(MAX(CLOSE-LC,0),56,1)/SMA(ABS(CLOSE-LC),56,1)*100,COLORMAGENTA,LINETHICK2;
    MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
    HD:=HIGH-REF(HIGH,1);
    LD:=REF(LOW,1)-LOW;
    DMP:=SUM(IF(HD>0 AND HD>LD,HD,0),14);
    DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),14);
    pdi:DMP*100/MTR,COLORYELLOW;
    mdi:=DMM*100/MTR,COLORGREEN;
    ADX:MA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORWHITE,LINETHICK2;
    ADXR:=(ADX+REF(ADX,6))/2,COLORCYAN;
    DRAWTEXT(RSI12>70 AND ADX>70,ADX,'A'),COLORRED;
    量比:=vol/REF(VOL,1);
    DRAWTEXT(量比>3 AND C/REF(C,1)>1.05 AND RSI56>54 AND ADX<30,30,'关注A'),COLORMAGENTA;
    STICKLINE(量比>2.2 AND C/REF(C,1)>1.05 AND RSI56>54 AND ADX<30,ADX,RSI56,2,0),COLORCYAN;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信DMI修正指标公式 加入收藏