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

    正文概述    2024-04-07 23:02:33  
    MACD:2*(DIFF-DEA),COLORSTICK;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,8,0),COLOR00aaff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,6.6,0),COLOR00bbff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,4.4,0),COLOR00ccff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,3.3,0),COLOR00ddff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,2.2,0),COLOR00eeff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,1.1,0),COLOR00ffff;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,8,0),COLOR0000aa;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,6.6,0),COLOR0011bb;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,4.4,0),COLOr0022cc;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,3.3,0),COLOR0033dd;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,2.2,0),COLOR0044ee;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,1.1,0),COLOR0055ff;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,8,0),COLOraa00bb;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,6.6,0),COLORbb11bb;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,4.4,0),COLOrcc22bb;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,3.3,0),COLORdd33bb;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,2.2,0),COLORee44bb;
    STICKLINE(MACD ref(MACD,1)and MACD 0,0,MACD,1.1,0),COLORff55bb;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,8,0),COLOrffaa00;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,6.6,0),COLORffbb11;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,4.4,0),COLOrffcc22;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,3.3,0),COLORffdd33;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,2.2,0),COLORffee44;
    STICKLINE(MACD =ref(MACD,1)and MACD 0,0,MACD,1.1,0),COLORffff55;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:3*K-2*D,linethick0;
    周K:=MA( KDJ.K#WEEK (9,3,3),5);
    周D:=MA( KDJ.D#WEEK (9,3,3),5);
    周J:=MA( KDJ.J#WEEK (9,3,3),5);

    DRAWICON(k 20 and cross(k,d),MACD,8),linethick1,align2,COLORBROWN;
    日金▲: DRAWTEXT(CROSS( KDJ.K#DAY (9,3,3), KDJ.D#DAY (9,3,3)),MACD,'▲'),align2,COLORgray;
    日死▼: DRAWTEXT(CROSS( KDJ.d#DAY (9,3,3), KDJ.k#DAY (9,3,3)),macd*1.5,'▼'),align2,COLORwhite;
    周金▲: DRAWTEXT(CROSS( KDJ.K#WEEK (9,3,3), KDJ.D#WEEK (9,3,3)),MACD,'▲'),align2,COLORred;
    周死▼: DRAWTEXT(CROSS( KDJ.d#WEEK (9,3,3), KDJ.k#WEEK (9,3,3)),macd*1.5,'▼'),align2,COLORgreen;
    月金▲: DRAWTEXT(CROSS( KDJ.K#MONTH (9,3,3), KDJ.D#MONTH (9,3,3)),MACD,'▲'),align2,COLORMAGENTA;
    月死▼: DRAWTEXT(CROSS( KDJ.D#MONTH (9,3,3), KDJ.K#MONTH (9,3,3)),macd*1.5,'▼'),align2,COLORYELLOW;
    DIFF: (EMA(CLOSE,12)-EMA(CLOSE,26)),COLORWHITE;
    DEA:EMA(DIFF,9),COLORWHITE;
    partline(dea,c ma(c,15) and diff =dea),colormagenta,linethick2;
    partline(diff,c ma(c,15) and diff =dea),colorred,linethick2;
    partline(dea,c ma(c,15)),colorgreen,linethick2;
    partline(diff,c ma(c,15)),colorgreen,linethick2;
    vertline(diff 70 AND cross(diff,dea),2),colorRED;
    vertline(cross(dea,diff),2),colorWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » MACD+KDJ金死叉(大智慧) 加入收藏