Using unmanaged = true and ChangeOrder().
I am attempting to modify a stop market order which is set to a price of which I would like to update to a market order, essentially this it intended to be a variation of ExitOnClose().
What is standard practice to ensure that this order is sent as a market order, to be filled at any price. Currently when using the following does not work and in fact cancels the order;
ChangeOrder(StopOrder1, 1, 0, 0);
However if I set a price of which works some kind of offset is required to ensure the order gets filled although I would prefer to send the order for this strategy to exit immediately at whatever price, if that is my only option I will work with that instead.
ChangeOrder(StopOrder1, 1, GetCurrentBid()+3*TickSize);
Regards, suprsnipes.
Comment