I created a Bracket order using an Unmanaged approach. Please see the relevant code below. My understanding is that once say "tickLimitLongStop" is reached, the order immediately becomes available for filling, with the " tickLimitLong " being the max that the system must fill me at. If it cannot provide a fill at this limit or better then I get no fill. Is this correct? Because I sometime get fills well in excess of my tickLimitLong.
Can someone comment please
tickLimitLong = Close[0] + (11*TickSize);
tickLimitLongStop = Close[0] + (8*TickSize);
tickLimitShort = Close[0] - (11*TickSize);
tickLimitShortStop = Close[0] - (8*TickSize);
J = 0;
longOrder = SubmitOrder(0, OrderAction.Buy, OrderType.StopLimit, 1, tickLimitLong, tickLimitLongStop, String.Format("Oil" + qty), "long limit entry" + Close[0]);
shortOrder = SubmitOrder(0, OrderAction.SellShort, OrderType.StopLimit, 1, tickLimitShort, tickLimitShortStop, String.Format("Oil" + qty), "Short limit entry" + Close[0]);
Comment