通达信MACD海底捞月副图/选股预警源码
2016-8-14 21:29:43点击:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2 ;
E:CROSS(DIF,DEA) AND DIF<0 AND DEA<0 AND VOL/REF(VOL,1)>1.2 LINETHICK2 COLORRED;
STICKLINE(E>0,0,3,2,0)COLORWHITE;
STICKLINE(E>0,3,4.5,1,0)COLORYELLOW;
DRAWICON(E>0,4.2,14);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2 ;
E:CROSS(DIF,DEA) AND DIF<0 AND DEA<0 AND VOL/REF(VOL,1)>1.2 LINETHICK2 COLORRED;
STICKLINE(E>0,0,3,2,0)COLORWHITE;
STICKLINE(E>0,3,4.5,1,0)COLORYELLOW;
DRAWICON(E>0,4.2,14);