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

    正文概述    2024-04-13 20:30:07  

    蓝钻表示能量初起,红钻表示将爆发
     

    OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE OBVE:=EMA(OBV,3);
    DIFF := EMA(OBVE,12) - EMA(OBVE,26);
    BBDIFF:=DIFF-REF(DIFF,1);
    DEA := EMA(DIFF,9);
    BBDEA:=DEA-REF(DEA,1);
    MACD:=2*(DIFF-DEA), COLORSTICK;
    STICKLINE(MACD0,0,MACD,1,0)*5000000,COLORGREEN;
    STICKLINE(MACD STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0)*5000000,COLOR0099FF;
    STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0)*5000000,COLORYELLOW;
     

    N:=10;M:=30;
    VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
    OBV3:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
    OBV1:=MA(OBV3,N);
    OBV2:=MA(OBV3,M);
    买点1:=CROSS(OBV3,OBV2) AND SUM(OBV3,20) DRAWICON(买点1,0,27);
    买点2:=CROSS(OBV1,OBV2),COLORMAGENTA,NODRAW;
    DRAWICON(买点2,0,25);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信能量潮副图公式源码 加入收藏