PDA

View Full Version : Cancel Order After X Bars


CashCache
01-11-2008, 10:17 AM
Hello,

I am entering a limit order on the last tick of the current bar (using range bars). If not filled, I Only want that order to stay active until the close of the following bar. Is there an easy way to set this?

If not, I can create my own method for getting it done, but I can't find how to check to see if a specific order is still working. Is there a method for checking the status of an order?

Thanks,

-Scott

NinjaTrader_Ray
01-11-2008, 10:23 AM
See NT 6.5 Beta, check out the new Advanced methods for OnOrderUpdate() and submitting orders with the parameter "liveUntilCancelled".