DIF周:=EMA(CLOSE,12*5)-EMA(CLOSE,26*5);
DEA周:=EMA(DIF周,9*5);
MACD周:(DIF周-DEA周),COLORMAGENTA,NODRAW;
DIF日:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA日:=EMA(DIF日,9);
MACD日:(DIF日-DEA日),COLORRED,NODRAW;
{DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
MACD60:=(DIF60-DEA60);
DIF30:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4));
DEA30:=(EMA(DIF30,9/4));
MACD30:=(DIF30-DEA30);}
STICKLINE(MACD周>=0,0,MACD周,2,1),COLORMAGENTA;
STICKLINE(MACD周<0,0,MACD周,2,1),COLORFFFF00;
(DIF日-DEA日),COLORSTICK;
STICKLINE(MACD日>REF(MACD日,1) AND MACD周>REF(MACD周,1),0,0.03,9,0),COLORYELLOW;
共振:MACD日>REF(MACD日,1) AND MACD周>REF(MACD周,1),COLORYELLOW,NODRAW;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!