NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 07-25-2008, 12:25 PM   #1
maxpi
Senior Member
 
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
Default Enter limit order but convert it to market order end of bar

how can I enter a limit order that, if if goes unfilled, converts to a market order at the end of the bar?

I'm thinking that at the end of every bar I check for an open limit order and if so, cancel it and send a market order but there might be a more direct way........
Last edited by maxpi; 07-25-2008 at 12:32 PM.
maxpi is offline  
Reply With Quote
Old 07-25-2008, 12:54 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

No, there is no more direct way.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-07-2009, 05:37 PM   #3
honvl
Member
 
Join Date: Sep 2008
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
Default

Yes there is: http://www.ninjatrader-support2.com/...t+limit+market
honvl is offline  
Reply With Quote
Old 05-07-2009, 05:57 PM   #4
junkone
Senior Member
 
Join Date: Sep 2008
Posts: 356
Thanks: 1
Thanked 1 time in 1 post
Default

depending on your broker, your fill may be worser than a market order.
junkone is offline  
Reply With Quote
Reply

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
An Enter method to submit an entry order has been ignored... Pete S Strategy Development 8 12-20-2007 09:25 AM
Changing order from Limit to Market failed. moscu Automated Trading 1 12-14-2007 01:02 PM
Limit to Market order HelloHello Automated Trading 2 08-28-2007 12:39 PM
The Convert limit order to market order HelloHello Automated Trading 0 08-17-2007 02:10 PM
Submit Limit Entry Order and Stop Loss Order at same time? aspTrader Miscellaneous Support 2 10-04-2006 02:40 AM


All times are GMT -6. The time now is 02:33 AM.