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

    正文概述    2022-06-11 00:00:00  

    N:=34;
    SHORT:=12;
    LONG:=26;
    MID:=9;
    RJJ := (HIGH + LOW + CLOSE)/3;
    RS:=SUM(IF(RJJ>REF(RJJ,1),RJJ*vol,0),N)/SUM(IF(RJJ<=REF(RJJ,1),RJJ*VOL,0),N);
    BL:=100-100/(1+RS);
    资金流:BL,NODRAW;
    A1:=SUM(IF(BL>REF(BL,1),VOL,IF(BL<REF(BL,1),-VOL,0)),0);{obv}
    dif:Ema(A1,SHORT)-ema(A1,LONG);
    DEA:EMA(DIF,MID);
    MacD:(DIF-DEA)*2,COLORSTICK;
    STICKLINE(macd>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORWHITE;
    STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORBLUE;
    STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORCYAN;
    STICKLINE(MACD>=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORRED;
    DRAWTEXT(crOSS(DIF,DEA)AND DEA<0,DEA,'↖注意底部')COLORBLUE;
    DRAWTEXT((MACD>=REF(MACD,1) AND MACD<0),MACD,'.'),COLORWHITE;
    DRAWTEXT(CROSS(DIF,DEA) AND DEA>0,DEA,'.加油'),COLORCYAN;
    DRAWTEXT((MACD<=REF(MACD,1) AND MACD>0),MACD,'.'),COLORCYAN;



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