DIFF : EMA(CLOSE,8) - EMA(CLOSE,17);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA);
Zero : 0;
VERTLINE((CROSS(DIFF,0) AND MACD>0 OR CROSS(DIFF,DEA) AND DIFF>0 AND MACD>0),3),colorFF00FF;
DRAWTEXT((CROSS(DIFF,0) AND MACD>0 OR CROSS(DIFF,DEA) AND DIFF>0 AND DEA>0 AND MACD>0),HHV(ABS(MACD),15),'多升区'),colorgreen;
VERTLINE((CROSS(DEA,DIFF) AND DIFF>0 AND MACD<0),3),color00FF00;
DRAWTEXT((CROSS(DEA,DIFF) AND DIFF>0 AND MACD<0),HHV(ABS(MACD),15),'空降区'),colorwhite;
VERTLINE((CROSS(0,DIFF) AND DIFF<0 AND MACD<0),3),colorgray;
DRAWTEXT((CROSS(0,DIFF) AND DIFF<0 AND MACD<0),HHV(ABS(MACD),15),'死亡区'),colorgray;
VERTLINE((CROSS(DIFF,DEA) AND DIFF<0 AND MACD>0),3),colorFFFF00;
DRAWTEXT((CROSS(DIFF,DEA) AND DIFF<0 AND MACD>0),HHV(ABS(MACD),15),'盘整区'),colormagenta;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!