DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
PARTLINE(dea,dea>REF(dea,1),RGB(255,255,255),deaPARTLINE(DIFF,DIFF>REF(DIFF,1),RGB(255,0,0),DIFFDRAWGBKLAST(DEA>0,STRIP(RGB(90,0,0),RGB(10,150,0),0)) and DRAWGBKLAST(dea<0,STRIP(RGB(0,128,128),RGB(25,25,112),0));
日金:DRAWTEXT(CROSS(DIFF,DEA) ,MACD,'▲'),align2,COLORred;
日死:DRAWTEXT(CROSS(DEA,DIFF) ,macd*1.5,'▼'),align2,COLORgreen;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!