v1:=ma(v,5);v2:=ma(v,35);v3:=ma(v,135);a:=ref(o,1)>ref(c,1);b:=v>ref(v,1) and v>v1 and v1>v2 and v2>v3;d:=v1>ref(v1,1) and v2>ref(v2,1) and v3>ref(v3,1);e:=c>o and c>ref(c,1);a and b and d and e and dyna**(17)>0;测试通过,26日你举例的股票能选出来,希望能够帮助你! 20210311
{周k线缩量十字星收盘在10周线上并且10周线拐点向上。}xg: abs((close-open)/open)<0.015 and close>ma(close,10) and ma(close,10)>ref(ma(c,10),1) and (ref(ma(c,10),1)<ref(ma(c,10),2));{说明:1选股周期为周线,2加入条件}
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...