DIFF :=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA := EMA(DIFF,5);
MACD :=2*(DIFF-DEA);
gj:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,9,0),color0000FF;
STICKLINE(MACD>0 AND MACDSTICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,9,0),colorFF8800;
STICKLINE(MACD<0 AND MACDOSC:=100*(CLOSE-MA(CLOSE,11.5));
MAOSC:=EMA(OSC,4.5);
STICKLINE(MACD//{ 老K股票学习网_同花顺股票指标公式}
STICKLINE(MACD>REF(MACD,1)AND CROSS(OSC,MAOSC),0,MACD,5,0),COLOR09FFFF;
F1:=ZIG(5,20);
DRAWICON(CROSS(DIFF,DEA) AND F1> REF(F1,1),DEA,'卖');
DRAWICON(CROSS(DEA,DIFF),DEA,'买');
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!