D:=MA(C,5); J:=REF(D,2) G:=MA(INDEXC,5); S:=REF(G,2)>REF(G,1) AND REF(G,1)>G; XG:=S AND J; {信号过滤器:N取0~10,数值越大,信号越少,取0为不过滤} N:=0; 信号过滤:COUNT(XG,N) AND XG;