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 junkone, Today, 11:37 AM
      2 responses
      14 views
      0 likes
      Last Post junkone
      by junkone
       
      Started by frankthearm, Yesterday, 09:08 AM
      12 responses
      44 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by quantismo, 04-17-2024, 05:13 PM
      5 responses
      35 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by proptrade13, Today, 11:06 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      35 views
      0 likes
      Last Post love2code2trade  
      Working...
      X