{日周共振}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
周DIF:=( MACD.DIF#WEEK
周DEA:=( MACD.DEA#WEEK
M1:=(DIF+DEA)/2;
M2:=(周DIF+周DEA)/2;
MA60:=MA(CLOSE,60);
日趋势:=(DIF+DEA)/2;
周趋势:=(周DIF+周DEA)/2;
XG:周DIF 0 AND 周DEA 0 AND 周趋势 0 AND MA60 REF(MA60,1) AND CROSS(DIF,0);