同花顺太极MACD指标公式
2020/12/19 19:07:16
VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
VAR2:=( MA((CLOSE-VAR1)/VAR1,1));
DIFF:( EMA(CLOSE,5) - EMA(CLOSE,34))*100,COLOR0000FF ,LINETHICK1;
DEA: EMA(DIFF,5);
MACD : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0),colorgreen;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,8,0),COLORFFCC33;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,8,0),coloryellow;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,8,0),colormagenta;
投股 票网 www.tou18. cn
股市公式下载推荐