源码:
DIF:EMA(C,6)-EMA(C,13),COLORBLACK;
DEA:EMA(DIF,4),LINETHICK2,COLORMAGENTA;
IF(DEA
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF>=DEA,DIF,DRAWNULL),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<0,DEA-0.1,'买'),COLORYELLOW;
源码:
DIF:EMA(C,6)-EMA(C,13),COLORBLACK;
DEA:EMA(DIF,4),LINETHICK2,COLORMAGENTA;
IF(DEA
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF>=DEA,DIF,DRAWNULL),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<0,DEA-0.1,'买'),COLORYELLOW;