DIF:=EMA(DCLOSE,10)-EMA(DCLOSE,22);
DEA:=EMA(DIF,9);
macd1:=(DIF-DEA)*2*60;
MacD上:IF(MACD1>REF(MACD1,1),MACD1,DRAWNULL),STICK,COLORRED,LINETHICK2;
MACD下:IF(MACD1
买入线:15;
票子:MACD1-REF(MACD1,1),COLORWHITE,LINETHICK1;
DRAWICON(crOSS(票子,买入线),买入线,1);
0;