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...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a:=ref(llv(macd,20),2);xg:dif>0 and dea>0 and ref(macd,1)(macd,1)ref(macd,1)and macd;测试通过!希望能够帮助你!