MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
AA:=(MA5+MA10+MA20)/3;
GX:=MA5>=MA20 AND MA20>REF(MA20,1);
GD:=AA>=REF(AA,1) AND REF(AA,1)<REF(AA,2);
YB:=C>REF((O-C)/2+C,2);
X:=CROSS(C,AA) AND (GD OR YB) AND GX;
XX:=X AND MA5>REF(MA5,1);
XG:X AND XX;