![]() |
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 |
|
|
#16 |
|
Junior Member
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
|
I want to flatten at 4:09PM EST so I went to tools-options-Misc and set it to flatten all at 4:09 PM. If i then leave "exit on close" unchecked, will my flatten trades still happen? I'm finding that my strategy also gets disabled which I don't want.
I'm trying to exit before the close (my broker requires I be flat no later than 4:10PM to maintain day margins, but I want the strategy to continue to be enabled. Otherwise, I have to turn it back on manually. Am I doing this correctly? |
|
|
|
|
|
#17 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
|
|
#18 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
JRagsdale,
Flatten all will close ALL positions and disable the strategy according to the time defined under Tools > Options. ExitOnClose will only close the strategy position, but the strategy should remain running. It exits according to the time defined in the session template.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I enter at close of bar one and exit at close of session? | stevep3 | Strategy Analyzer | 5 | 10-15-2010 04:49 AM |
| Exit On Close | dave1992 | Version 7 Beta General Questions & Bug Reports | 6 | 10-06-2010 10:41 AM |
| Exit On Close | Parv8 | Automated Trading | 21 | 08-21-2009 12:34 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 |