{交叉}M1:=OSS(MA(C,5),MA(C,10));MA1:=EXIST(M1,3);{5日10日交叉}MV1:=CROSS(MA(V,5),MA(V,10)) AND >MA(V,5) AND >MA(V,10);MV2:=EXIST(MV1,3);{}MD1:=CROSS(MACD.DIF,MACD.DEA);MD2:=EXIST(MD1,3);{今日或前几日金叉}K1:=CROSS(J.K,KDJ.D);K2:=EXIST(K1,3);XG:M1 AND MV2 AND MD2 AND K2,COLORRED;