经典买卖指标 MACD买卖
2016-10-13 16:43:58点击:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
启动:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)
AND REF(MACD,2)<REF(MACD ,3) AND REF(MACD ,3)<REF(MACD ,4);
终止:=MACD>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2)
AND REF(MACD,2)>REF(MACD,3) AND REF(MACD ,3)>REF(MACD ,4);
STICKLINE(启动,0,-2,2,0),COLORYELLOW;
分界:0,COLORYELLOW;
DRAWICON(启动,-2,1);
STICKLINE(终止,0,2,2,0),COLORCYAN;
DRAWICON(终止,3,2);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
启动:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)
AND REF(MACD,2)<REF(MACD ,3) AND REF(MACD ,3)<REF(MACD ,4);
终止:=MACD>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2)
AND REF(MACD,2)>REF(MACD,3) AND REF(MACD ,3)>REF(MACD ,4);
STICKLINE(启动,0,-2,2,0),COLORYELLOW;
分界:0,COLORYELLOW;
DRAWICON(启动,-2,1);
STICKLINE(终止,0,2,2,0),COLORCYAN;
DRAWICON(终止,3,2);
- 上一篇:牛熊带(或叫多空彩带)通达信主图源码 2016/10/13
- 下一篇:通达信火焰山副图指标 2016/10/13