最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • MACD跨周期在同一图表看盘, 5分 15分 30分 60分,一个字爽(副图、源码)

    正文概述    2024-04-07 18:48:36  

    使用【MACD】5分 15分 30分 60分跨周期在同一图表看盘,做T和做短,使你更清楚自己要做什麽。体验60分与30分如图
    {MACD 5分}
    分DIFF:= MACD.DIF#MIN5 (10,22,7.5);
    分DEAF:= MACD.DEA#MIN5 (10,22,7.5);
    MACD分:2*(分DIFF-分DEAF),NODRAW;
    DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
    GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
    GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
    0,COLORFFFF00,LINETHICK1;
    {MACD 15分}
    分DIFF:= MACD.DIF#MIN15 (10,22,7.5);
    分DEAF:= MACD.DEA#MIN15 (10,22,7.5);
    MACD分:2*(分DIFF-分DEAF),NODRAW;
    DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
    GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
    GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
    0,COLORFFFF00,LINETHICK1;
    {MACD 30分}
    分DIFF:= MACD.DIF#MIN30 (10,22,7.5);
    分DEAF:= MACD.DEA#MIN30 (10,22,7.5);
    MACD分:2*(分DIFF-分DEAF),NODRAW;
    DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
    GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
    GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
    0,COLORFFFF00,LINETHICK1;
    {MACD 60分}
    分DIFF:= MACD.DIF#MIN60 (10,22,7.5);
    分DEAF:= MACD.DEA#MIN60 (10,22,7.5);
    MACD分:2*(分DIFF-分DEAF),NODRAW;
    DRAWBAND(分DIFF,RGB(255,157,255),分DEAF,RGB(21,138,255));
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLOR0000FF;
    STICKLINE(MACD分 0,0,MACD分,0.01,0) ,COLORFFF000;
    GMB:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR0000FF;
    GMC:IF(CROSS(分DIFF,分DEAF) AND 分DIFF 0,-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLOR208FFF;
    0,COLORFFFF00,LINETHICK1;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » MACD跨周期在同一图表看盘, 5分 15分 30分 60分,一个字爽(副图、源码) 加入收藏