Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Back Test Cumulated Profit

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

    Back Test Cumulated Profit

    When I am running a back test occasionally I will have a negative cumulated profit as well as a negative drawdown but Total Net Profit will be profitable.
    Any idea why that is?
    Thanks
    Pete

    #2
    Guess I am not sure what you mean. Please send a screenshot? Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Guess I am not sure what you mean. Please send a screenshot? Thank you.
      Total Net profit - $360.00
      Gross Profit - $1146.00
      Gross Loss - -$786.00
      Cumulated Profit is -6.35%
      Drawdown -11.14%
      Percent Profitable 43.75%

      Could you explain how my total net profit is positive but my cumulated profit is negative?
      Thanks
      Pete

      Comment


        #4
        The equation for cumulative profit is:

        PRODUCT(1 + profit / entry price) of all trades - 1

        Only way to tell would be to evaluate the math by hand.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I just read over that and it looks confusing
          Total Net profit $360.00
          Gross Profit $1146.00
          Gross Loss -$786.00
          Cumulated Profit is -6.35%
          Drawdown -11.14%
          Percent Profitable 43.75%

          Comment


            #6
            So is it possible to have a negative cumulated profit but a positive total net profit?

            Comment


              #7
              Please provide a reference we can use to reproduce. Generally you should not be able to have cumulative profit as negative but positive profits.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                I forwarded on the emailed image.

                Comment


                  #9
                  Please attach the strategy itself along with steps we can use to try and reproduce to see what may or may not be the cause.

                  Please also try with SampleMACrossOver.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Everyone,

                    My screen capture attached in this thread yesterday seems to highlight this issue well:

                    Comment


                      #11
                      KrisS,

                      On a per trade basis this is absolutely possible. Cumulative profit could be negative while the trade profit could be positive.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        Josh,

                        The accumulated pofit in my earlier example is clearly not correct.

                        Attached is another example with more than one trade. While the strategies are doing relatively well, the real Accumulated Profit is a small fraction of what is indicated.

                        I have also observed the same phenomenon as pistolpete.

                        I think accumulated profit has some opportunity for improvement in NT7. Please consider our input.
                        Attached Files

                        Comment


                          #13
                          KrisS,

                          We would like a reproducible scenario to investigate. Can you please provide a generic strategy that behaves the way you have seen? We were unable to reproduce on our machines. Thank you.
                          Josh P.NinjaTrader Customer Service

                          Comment


                            #14
                            Back Test Cumulated Profit

                            Can you please take a look at this. I repaired my DB and did the same test and the results that came up said that I had a draw down as well as a negative cumulated profit but I had a net profit of +$266, a gross profit of $1255 and a gross loss of $989. Those numbers don't add up, how can I have a negative cumulated profit but a positive total net.
                            Attached Files

                            Comment


                              #15
                              Guys,

                              Without reproducible scenarios there is little we can do here. We are unable to reproduce on our end. Please provide a reference sample that illustrates the issue along with steps we can use to reproduce. Thank you.
                              Josh P.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by FrancisMorro, Today, 03:24 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post FrancisMorro  
                              Started by Segwin, 05-07-2018, 02:15 PM
                              10 responses
                              1,770 views
                              0 likes
                              Last Post Leafcutter  
                              Started by Rapine Heihei, 04-23-2024, 07:51 PM
                              2 responses
                              31 views
                              0 likes
                              Last Post Max238
                              by Max238
                               
                              Started by Shansen, 08-30-2019, 10:18 PM
                              24 responses
                              944 views
                              0 likes
                              Last Post spwizard  
                              Started by Max238, Today, 01:28 AM
                              0 responses
                              11 views
                              0 likes
                              Last Post Max238
                              by Max238
                               
                              Working...
                              X