Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Odd "Close Position"

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

    Odd "Close Position"

    Hi,

    I notice on some historical back-testing I'm doing that short trades seem to be randomly exited for no apparent reason. They are not being closed by any strategy exit and/or StopLoss orders...the chart reads "Close Position" at the exit point when this occurs. I have no idea what is causing this. It just seems completely random. I've commented out all my possible strategy exit/StopLoss sets to try and narrow it down but it doesn't change anything. Has anybody experienced this behaviour before?

    Thanks in advance.

    #2
    Please check out the TraceOrders debugging feature here: http://www.ninjatrader-support.com/v...ead.php?t=3627

    Comment


      #3
      Burga1,

      Check to see if the order is being closed at the end of your session. If ExitOnClose is set to true, your strategy will close any open positions at the end of your session.

      Hope this helps...

      -Scott

      Comment


        #4
        Thanks for the reply, but that's not what it is...

        Comment


          #5
          If you are submitting reversal orders there will be a trade labeled as "Close position" which will first bring your position to flat before you reverse your position.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Thanks for the reply, that might be it, I'll have to check further...

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            65 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            41 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            23 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            26 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            52 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X