MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
金叉1:=CROSS(MA5,MA10);
金叉2:=CROSS(MA5,MA30);
金叉3:=CROSS(MA10,MA30);
COUNT(金叉1,5)=1 AND COUNT(金叉2,5)=1 AND COUNT(金叉3,5)=1 AND MA5>REF(MA5,1) AND MA10>REF(MA10,1);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
金叉1:=CROSS(MA5,MA10);
金叉2:=CROSS(MA5,MA30);
金叉3:=CROSS(MA10,MA30);
COUNT(金叉1,5)=1 AND COUNT(金叉2,5)=1 AND COUNT(金叉3,5)=1 AND MA5>REF(MA5,1) AND MA10>REF(MA10,1);