B1:=Ema(C,240); B2:=EMA(C,520); B3:=B1-B2; WDIF:=EMA(C,240)+B3; WDEA:=EMA(WDIF,180); macd:=WDIF*2-WDEA; 买点:=IF(crOSS(MacD,WDIF),1,0); 红箭头:买点;