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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            59 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            143 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            161 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            97 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            276 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X