We need to add the liveUntilCancelled bool as true to these orders as they are being cancelled on the next bar after they are submitted.
For example:
sellStopOrder1 = ExitShortStop(0, true, DefaultQuantity, High[1] - (stopLoss * TickSize), "exitShortLimit", "sellTrade1");
ExitShortStop(int barsInProgressIndex, bool liveUntilCancelled, int quantity, double stopPrice, string signalName, string fromEntrySignal)

Comment