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 Waxavi, Today, 02:00 AM
            0 responses
            1 view
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Started by elirion, Today, 01:36 AM
            0 responses
            3 views
            0 likes
            Last Post elirion
            by elirion
             
            Started by gentlebenthebear, Today, 01:30 AM
            0 responses
            4 views
            0 likes
            Last Post gentlebenthebear  
            Started by samish18, Yesterday, 08:31 AM
            2 responses
            9 views
            0 likes
            Last Post elirion
            by elirion
             
            Started by Mestor, 03-10-2023, 01:50 AM
            16 responses
            391 views
            0 likes
            Last Post z.franck  
            Working...
            X