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);
COB:=d/x<1.01;
FIVE:=(MA(C,5)>=REF(MA(C,5),1) AND REF(MA(C,5),1)
TEN:=(MA(C,10)>=REF(MA(C,10),1) AND REF(MA(C,10),1)
XG:COB AND FIVE AND TEN;