Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need more Summary performance stats

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

    Need more Summary performance stats

    I need CAGR - that is Compound Annual Growth Rate http://en.wikipedia.org/wiki/CAGR

    Is it possible to write these performance statistics myself and add them to the Summary tab? I guess not, from the absence of the option on the UI.

    However I saw a script available to add a stat to the list of optimization targets available - http://www.ninjatrader-support2.com/...5423#post95423

    I thought it might be possible to do more with our own custom scripts now.

    Eventually I want to add CAGR / max drawdown as my main optimization targets, because simple profit factor isn't smart enough.

    Thanks

    #2
    Hello adamus,

    Unfortunately it is not supported to add performance statictics. I am not sure if this is somehow possible through the use of NinjaScript and custom programming.

    Comment


      #3
      Jason,

      would you be able to find out?

      The more I use NinjaScript the more I see it is really powerful, so my guess is that it is possible. Actually is there any sort of documentation on the kind of advanced stuff that is possible with NinjaScript beyond programming strategies and indicators, and how NinjaTrader can be enhanced by adding in C# libraries via NinjaScript?

      Comment


        #4
        Unfortunately I am not very familiar with programming and NinjaScript. You will need to look into it yourself - it is not supported.

        There is no real advanced NinjaScript documentation available in our Help Guide. You can find tips at the link below.


        The support forum contains a lot of NinjaScript information as well. You can use the Search function to look for the information you need.

        Comment


          #5
          I am trying to look into it! It seems like a black box!

          For instance, how did the person who developed the MaxSharpeRatio.cs as an optimization target know how to do that?

          I can wait for someone else to jump in on this if there are any others on this forum who do such scripting.

          Thanks

          Comment


            #6
            adamus,

            MaxSharpeRatio is provided by NinjaTrader. Unfortunately creating your own, though possible, is outside the scope of what we can offer support for.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Hi Josh,

              you are correct that MaxSharpeRatio is now provided by NinjaTrader, but a year ago it wasn't. Check out the thread on that link I gave in my first post. The user programmed it himself.

              Since you guys can't or won't provide support for me to program this stuff myself, can you put this on the list of requested features? It can't be that difficult or time consuming for one of your programmers to develop, and you could possibly get it into NT7 while it's in beta.

              It's mainly the ability to optimize on net profit / max drawdown.

              Ideally you could add CAGR as a new performance stat - that's quite a simple profit measure - and then add the optimization target CAGR/max drawdown.

              Thanks

              Comment


                #8
                Hello adamus,

                I will forward your suggestion to our development team and ask them if they can add this to the list of future considerations for the software.

                Thank you for your feedback.

                Comment


                  #9
                  Did you get an issue number for it that I can watch for in the version upgrades release notes?

                  Comment


                    #10
                    Unfortunately not.

                    Comment


                      #11
                      Jason,
                      I have people communicating to me privately that this can be done. Could you find out for me what the background is on this, I mean, why isn't it documented, why isn't it supported, does it cause instability, etc?

                      I'd appreciate it.
                      Thanks

                      Comment


                        #12
                        Unfortunately it falls outside the scope of what we provide support for. By default such functionality is not provided and not supported.

                        Comment


                          #13
                          Originally posted by adamus View Post
                          Jason,
                          I have people communicating to me privately that this can be done. Could you find out for me what the background is on this, I mean, why isn't it documented, why isn't it supported, does it cause instability, etc?
                          If you figure out the undocumented incantations necessary to add new performance measures (beyond optimization targets), please consider posting an example. We know NT can do it internally, but the functionality likely requires some creative "hacking" into the darker corners of the NT assemblies.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          624 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          359 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
                          562 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          567 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X