Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fix the bug

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

    Fix the bug

    Hello, when I run my backtesting, Ninja shows me this, can anybody fix it? It's urgent. This means, that system did not trade at this periods... I cannot find my developer, who did this.

    Thanks

    #2
    This looser (I mean developer) has disappeared

    Comment


      #3
      Hello U0000999,

      Thank you for your post.

      If you open up a NinjaScript Editor window, are you able to see the strategy listed under Strategies? While we aren't necessarily able to debug a strategy for you, I may be able to look at the code and tell you why it may be doing that. However, many third party NinjaScript items are distributed as compiled assemblies. If that's the case, you wouldn't see it listed in the NinjaScript Editor and would need to get in contact with the original developer as the code would not be accessible.

      Thanks in advance; I look forward to assisting you further.
      Kate W.NinjaTrader Customer Service

      Comment


        #4
        Should I send you a code?

        Comment


          #5
          Hello U0000999,

          Thank you for your reply.

          If you're able to access it in the NinjaScript Editor, you should be able to export the script from Tools > Export > NinjaScript AddOns and attach the resulting .Zip file to your reply. I'd be happy to take a look and see what may be occurring. Also, what instrument and interval of a chart were you backtesting it on?

          Thanks in advance; I look forward to assisting you further.
          Kate W.NinjaTrader Customer Service

          Comment


            #6
            Usually ES, NQ and mini DAX, but they could be CL and others

            Comment


              #7
              This add-on emulates trades on historical tick data (depends on the selected timeframe), writes the results of trading in a text file.

              I think the mistake is that orders are not executed for some reason or continuation chart has mistakes.

              P.S.: Also to run the strategy, you should copy riskparameter.cs file to C:\Documents\Ninjatrader8\ folder
              Attached Files

              Comment


                #8
                Hello U0000999,

                Thanks for your reply.

                The attached scripts are really too large for us to give any feedback. If you can reduce so it only has the code necessary to reproduce the issue with all other code removed, then we could offer some further insight.

                I suggest to focus on this issue:

                The strategy is submitting orders, but orders are submitting during X time frame.

                In order to investigate further we should confirm the following:

                1. Order methods are being reached. This would be done using prints to verify that the logic is allowing the order methods to be reached

                2. If the order methods are reached, but no orders are submitted, please test again with TraceOrders enabled so you can receive hints if the order was ignored due to a rule of the Managed Approach.

                I've included some tips for debugging below. The Playback Connection can be used to replay data as if it were realtime.

                Debugging Tips - https://ninjatrader.com/support/help...script_cod.htm

                TraceOrders - https://ninjatrader.com/support/help...aceorders2.htm

                Debugging in the Strategy Builder - https://drive.google.com/file/d/1mTq...w?usp=drivesdk

                Playback Connection - https://ninjatrader.com/support/help...connection.htm

                Debugging Demo - https://drive.google.com/file/d/1rOz...w?usp=drivesdk

                We look forward to assisting.
                JimNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ZenCortexCLICK, Today, 04:58 AM
                0 responses
                2 views
                0 likes
                Last Post ZenCortexCLICK  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                172 responses
                2,280 views
                0 likes
                Last Post sidlercom80  
                Started by Irukandji, Yesterday, 02:53 AM
                2 responses
                17 views
                0 likes
                Last Post Irukandji  
                Started by adeelshahzad, Today, 03:54 AM
                0 responses
                5 views
                0 likes
                Last Post adeelshahzad  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                13 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X