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 05-12-2009, 08:56 AM   #1
zweistein
Senior Member
 
Join Date: Jan 2009
Posts: 584
Thanks: 2
Thanked 20 times in 12 posts
Default exit order ignored

Hello, in the log I get the following message:

An Exit() method to submit an exit order at '12/05/2009 16.17.00' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.

Probably this message pops up because I called

exitOrder=ExitLongLimit(BarsInProgress,true,Positions[BarsInProgress].Quantity,
GetCurrentAsk()-TickSize,
"Sell",zh.Buy);

several times, and before execution has taken place.
What happens with the first ExitLongLimit() call?

Will this still arrive at execution or will your errorlogic suspend all calls to ExitLongLimit once an eror is detected?

best regards
andreas
zweistein is offline  
Reply With Quote
Old 05-12-2009, 09:01 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Andreas,

Calling ExitLongLimit() several times will not cause you to run into one of the Internal Order Handling Rules. It will just amend your order if you already had one previously in place.

Please review this article for the rules and scenarios in which you would run into it: http://www.ninjatrader-support.com/H...tml?Overview36
NinjaTrader_Josh 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
Ignored Exit Order Shogun SunTzu Strategy Analyzer 4 05-11-2009 03:33 PM
terminal exit order nfeldberg Strategy Development 40 01-12-2009 06:09 AM
An exit order placed. . . has been ignored whitmark General Programming 19 01-02-2008 08:11 AM
Can't Submit an Exit Order yeneuro Miscellaneous Support 10 10-08-2007 08:23 AM
What is a terminal exit order Learning1 Strategy Development 2 10-04-2007 03:03 PM


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