Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimizer: profitability

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

    Optimizer: profitability

    Dear all, the optimizer can be optimize on a few parameters. Most are obvious or described in the manual but somehow I am not sure about the "max profitability"? I would be grateful to learn how it is define.
    Thank you. KR. Ch90

    #2
    Hello,

    Thanks for the forum post.

    Can you show me a screenshot of what your referencing as I'm having issue finding what you are asking on.

    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.


    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      This should help, the option is in Optimizer > Optimize > Optimize on...
      Attached Files

      Comment


        #4
        Dear Brett,

        I was wondering if you had the time to consider my demand re max profitability?

        Thank you,
        Ch90

        Comment


          #5
          Hello,

          Thanks for the note.

          Here is the code for returning Max Probability.

          Code:
          double div    = systemPerformance.AllTrades.TradesPerformance.Percent.StdDev / Math.Sqrt(systemPerformance.AllTrades.TradesCount);
                          double t    = Stat.StudTp(systemPerformance.AllTrades.TradesPerformance.Percent.AvgProfit / div, systemPerformance.AllTrades.TradesCount - 1);
                          return (div <= 0.5 ? 1 - t : t);
          BrettNinjaTrader Product Management

          Comment


            #6
            Hi Brett, Thank you for the technical information. Do you have a definition for dummies? I am not sure how to interpret the code

            Comment


              #7
              Hello,

              It is the Standard Deviation of the Trade Performance in Percent devided by the sqrt of all the trades taken which is then further divided by the AvgProfit and then compared statistically to all trades to find out the number of trades that were successful vs the number of trades that fell below the above cut off for success or failure as defined above. To give you probability of each trade being profitable and specifically the maximum probability of trades that had success will be filtered to the top when optimizing on this value.

              Let me know if I can be of further assistance.
              BrettNinjaTrader Product Management

              Comment


                #8
                I think I got it. Thank you Brett.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                80 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                46 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                29 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                32 views
                0 likes
                Last Post TheRealMorford  
                Started by Mindset, 02-28-2026, 06:16 AM
                0 responses
                66 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Working...
                X