编写一个股票公式第一天涨幅3%以上,然后5天内任意一天缩量至第一天的50%以内。tj1:=barslast(c/ref(c,1)>1.03);tj2:=v<=ref(v,1)*0.5;xg: count(tj2,tj1)=1 and tj2 and tj1<=5;这样的选股经常会碰到第二天就缩量的情况。
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...