M1:=MA(C,5);M2:=MA(C,10);水平线:=IF(CROSS(M2,M1),M2,REF(M2,BARSLAST(CROSS(M2,M1))));XG:CROSS(M1,水平线) AND REF(MA(C,5),1)<水平线 AND MA(C,5)>水平线;