月DIF1:=".DIF#MONTH"(12,26,9);月DEA1:="MACD.DEA#MONTH"(12,26,9);AA1:=月DIF1>月DEA1;月M:=OSS(AA1>REF(AA1,1),0.5);周1:="RSI.RSI1#WEEK"(9);SY:=周RSI1>50;:=CROSS(SY>REF(SY,1),0.5);周DIF1:="MACD.DIF#WEEK"(12,26,9);周DEA1:="MACD.DEA#WEEK"(12,26,9);SK:=周DIF1>周DEA1;周M:=CROSS(SY>REF(SK,1),0.5);周K1:=".K#WEEK"(9,3,3);周D1:="J.D#WEEK"(9,3,3);SQ:=周K1>周D1;:=CROSS(SQ>REF(SQ,1),0.5);XG:共振 AND 介入 AND 周M;