實戰雙MACD”(兩個紅柱買,紅柱消失賣) DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58),COLORWHITE; DEA1:=EMA(DIFF1,88),COLORYELLOW; MACD1:2*(DIFF1-DEA1)*100 ; MAMACD1:MA(MACD1,5),,COLORWHITE; DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26),COLORWHITE; DEA:=EMA(DIFF,50),COLORYELLOW; MACD:2*(DIFF-DEA)*100 ; MAMACD:MA(MACD,5),,COLORWHITE; STICKLINE(MACD1<MAMACD1,0,MACD1,1,0),COLORGREEN; STICKLINE(MACD>MAMACD,MACD1*0.6,0,1,0),COLORYELLOW; STICKLINE(MACD<0,MAMACD,MACD1,1,0),COLORGREEN; STICKLINE(MACD1>MAMACD1 AND MACD>MAMACD ,0,MACD1,1,0),COLORRED; MACD 0軸下二次金叉 選股 引數名 最小 最大 預設 天數5 60 10 CROSS("MACD.DIF","MACD.DEA")&&EVERY("MACD.DIF"<0,天數) &&REF(EXIST(CROSS("MACD.DIF","MACD.DEA"),天數),1);
實戰雙MACD”(兩個紅柱買,紅柱消失賣) DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58),COLORWHITE; DEA1:=EMA(DIFF1,88),COLORYELLOW; MACD1:2*(DIFF1-DEA1)*100 ; MAMACD1:MA(MACD1,5),,COLORWHITE; DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26),COLORWHITE; DEA:=EMA(DIFF,50),COLORYELLOW; MACD:2*(DIFF-DEA)*100 ; MAMACD:MA(MACD,5),,COLORWHITE; STICKLINE(MACD1<MAMACD1,0,MACD1,1,0),COLORGREEN; STICKLINE(MACD>MAMACD,MACD1*0.6,0,1,0),COLORYELLOW; STICKLINE(MACD<0,MAMACD,MACD1,1,0),COLORGREEN; STICKLINE(MACD1>MAMACD1 AND MACD>MAMACD ,0,MACD1,1,0),COLORRED; MACD 0軸下二次金叉 選股 引數名 最小 最大 預設 天數5 60 10 CROSS("MACD.DIF","MACD.DEA")&&EVERY("MACD.DIF"<0,天數) &&REF(EXIST(CROSS("MACD.DIF","MACD.DEA"),天數),1);