A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,60);
A5:=CLOSE=HHV(CLOSE,20);
A6:=A1>A2 AND A1>A3 AND CLOSE>A4;
A7:=ATAN((A4/REF(A4,1)-1)*100)*57.299999<15;
A8:=CROSS(A1,A2) OR CROSS(A2,A3);
XG:A5 AND A6 AND EXIST(A8,3) AND A7;
{-----------------------------------}