咨詢內(nèi)容:老師好.如下模型請改為限價交易.用收盤價.并加1跳開平倉.謝謝!! 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);