Can you please specify how to modify the code below to successfully submit a MIT LIMIT BUY and secondly a MIT LIMIT SELL order?
BUY CODE
SubmitOrderUnmanaged(0, OrderAction.Buy, OrderType.MIT, 1, entryPrice-TickSize,0, "", orderName);
SELL CODE (OCO Profit LIMIT sell and stop loss orders)
SubmitOrderUnmanaged(0,OrderAction.Sell,OrderType. MIT,1,profitTargetPrice,0,strOCO,"ExitProfitMax");
SubmitOrderUnmanaged(0,OrderAction.Sell,OrderType. MIT,1,0,StopLossPrice,strOCO,"ExitStopLoss");
Comment