SHORT:=12;
LONG:=27;
MID:=9;
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,MID);
MACD:=2*(DIFF-DEA);
MACD上拐:= REF(MACD,1)MACD下拐:= REF(MACD,1)>REF(MACD,2) AND REF(MACD,1)>MACD;
DIFF上拐:={REF(DIFF,4)DIFF短调再上:={REF(DIFF,4)DIFF在DEA上:={REF(DEA,4)放量起涨:= V>REF(V,1)*1.618;
BUYDIFF再上:IF(DIFF短调再上 {AND DIFF在DEA上} {AND 放量起涨},1,0),COLORBLUE;
BUYDIF上拐:IF(DIFF上拐 AND NOT(BUYDIFF再上),1.1,0.1),COLORRED;
BUYMACD上拐:IF(MACD上拐,2.3,1.3),COLORMAGENTA;
SELLMACD下拐:IF(MACD下拐,4,5),COLOR008000;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!