定价格等:=CLOSE<55 AND CLOSE>3 AND REF(CLOSE,25)>1;
非ST股:=IF(STRFIND(ZQMC,"ST",1) ,0,1);
定价排除:=定价格等 AND 非ST股;
换手:=VOL/SHGZG*100;
基本量柱:=VOL>REF(VOL,1)*1.3 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1);
量三天缩:=VOL<REF(VOL,3) AND REF(VOL,1)<REF(VOL,2) AND REF(VOL,2)<REF(VOL,3);
价三天升:=COUNT(CLOSE>OPEN,3)=3 AND CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND CLOSE>REF(HIGH,3) ;
黄金柱:定价排除 AND REF(基本量柱,3) AND 量三天缩 AND 价三天升;
SELECT REF(黄金柱,N); /* 300295 */ |