A1:=MA(C,3);
A2:=NDAY(A1,C,T);
A3:=REF(A2,1)>0 AND CROSS(C,A1);
B1:=A3 AND (MA(C,10)O;
B2:=A3 AND MA(C,10)>REF(MA(C,10),1)AND MA(C,5)>MA(C,21)AND V>REF(V,1)AND C>O;
B3:=A3 AND MA(C,10)>REF(MA(C,10),1)AND MA(C,5)>MA(C,21)AND VREF(C,1);
XG:B1 OR B2 OR B3;
T:=3;{可调整均线3上面或下面天数}
D1:=NDAY(C,A1,T);
E1:=REF(D1,1)>0 AND CROSS(A1,C) AND V>REF(V,1)AND C