Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stoplosss bug

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

    Stoplosss bug

    I am using the new Live till cancel order type, however i am not too sure what is causing the attached bug. Stoploss 300. The strategy back testing is telling me I would have gotten stopped out on the order, however the Chart itself says that since entry, price never reached that High again up to close.

    Also, When Bactesting, Does Ninja determine whether the High of the bar came first then the Low??
    Attached Files

    #2
    richa61416,

    I am unsure of the order type you have here. Please use TraceOrders to debug your orders. It will provide indepth information as to what exactly your orders are doing.

    When backtesting NinjaTrader does not know which came first. I believe you will get filled on a stop loss if the high was above your stop price regardless if you could have taken profit if the profit target was hit by the low too.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Your chart displays some bizarre results.

      I was having similar problems, but Josh helped me solve it in this thread: http://www.ninjatrader-support.com/v...ead.php?t=3728

      Hope this helps.

      Comment


        #4
        KBJ,
        Can you post the modified @DefaultFillType.cs . Based on Josh response I would have probably just stopped testing V6.5, and hope that this error was resolved time they released officially. I had a similar bug once, and it is hard to some times convince them that there is a problem sometimes.

        Thought the picture said it all.

        Comment


          #5
          It's already posted.

          See: http://www.ninjatrader-support.com/v...4&postcount=28

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          601 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          347 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          559 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          558 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X