"Rejected: Buy stop or Buy stop limit orders can't be placed below the market."
Its incorrect as I tell the system to implement a StopLoss 2 ticks above current close
tickPrice = close[0];
if (shortOrder != null && shortOrder == execution.Order && execution.Order.OrderState == OrderState.Filled)
{
// (2)
stopOrder = SubmitOrder(0, OrderAction.BuyToCover, OrderType.Stop, 1, tickPrice -2 * TickSize, tickPrice -2 * TickSize, "Oil", "Stop loss short");

Comment