大智慧:tj1:=ma(v,5)>ref(ma(v,5),1);tj2:="kdj.j">ref("kdj.j",1);tj3:="macd.macd">ref("macd.macd",1);yj:tj1 and tj2 and tj3;我用这个公式选出了337只股票,你应该将条件再整严格点,然后又追问我! 20210311
{ok。测试通过}ref(c,1)<ref(o,1) and c>o and c>ref(o,1) and o<=ref(c,1) and ma(c,5) > ref(ma(c,5),1) and ma(c,13) > ref(ma(c,13),1) and ma(c,21) > ref(ma(c,21),1);