%>
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA200:=MA(C,200);
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
角度MA30:=ATAN((MA30/REF(MA30,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;
角度MA200:=ATAN((MA200/REF(MA200,1)-1)*100)*180/3.1416;
X0:=C>MA20 AND MA20>MA30 AND MA30>MA60 AND MA60>MA120 AND MA120>MA200 AND 角度MA20>0 AND 角度MA30>0 AND 角度MA60>0 AND 角度MA120>0 AND 角度MA200>0;
X1:=MACD.DIF>MACD.DEA AND MACD.DEA>=0;
X2:=REF(MACD.MACD,1)<0 AND MACD.MACD>=0;
X3:=REF(MACD.MACD,2)<0 AND REF(MACD.MACD,1)>=0 AND MACD.MACD>=0;
X4:=X2 OR X3;
VOLX5:=UPNDAY(VOL,3);
X6:=MACD.DIF#WEEK>MACD.DEA#WEEK AND MACD.DEA#WEEK>0;
XG:X0 AND X1 AND X4 AND VOLX5 AND X6;