通达信MACD分时源码副图
2017-03-02 08:58:00来源:本站整理浏览:271
★分时副图 绿柱消失买入 红柱消失卖出 老徐258整理
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);
DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;
强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;
抄底:=ABS((CROSS('MACD.DIF','MACD.DEA')
&&'MACD.DEA'<=-0.07)*'MACD.DIF')*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORFFFF00;
DRAWICON(ABS(抄底)>0,抄底,9);
- 上一篇公式:通达信股市逃生(量)源码副图
- 下一篇公式:通达信敢死队选股2源码副图