n:=11;{可调} ma(c,20)>ma(c,60)and ma(c,60)>ma(c,120)and count(l>ma(c,20),n)=n and hhv(h,n)/ref(c,n)(h,n)/llv(l,n) and sum(dyna**(37),n);{设n为 11,选出10只} 图例:
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...