• 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 Dr3am, Today, 05:10 PM
      0 responses
      1 view
      0 likes
      Last Post Dr3am
      by Dr3am
       
      Started by imalil, Today, 04:28 PM
      0 responses
      2 views
      0 likes
      Last Post imalil
      by imalil
       
      Started by bboyle1234, Today, 03:47 PM
      0 responses
      1 view
      0 likes
      Last Post bboyle1234  
      Started by caveat_lector, Today, 03:46 PM
      0 responses
      5 views
      0 likes
      Last Post caveat_lector  
      Started by fx.practic, Today, 03:29 PM
      0 responses
      3 views
      0 likes
      Last Post fx.practic  
      Working...
      X