MA30:=MA(C,30);

MA60:=MA(C,60);

XX1:=C=HHV(C,15);

XX2:=IF(MA30>MA60,C>MA30 AND O<MA30,C>MA60 AND O<MA60);

XX1 AND XX2;