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 dbennett3, Yesterday, 10:49 AM
            1 response
            20 views
            0 likes
            Last Post marcus2300  
            Started by Touch-Ups, Today, 08:42 AM
            0 responses
            11 views
            0 likes
            Last Post Touch-Ups  
            Started by obiwan_cashobi, Today, 05:50 AM
            0 responses
            12 views
            0 likes
            Last Post obiwan_cashobi  
            Started by janefoster, Yesterday, 11:50 PM
            0 responses
            8 views
            0 likes
            Last Post janefoster  
            Started by kaywai, 07-13-2024, 09:05 PM
            3 responses
            34 views
            0 likes
            Last Post kaywai
            by kaywai
             
            Working...
            X