周DIF:=".DIF#WEEK"; 周DEA:="MACD.DEA#WEEK"; 周MACD:=(周DIF-周DEA)*2;周红:=IF(周MACD>0,BARSLAST(OSS(周MACD,0)),DRAWNULL)+1;MA3:=MA(C,3);MA13:=MA(C,13);MA55:=MA(C,55);:=CROSS(MA3,MA13);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD金叉:=CROSS(DIF,DEA);:均线金叉 AND MACD金叉 AND MA13>MA55 AND 周红;