Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cumulative Profit Graph Issue

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

    Cumulative Profit Graph Issue

    I have a Strategy that generates about 400 Trades accross 10 years.

    The backtest runs fine, (The summary contains no error and there is no error message in the log). However the Cumulative profit, Daily Net profit, and Drawdown graphs do not display. If I reduce the analysis period to 1 year instead of 10 years the graph displays.

    This is not a RAM issue. I have enough RAM Available while the 10Y backtest is processed.

    Any Idea? Thanks.

    #2
    What happens instead of displaying? Can you please describe what you see?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      What happens instead of displaying? Can you please describe what you see?
      How can send I you a screenshot?

      Comment


        #4
        Originally posted by Jean-Marc-Molina View Post
        How can send I you a screenshot?
        Hi,

        Screenshots are available here.




        Cumulative Profits and Drawdown are not displayed correcly.

        thank you.

        Comment


          #5
          You can either try attaching it here via the Manage Attachments button when you reply, or send an email with it to support [at] ninjatrader [dot] com. If you send an email please be sure to reference this thread in the email. Thank you.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            The y-axis suggests there are values being read into the graphs. Can you please check your Control Center logs for any errors. Can you please attach your trace logs so we can see if there are any errors there as well?

            Also, can you please try this with SampleMACrossOver and see if you can get the same behavior? Thanks.

            This is on NT7B14 correct?
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              I see the exact same bug in B14 as those screenshots show. Cumulative profit/drawdown are just a straight horizontal line, but monthly returns graph, MAE, efficiency, etc. are just fine. B13 and 6.5 worked fine in this area. Daily profit graph is also broken (just a single vertical bar). There are no errors in the log. This is with a 10 year daily backtest on SPY. A 2 year test works fine, so it is related to longer tests. SampleMACrossOver with SPY daily data and 2/4 as the periods has the same bug, so it isn't strategy-specific either - it is some kind of graph generation bug, I assume.
              Last edited by Anagoge; 04-15-2010, 11:15 PM.

              Comment


                #8
                Originally posted by Anagoge View Post
                I see the exact same bug in B14 as those screenshots show. Cumulative profit/drawdown are just a straight horizontal line, but monthly returns graph, MAE, efficiency, etc. are just fine. B13 and 6.5 worked fine in this area. Daily profit graph is also broken (just a single vertical bar). There are no errors in the log. This is with a 10 year daily backtest on SPY. A 2 year test works fine, so it is related to longer tests. SampleMACrossOver with SPY daily data and 2/4 as the periods has the same bug, so it isn't strategy-specific either - it is some kind of graph generation bug, I assume.

                I confirm I have the same bug with the SampleMACrossOver and 10Y of backtest data on the CAC40. The previous version fo Beta 7 I had installed (I don't remember which beta it was) did not have this bug.

                Thank you in advance for investigating this issue. The backtest capatabilities on long historical data is one of Ninja Trader strong capabilities.

                Comment


                  #9
                  I had this and it was 'fixed' by making the window bigger. I had about three years, and I needed to full screen on a 1600x1200 screen.

                  Comment


                    #10
                    Hi everyone,

                    Can you please send in your .sdf database files for analysis by development? Please send it in to support [at] ninjatrader [dot] com with Attn: Josh in the subject and a link to this thread? Thank you very much.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Hi,

                      I was able to reproduce Jean-Marc-Molina's issue. We will look into it. Thank you for your patience everyone.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        It does look like the problem is that there are more days in the test than there are horizontal pixels (in the daily profit bar graph, for example), since I can can expand the window over both monitors to get the graph to show more properly. You might be able to add a horizontal scrollbar to that graph. For the equity curve, you might be able to combine days until you get something that fits, but it doesn't make as much sense for a daily profit graph to combine days, since it is no longer a daily profit graph after that. It looks like the bar graphs now try to do equidistant and equi-width bars, but didn't do both previously.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        607 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        353 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        105 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        560 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        561 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X