Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Blue horizontal line on cumulative profit graph

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

    Blue horizontal line on cumulative profit graph

    What does it represent? The average of my cumulative profit as seen on the last day?

    Is it possible to remove that?

    Thanks!
    Last edited by :::grimReaper:::; 01-26-2015, 06:40 PM.

    #2
    grimreaper,

    Yes, that is the average cumulative profit. Unfortunately there is no way to remove it.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      What is the formula for average cumulative profit?
      If cumulative profit is summed and divided by the number of trades, it does not equal the level of the blue line on the graph.
      See attached: blue line = 71, but average of cum profit column = 232.96
      Click image for larger version

Name:	graph.jpg
Views:	1
Size:	187.4 KB
ID:	873028
      Click image for larger version

Name:	excel.jpg
Views:	1
Size:	364.4 KB
ID:	873029

      Comment


        #4
        You can find the formula for cumulative profit at the link below.
        JasonNinjaTrader Customer Service

        Comment


          #5
          The question is "What is the formula for "Average Cumulative Profit"?
          That definition is not listed in the link you posted.
          Average cumulative profit is the blue horizontal line drawn on the cumulative profit performance graph.

          Comment


            #6
            Hello Camdo,

            Average cumulative profit is calculated using the formula for cumulative profit divided by the total number of trades.

            If other questions come up which I could assist you with please let me know.
            KyleNinjaTrader Customer Service

            Comment


              #7
              Unfortunately that is not the case as the spreadsheet shows in post #3.
              As I understand your answer:
              average cumulative profit = (sum of cumulative profits shown in cumulative profit column) / # trades

              Comment


                #8
                Originally posted by Camdo View Post
                Unfortunately that is not the case as the spreadsheet shows in post #3.
                As I understand your answer:
                average cumulative profit = (sum of cumulative profits shown in cumulative profit column) / # trades
                What?

                I typed in all those #s into a spreadsheet and sum'd them, and then divided the total # of trades and it = the avg

                The graph shows daily profit.

                Comment


                  #9
                  Originally posted by sledge View Post
                  The graph shows daily profit.
                  We need to back up a bit here.
                  The purpose of this thread is
                  1. Define what the horizontal blue line is on the cumulative profit graph.
                  2. State the formula for the horizontal blue line.

                  Comment


                    #10
                    Hello Camdo,

                    Thanks for your reply.

                    This line is the average.

                    The following is the math used to calculate this.
                    (avgVal - yMinVal) / Math.Max(0.000001, yMaxVal - yMinVal))
                    Where avgVal is the Average of the Plots that it sees
                    BrandonNinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_Brandon View Post
                      (avgVal - yMinVal) / Math.Max(0.000001, yMaxVal - yMinVal))
                      Where avgVal is the Average of the Plots that it sees
                      This is the formula for the line location on the chat relative to the chart boundaries.

                      The item of interest is avgVal (= the Average of the Plots that it sees)"
                      What is the formula for AvgVal?
                      Please show a calculation example using the data shown in post #3.

                      Comment


                        #12
                        Hello Camdo,

                        Thanks for your reply.

                        Here is an easy way to calculate this.
                        If you look at graph posted we can see 3 plot points for the diagonal lines; $0, -$196.1,-$17.36
                        This brings a total of -$213.46
                        -$213.46 / 3 = -$71.15
                        This gives us the -$71.15 horizontal plot on the Cumulative Profit graph
                        Last edited by NinjaTrader_Brandon; 01-29-2015, 08:53 AM.
                        BrandonNinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by DavidHP, Today, 07:56 AM
                        1 response
                        5 views
                        0 likes
                        Last Post NinjaTrader_Erick  
                        Started by kujista, Today, 06:23 AM
                        3 responses
                        8 views
                        0 likes
                        Last Post kujista
                        by kujista
                         
                        Started by Mindset, Yesterday, 02:04 AM
                        2 responses
                        18 views
                        0 likes
                        Last Post NinjaTrader_RyanS  
                        Started by f.saeidi, Today, 08:03 AM
                        1 response
                        5 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Started by samish18, 04-17-2024, 08:57 AM
                        15 responses
                        53 views
                        0 likes
                        Last Post NinjaTrader_BrandonH  
                        Working...
                        X