Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can this happen?

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

    How can this happen?

    Hi,
    Attached is an Order execution window. This is a back test. I enter a trade at 9:02 and immidiatly put an ExitStopShort. At the price 83.61. Why did it exit at 11:20 with 83.74???
    Attached Files

    #2
    Baruch, you would need to debug the stopPrice set / changed with Prints and the TraceOrders info - is the stop properly reset when you're flat? Which timeframe and connection are you backtesting on? Is this for NT 65 or 7 beta?

    Thanks

    Comment


      #3
      Bertrand hi,
      I enabled the trace and have no errors.
      Attached in one file are:
      1. Debug at the execution
      2. Execution tab
      3. Order tab

      I run it in 6.5. Without any connection. The strategy runs on 15 min chart with 1 min second time frame (I enter trades on 1 min).

      Baruch
      Attached Files

      Comment


        #4
        Thanks Baruch, orders on backtesting will get executed on the bar following the signal - the stop market order is submitted 11:19 and then executed one bar later on your 1 min chart, 11:20 - the price difference is due to using a StopMarket that will execute a market order once the stop portion (your 83.61) triggered the order.

        Comment


          #5
          Hi Bertrand,
          Market order is OK. Why it shows 13 ticks slippage thats my question? I want to remind you its back test.

          Baruch

          Comment


            #6
            Baruch,

            You will need to look at how the actual bar looks like. Looking at submission prices is not enough.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            647 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            368 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            108 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            571 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            573 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X