綜合指標(biāo)選股
A1:=EMA(C,6); A2:=EMA(C,12); A3:=MA(C,33);
XG1:=CLOSE>A1 AND A1>A2 AND A2>A3 AND CLOSE>OPEN; H1:=DYNAINFO(7)>5 AND DYNAINFO(7)<20;{股價(jià)取5至20元} H2:= CAPITAL/1000000<3; {流通盤3億} XG2:=H1 AND H2;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主動(dòng)買盤:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主動(dòng)賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)); XG3:=主動(dòng)買盤>2*(0-主動(dòng)賣盤);
TJ1:=(C-REF(C,1))/REF(C,1) >0 AND (C-REF(C,1))/REF(C,1)<0.06; A11:=MA(C,6); A21:=MA(C,12); A31:=MA(C,33); XG4:=C>A11 AND A1>A21 AND A21>A31 AND C>O AND TJ1 AND DYNAINFO(17)>2.5; 綜合選股:XG1 AND XG2 AND XG3 AND XG4 ;
|