Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Premature Exit on Close

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

    Premature Exit on Close

    Hi, I'm real-time testing a forex strategy using the usd/eur currency pair with a data feed from kinetick, and for some reason, the position that I was in closed itself with an "Exit on Close" order at about 5pm EST, and I'm not sure why.

    I don't have any "Exit on Close" orders in my strategy- is there anyway I can disable this feature until the Friday close of the forex market.

    Thanks,
    NP.

    #2
    Hello NP,

    You must have configured 'Exit on close' to True when you applied the strategy. You can find this option in the strategy settings window that appears when you apply a strategy (see screenshot).
    Attached Files

    Comment


      #3
      Jason,

      Thanks, I see that, and you're correct. But just to be clear, it was my understanding that the forex session starts on Sunday evening and extends all the way to Friday evening without stop?

      I don't want to eliminate that automatic "exit on close" that's part of the Ninjatrader prompt, I just don't want it to activate until Friday evening.

      NP.

      Comment


        #4
        Yes, but the Forex session template uses an end time of 5:00 PM each day which triggers 'Exit on close'.

        You could create a custom session template that uses one row that runs from Sunday to Friday. That way it has only one end time, so 'Exit on close' will only trigger on Friday. You can create custom session templates in the Session Manager. More information can be found at the link below.

        Comment


          #5
          Excellent, thanks. I'll take a look and post back if I have any questions.

          NP.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          119 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          62 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          40 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          44 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          82 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X