最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 将 macd多周期 改成大智慧的

    正文概述    2024-04-14 08:33:29  

    九毛八公式指标

    公式模块:

    {macd多周期}
    零轴:0;
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    周DIF:="MacD.DIF#WEEK"(12,26,9);
    周DEA:="MACD.DEA#WEEK"(12,26,9);
    STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORLIRED;
    STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORLIGREEN;
    DRAWBAND(周DIF,RGB(255,200,70),周DEA,RGB(70,100,50));
    DRAWBAND(DIF,RGB(155,50,50),DEA,RGB(0,100,50));
    {DRAWBAND(DIF,RGB(255,200,70),DEA,RGB(70,100,50));};
    MACD:=(DIF-DEA)*2,COLORSTICK;
    STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
    STICKLINE(MACD<0,0,MACD,2,0),COLORLICYAN;
    零轴:0;
    DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIF,9);
    周DIF:="MACD.DIFF#WEEK"(12,26,9);
    周DEA:="MACD.DEA#WEEK"(12,26,9);
    STICKLINE("MACD.MACD#WEEK">=0,0,"MACD.MACD#WEEK",2.5,0),COLORRED;
    STICKLINE("MACD.MACD#WEEK"<0,0,"MACD.MACD#WEEK",2.5,0),COLORGREEN;
    FILLRGN(周DIF,周DEA,周DIF>周DEA,RGB(255,200,70),周DIF<周DEA,RGB(70,100,50));
    FILLRGN(DIF,DEA,DIF>DEa,RGB(155,50,50),DIF<DEA,RGB(0,100,50));
    MACD:=(DIF-DEA)*2;
    STICKLINE(MACD>=0,0,MACD,2,0),COLORRED;
    STICKLINE(MACD<0,0,MACD,2,0),COLOR00ff00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 将 macd多周期 改成大智慧的 加入收藏