昨收:= REF(C,1);RSI:=SMA(maX(C-昨收,0),6,1)/SMA(Abs(C-昨收),6,1)*100;WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14));WR反向:=(0-WR)-100;RSI买点:=RSI<20 AND RSI>REF(RSI,1);WR反向买点:=WR反向>-80 AND WR反向<REF(WR反向,1);选股:RSI买点 AND WR反向买点;