此主題相關圖片如下:9.jpg
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
RMACD:=REF(MACD,1);
MACDM:MACD;
STICKLINE(MACD>=RMACD,0,MACD,0.5,0),COLOR0000FF;
STICKLINE(MACD<RMACD,0,MACD,0.5,0),COLOR008000;
指標修改如下。
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
RMACD:=REF(MACD,1);
MACDM:MACD;
STICKLINE(MACD>=RMACD,0,MACD,RGB(0,0,255),0);
STICKLINE(MACD<RMACD,0,MACD,COLORCYAN,0);