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.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      78 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      64 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X