myEntryOrder = EnterLongLimit(0, true, 100, myOrderPrice, "BUY 1001");
... CancelOrder(myEntryOrder);
ExitLongLimit(0, true, 90, GetCurrentAsk(), "", "BUY 1001"); // this quantity = 90 is obtained from OnExecutionUpdate()
A couple of questions:
1) how to let my testing fill partially? I already tried this which is not working,Tools -> Options -> Trading -> Simulator -> Enforce partial fills
2) Can the combination of CancelOrder() and ExitLongLimit() work here?
Comment