• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

what is the best [or only?] way to specify exiting any open positions at every EOD?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    what is the best [or only?] way to specify exiting any open positions at every EOD?

    what is the best [or only?] way to specify exiting any open positions at every EOD?

    #2
    never mind, got the answer

    looks like it's simply ExitOnClose = true; in the initialize region

    Comment


      #3
      Hello joemiller,

      Thank you for your post.

      I am glad you found the answer to your inquiry. ExitOnClose will allow you to close your positions and orders on close of the session.

      For information on ExitOnClose please visit the following link: http://www.ninjatrader.com/support/h...xitonclose.htm

      For information on the ExitOnCloseSeconds please visit the following link: http://www.ninjatrader.com/support/h...oseseconds.htm

      Please let me know if I may be of further assistance.
      Patrick H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GARZONJ, Today, 11:22 AM
      0 responses
      2 views
      0 likes
      Last Post GARZONJ
      by GARZONJ
       
      Started by KonalGondal, Today, 10:18 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by Jorge.andres.o, Today, 09:24 AM
      2 responses
      9 views
      0 likes
      Last Post Gland1
      by Gland1
       
      Started by Oracletrades, Today, 09:02 AM
      5 responses
      9 views
      0 likes
      Last Post Oracletrades  
      Started by JTizz, Today, 08:17 AM
      7 responses
      25 views
      0 likes
      Last Post JTizz
      by JTizz
       
      Working...
      X