N:=5;
阴:=C/REF(C,1)<1;
阳:=C/REF(C,1)>1;
极阴次阳:=EXIST(BARSLAST(阳)>2,2) AND REF(C,REF(BARSLAST(阳),1)+1)/REF(C,1)>1.15 AND 阳;
选股:EXIST(极阴次阳,N);
N:=5;
阴:=C/REF(C,1)<1;
阳:=C/REF(C,1)>1;
极阴次阳:=EXIST(BARSLAST(阳)>2,2) AND REF(C,REF(BARSLAST(阳),1)+1)/REF(C,1)>1.15 AND 阳;
选股:EXIST(极阴次阳,N);