Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsExitOnSessionCloseStrategy Question

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

    IsExitOnSessionCloseStrategy Question

    Is the IsExitOnSessionCloseStrategy property setting functional with an unmanaged strategy? It would be easy of course to code that functionality in the strategy. I just didn't want to duplicate something that already exists.

    #2
    Hello caveat_lector,

    Thanks for your post.

    Yes, IsExitOnSessionCloseStrategy could be used for unmanaged strategies. Something you could do when enabling the strategy is to ensure that the 'Exit on session close' box is checked in the Strategy Properties menu.

    See this help guide documentation for more information: https://ninjatrader.com/support/help...tegyProperties

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      In State.Terminated, is there a way to detect that termination was caused by IsExitOnSessionCloseStrategy being true at Session Close? (Other than explicitly monitoring session times, of course.)

      Thanks.
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      Comment


        #4
        Hello jeronymite,

        Thanks for your note.

        ExitOnSessionClose will not disable the strategy, it will only exit positions before the session close. As stated in the help guide documentation, ExitOnSessionClose determines if the strategy will cancel all strategy-generated orders on all strategy instruments and close all open strategy positions at the close of ANY session for multi-timeframe/multi-instrument strategies.

        See this help guide page for more information about ExitOnSessionClose: https://ninjatrader.com/support/help...sestrategy.htm

        Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          Thanks, NinjaTrader_BrandonH .

          The Help is a bit ambiguous. The Property Value description says: "This property returns true if the strategy will exit on close; otherwise, false. Default value is set to true.".

          I suspect that description should read like this: "This property returns true if the strategy will close open Orders when the Session ends; otherwise, false. Default value is set to true."

          Thanks.
          Last edited by jeronymite; 07-08-2021, 05:50 PM.
          Multi-Dimensional Managed Trading
          jeronymite
          NinjaTrader Ecosystem Vendor - Mizpah Software

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          54 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          130 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          70 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X