dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a1:=close/ref(close,1);a2:=a1>1 and a1;b1:=vol/ref(vol,1);b2:=b1>1 and b1;c1:=100*ma(vol,5)/capital;every(c>o,3)and macd(dif...
日k和分时k线不能同时选股,你可以先用下面的公式选出前两项,这里的“选股周期”选择“日线”:a1:=abs((c-ma(c,30))/ma(c,30))<0.1;{0.1可调}a2:=(ma(c,30)-ref(ma(c,30),15))/ref(ma(c,30),15)>0.1;{0.1可调}a1 and a2;把股票放入一个新建的自选股列表里,然后再用下面的选股公式作为对第3项的预...
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ;a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20%...