%>
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
角度MA60:=ATAN((MA60/REF(MA60,1)-1)*100)*180/3.1416;
角度MA120:=ATAN((MA120/REF(MA120,1)-1)*100)*180/3.1416;
XG1:=MA5>MA10 AND MA10>MA20 AND MA20>MA60 AND MA60>MA120 AND 角度MA20>0 AND 角度MA60>0 AND 角度MA120>0;
XG2:=(HHV(H,N)-LLV(L,N))/LLV(L,N)*100<M;
XG3:=H>=HHV(H,N) AND C>O AND C/REF(C,1)>=1.04;
XG4:=V/MA(V,5)>=1.5;
XG:XG1 AND XG2 AND XG3 AND XG4;