MID:=MA(C,20);
VART1:=POW((C-MID),2);
VART2:=MA(VART1,20);
VART3:=SQRT(VART2);
UPPER:=MID+2*VART3;
LOWER:=MID-2*VART3;
WIDTH:=(UPPER-LOWER)/MID;
MA6:=MA(WIDTH,6);
macd:=(WIDTH-MA6)*2;
W1:=STICKLINE(MacD>0.015,MACD,0,2,1);
W2:=STICKLINE(MACD<0.015 AND MACD>-0.015,-0.015,0.015,3,0);
调整充分选股:EXIST(W1,2) AND REF(W2,2) AND COUNT(W2,21)>=14;