lowv:=llv(low,20);highv:=hhv(high,20);highvv:=hhv(high,40);d0u:=c>o;d1u:=ref(c,1)>=ref(c,2);p1:=((highv-lowv)/highv);p2:=d0u;p3:=d1u;p4:=(c-ref(c,1))/ref(c,1)>=0.018;p5:=c;p6:=o;选股:p1 and p2 and p3 and p4 and p5 and p6;这样子改可以吗 20210311
好像写过了。下载最新的5分钟数据,选股周期设为5分钟进行选股。ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,40)>ref(ma(c,40),1) and ma(c,50)>...