AND REF(MA(C,30),1) MA(C,30) AND EVERY(C MA(C,30),20);
XG2:=ABS(MA(C,5)-MA(C,10) REF(MA(C,5)-MA(C,10),1)) AND
ABS(MA(C,5)-MA(C,20) REF(MA(C,5)-MA(C,20),1)) AND
ABS(MA(C,5)-MA(C,30) REF(MA(C,5)-MA(C,30),1)) AND
EVERY(C MA(C,30),20);
XG3:=EVERY(C MA(C,30),20);
X1:FILTER(XG,5);
X2:FILTER(XG2,5);
X3:FILTER(XG3,5);
{X1,X2 是原来的条件,二选一,X3是现条件。};