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

    正文概述    2024-04-07 08:05:52  

    0,LINETHICK2;
    CS:=IF(CODELIKE( 60 ) OR CODELIKE( 00 ) OR CODELIKE( 30 ),COST(50),MA(C,50)),LINETHICK0;
    CB:=IF(CODELIKE( 30 ) OR CODELIKE( 6 ) OR CODELIKE( 0 ) ,COST(50),MA(C,50)),LINETHICK0;
    S:=IF(PERIOD 5,5,12),LINETHICK0;
    LL:=IF(PERIOD 5,12,26);
    DI := 100*(EMA(CLOSE,S) - EMA(CLOSE,LL))/CB,LINETHICK0;
    DE := EMA(DI,IF(PERIOD 5,5,9));
    MAC : 2*(DI-DE), COLORSTICK,LINETHICK0;
    STICKLINE((MAC REF(MAC,1) AND (MAC 0)),0,MAC,1,0),LINETHICK0,COLORA000A0;
    STICKLINE((MAC REF(MAC,1) AND (MAC 0)),0,MAC,1,0),LINETHICK2,COLOR00808F,LINETHICK0;
    DIFF1:DI,COLORWHITE,LINETHICK2;
    DEA1:DE,COLORYELLOW,LINETHICK2;
    DRAWBAND(DIFF1,RGB(200,50,55),DEA1,RGB(50,100,10));
    MACD : 2*(DIFF1-DEA1), COLORSTICK;
    获利MACD:DRAWICON(CROSS( DIFF1 ,DEA1), DIFF1 ,26),LINETHICK2;
    DRAWTEXT(FILTER(获利MACD,8),DEA1-0.05, ↖跟庄买进 ),COLORYELLOW;
    STICKLINE(获利MACD,OPEN,DIFF1,2,0),COLOR0000FF,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信获利MACD指标(源码) 加入收藏