t1:=ma(c,240)>=ref(ma(c,240),1);
t2:=cross(ma(c,30),ma(c,60));
t3:=c>=o and c>ma(c,30);
XG:ref(t1,1) and t1 and count(t2,5)>=1 and t3;
希望能帮到你,测试通过,有问题请"追问",谢谢
MA1:=MA(C,30);
MA2:=MA(C,60);
MA3:=MA(C,240);
XG:CROSS(MA1,MA2) AND MA3>=REF(MA3,1) AND C>O AND C>MA1;
(已测试)