N:=5;
LC:=30;
MA5:=MA(C,5);
MA10:=MA(C,10);
ZX:=(MA5+MA10)/2;
MA30:=MA(C,30);
ZDF:=(C-REF(C,1))/REF(C,1)*100;
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)YB:=C>REF((O-C)/2+C,2);
买:CROSS(C,ZX) AND (GD OR YB) AND QSXS;
(C-REF(C,1))/REF(C,1)*100>9.8;