NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-07-2011, 09:07 AM   #1
guillembm
Senior Member
 
Join Date: Jun 2011
Posts: 281
Thanks: 56
Thanked 7 times in 6 posts
Default Changing order type without changing IOrder name

HI,

If I have a limit order assigned to an IOrder name in a bar like:

MyOrder = ExitLongLimit();

And I want to switch to a market order the next bar without changing the IOrder name like:

MyOrder = ExitLong();

I have to Cancel previously the order: CancelOrder(MyOrder)

or I can do it directly?
guillembm is offline  
Reply With Quote
 

Tags
iorder, limit order

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug when changing Period Type settings using Toolbar Stopped Suggestions And Feedback 6 02-02-2011 01:29 PM
Changing a stop loss order when the entry order had partial fills ScottB Automated Trading 8 08-09-2010 10:36 AM
changing input parameter type at config time cicondo Strategy Development 4 07-23-2009 07:34 AM
Bug with optimizer when changing parameter type cunparis Strategy Analyzer 17 02-05-2009 11:19 AM
Changing partially filled stop order creates order in other direction moscu Automated Trading 5 10-24-2008 08:36 PM


All times are GMT -6. The time now is 05:07 AM.