XG2:=EXIST(XG1,1); XG:MA5 MA10 AND MA10 MA30 AND MA5 REF(MA5,1) AND REF(MA5,1) REF(MA5,2) AND MA10 REF(MA10,1) AND MA30 REF(MA30,1) AND XG2 AND ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416 AND XG1;