咨詢內(nèi)容:老師好.如下模型請(qǐng)改為限價(jià)交易.用收盤價(jià).并加1跳開(kāi)平倉(cāng).謝謝!! buycond:=ref(count(c>o,3)=3,1);sellcond:=ref(count(c<o,3)=3,1); if holding<0 and buycond then sellshort(1,1,MARKETR); if buycond and holding=0 then begin buy(1,1,MARKETR); end if holding>0 and sellcond then sell(1,1,MARKETR); if holding=0 and sellcond then buyshort(1,1,MARKETR); SELL(((TIME>=151450) and (HOLDING>0)),SS,MARKET);SELLSHORT(((TIME>=151450) and (HOLDING<0)),SS,MARKET);