View Full Version : Cancelig All Oders
kekkis
10-31-2008, 10:26 AM
Can't find cancel all orders method, for strategy, only method for esignal.
How I can cancel all orders.
Thanks
NinjaTrader_Josh
10-31-2008, 10:49 AM
You need to keep track of your orders with the use of IOrder objects. Then you can just use CancelOrder() and go through all of your active IOrder objects to cancel all of them.
http://www.ninjatrader-support.com/HelpGuideV6/IOrder.html
http://www.ninjatrader-support.com/HelpGuideV6/CancelOrder.html
kekkis
10-31-2008, 11:10 AM
You need to keep track of your orders with the use of IOrder objects. Then you can just use CancelOrder() and go through all of your active IOrder objects to cancel all of them.
http://www.ninjatrader-support.com/HelpGuideV6/IOrder.html
http://www.ninjatrader-support.com/HelpGuideV6/CancelOrder.html
Is it possible to have, same function what you offer esignal developers NTCancelAllOrder()
Its should not be a big task.
Because there is still some problems with multi time frame strategies, and then have to also keep track all pending orders and doing maintenance work for those, its much easier if you can offer simple cancell all orders functions.
Thanks
NinjaTrader_Josh
10-31-2008, 11:13 AM
Thank you for your suggestion. I will forward it to development.