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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            102 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            144 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            71 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            125 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            79 views
            0 likes
            Last Post PaulMohn  
            Working...
            X