I wanted to let you know I am still investigating the cause of the ignored order.
This is the code generating the error:
else if (macd.Diff[barOffset + 1] >= 0 && macd.Diff[barOffset] < 0)
{
//Print(Close[0] + " - " + (Close[barOffset] + TickSize));
var entryLevel = Close[barOffset] + TickSize;
Print(Close[0] + " - " + entryLevel);
SetStopLoss("ShortEntry", CalculationMode.Price, entryLevel + stopLossTicks * TickSize, false);
SetProfitTarget("ShortEntry", CalculationMode.Price, entryLevel - takeProfitTicks * TickSize);
EnterShortLimit(1, entryLevel, "ShortEntry");
}
This means that you are trying to submit a sell limit order at 1445.75 while the market is at 1445.50. This appears to be a valid order and I am uncertain as to why the error message is appearing.
I appreciate your patience as I look into this.

Comment