請問我在用MC做回測時
有一段語法是
if condition then begin;
buy 1 contract next bar at price stop;
sellshort 1 contract next bar at price2 stop;
end;
如果 next bar 波動太大 例如 open > price and low < price2
可是我的想法是 只要留多倉就好 不打算當天反手
那我要怎麼寫才可以取消空單的觸價單
謝謝各位解答
--
有一段語法是
if condition then begin;
buy 1 contract next bar at price stop;
sellshort 1 contract next bar at price2 stop;
end;
如果 next bar 波動太大 例如 open > price and low < price2
可是我的想法是 只要留多倉就好 不打算當天反手
那我要怎麼寫才可以取消空單的觸價單
謝謝各位解答
--
All Comments