![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#16 |
|
Junior Member
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
|
My strategy is a simple moving average cross. It is also set to flatten 660 seconds prior to the session close at 4:15EST. All of a sudden, my strategy is being disabled at the same time and I want it to continue running.
The strategy is set to "Exit on Close" I thought that meant to flatten on close. What should i do? |
|
|
|
|
|
#17 | |
|
Senior Member
|
Quote:
That is "go flat" and stay out. If you want your strategy to just exit all order but remain running, then tell it to do so with ExitLong() and ExitShort() at the exit time that you want it to happen.
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can strategy enter/exit at current day's close price | rnhoo | ATM Strategies (Discretionary Trading) | 13 | 02-11-2011 03:41 AM |
| entry/exit overlay - enable and disable feature | jonathan | Miscellaneous Support | 8 | 02-07-2011 07:53 PM |
| Exit-on-close handling initiated after market close | tooearly | Automated Trading | 3 | 08-05-2009 08:07 AM |
| Enter at Close, Exit next day Close | tjendra | Strategy Development | 3 | 04-08-2009 11:33 AM |
| 'Exit on Close' in Strategy Wizard | Elliott Wave | Strategy Development | 1 | 05-07-2008 10:14 PM |