M5:=ma(c,5);
M10:=ma(c,10);
M20:=ma(c,20);
M30:=ma(c,30);
d:=max(max(max(m5,m10),m20),m30);
x:=min(min(min(M5,m10),m20),m30);
{看股吧-股票公式网站 www.kanguba.com}
COB:=d/x<1.01;
FIVE:=(MA(C,5)>=REF(MA(C,5),1) AND REF(MA(C,5),1)<REF(MA(C,5),2));
TEN:=(MA(C,10)>=REF(MA(C,10),1) AND REF(MA(C,10),1)<REF(MA(C,10),2));
XG:COB AND FIVE AND TEN;