经典MACD(通达信)
2019/12/1 19:06:47
SHORT:=6;
LONG:=9;
MID:=3;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1,COLOR0000FF;
DEA:EMA(DIF,MID); {www.tou18.cn}
DRAWBAND(DIF,RGB(500,180,280),DEA,RGB(380,280,180));
{www.tou18.cn}MACD:(DIF-DEA)*2,COLORSTICK;
向上:IF(DIF>=REF(DIF,1),DIF,DRAWNULL),LINETHICK2,COLORRED;
向下:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF,0);
投 股票网 www. tou18.cn
股市公式下载推荐