I use ExitLongStopMarket(0, false, 1, stop, "myStopLossLong", "myEntryOrderLong") to exit one contract (which is my trailing stop)
And then I use targetOrder = ExitLongLimit(0, true, execution.Order.Filled, execution.Order.AverageFillPrice + LongProfitTarget * TickSize, "MyLongTarget", "myEntryOrderLong");
But where in the ExitLongLimit method do I put the int quantity (which should be 1) to exit my last contract if the profit target is hit?

Comment