![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2009
Posts: 584
Thanks: 2
Thanked 20 times in 12 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
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
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |