WR1:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));xg:WR1>40 AND WR1<50 AND WR2>40 AND WR2<50; 测试通过!提示:选股前先下载数据。希望能够帮助你!