资金注入选股
总资金:=ABS(O-L)+ABS(H-L)+ABS(H-C);
拉升资金:=IF(CLOSE>OPEN,(HIGH-LOW),IF(CLOSE<OPEN,(HIGH-OPEN)+(CLOSE-LOW),(C-L)));
打压资金:=IF(CLOSE>OPEN,(HIGH-CLOSE)+(OPEN-LOW),IF(CLOSE<OPEN,(HIGH-LOW),(H-C)));
主买:=(拉升资金/总资金)*VOL;
主卖:=(打压资金/总资金)*VOL;
流通:=CAPITAL/1000000;
净流入1日:=(主买-主卖)/流通;
净流入5日:=SUM(净流入1日,5);
涨幅5日%:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
净流入10日:=SUM(净流入1日,10);
涨幅10日%:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)*100;
净流入20日:=SUM(净流入1日,20);
涨幅20日%:=(CLOSE-REF(CLOSE,19))/REF(CLOSE,19)*100;
A19:=ATAN((净流入1日/REF(净流入1日,1)-1)*100)*180/3.1416>60;
A29:=ATAN((净流入5日/REF(净流入5日,1)-1)*100)*180/3.1416>60;
A39:=ATAN((净流入10日/REF(净流入10日,1)-1)*100)*180/3.1416>60;
A49:=ATAN((净流入20日/REF(净流入20日,1)-1)*100)*180/3.1416>45;
A19 AND A29 AND A39 AND A49 AND
CLOSE>MA(CLOSE,18) AND MA(CLOSE,6)>MA(CLOSE,18) AND
净流入1日>REF(净流入1日,1) AND 净流入5日>REF(净流入5日,1) AND
净流入10日>REF(净流入10日,1) AND C/REF(C,1)<1.035 AND C<50;