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

    正文概述    2024-04-13 00:54:43  

    INPUT:SHORT(12,1,100),LONG(26,2,100),M(9,1,50),T(0,0,2);
    DIFF:=EMA(C,SHORT)-EMA(C,LONG);
    DEA:=EMA(DIFF,M);macd:=2*(DIFF-DEA);
    日DIF:IF(T=0,DIFF,0),PRECIS2,LAYER0,ColorRED;
    日DEA:IF(T=0,DEA,0),PRECIS2,LAYER0,ColorA8A818;
    MacD:2*(DIFF-DEA),Color283898,LINETHICK0;
    ZDIF:="MACD.DIFF#WEEK"(12,26,9); ZDEA:="MACD.DEA#WEEK"(12,26,9);
    YDIF:="MACD.DIFF#MONTH"(12,26,9); YDEA:="MACD.DEA#MONTH"(12,26,9);
    STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,0,0),Color282888;
    STICKLINE(MACD>0 AND MACD<=REF(MACD,1),0,MACD,0,1),Color505018;
    STICKLINE(MACD<0 AND MACD<=REF(MACD,1),0,MACD,0,0),Color083908;
    STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,0,1),Color503350;
    { _最新股票指标公式}
    周DIF:IF(T=1,ZDIF,0),PRECIS2,LAYER0,Color189898;
    周DEA:IF(T=1,ZDEA,0),PRECIS2,LAYER0,Color188818;
    月DIF:IF(T=2,YDIF,0),PRECIS2,LAYER0,Color983898;
    月DEA:IF(T=2,YDEA,0),PRECIS2,LAYER0,Color688868;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧自调MACD指标公式 加入收藏