Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimizer Suggestions

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

    #31
    I agree you wouldn't generally want to average anything across optimization runs. As far as I know, though, the grid on the periods tab in the optimization results is always specific to a single set of input parameters. It lists the monthly/yearly/etc. performance results for only those parameters.

    Comment


      #32
      Hi Anagoge,

      so you basically look for a way to evaluate how a strategy behaves across all parameter sets combined? Makes sense to me to see how parameter sensitive your 'edge' is...

      Thanks for your input!

      Comment


        #33
        Originally posted by NinjaTrader_Bertrand View Post
        so you basically look for a way to evaluate how a strategy behaves across all parameter sets combined? Makes sense to me to see how parameter sensitive your 'edge' is...
        This isn't what I'm trying to suggest, though I can certainly imagine some people using your suggestion (sort of a poor-man's regression analysis on the effects of changing params between optimizer runs).

        All I want is averages, etc. displayed at the bottom of the Periods grid on the Periods tab (not the parent Optimizer tab - see mockup screenshot). The Periods grid only displays data for a single set of parameters at once, as far as I know, and the averages would only be for the selected optimizer run. There would be no averages across different sets of parameters. I'm having a hard time starting this clearly, but hopefully it makes sense now.
        Attached Files

        Comment


          #34
          Thank you for the suggestion. I will also add this to the list of future considerations.
          Josh P.NinjaTrader Customer Service

          Comment


            #35
            It would be helpful to be able to save off sets of optimizer parameters for a given strategy (similar to how you can save off result sets, which is very handy!). Or alternatively, NT save the last used parameter set for the next time I start NinjaTrader. The main reason I would use this is because I need to restart NinjaTrader when it gets high on memory usage, but then when optimizing complex strategies, I have to re-enter 8+ parameter ranges when I restart and be certain I get all numbers the same, so I get consistent results.

            Comment


              #36
              The MAE graph in the optimizer results displays the x/horizontal axis in dollars. It would be nice to be able to see it in percentages relative to entry price (maybe do this when "Percent" is selected in the toolbar's dropdown, or a new checkbox to enter this mode). The reason is that with percentages, you could find the rightmost green triangle (win), and set a stop loss at just beyond that percentage and get a stop that would have saved capital on all further (right) losses, but not decreased the gain for any winning trades. For now, one can manually convert the horizontal axis MAE dollars to a percent of the entry price, so it isn't a huge deal, but a NT feature would make this process a bit easier.

              On the plus side, the MAE graph, as is stands now, is useful for setting dollar-based stop losses.

              Comment


                #37
                Thanks for your continued input Anagoge!

                Comment


                  #38
                  I'd like to see an option to apply a logarithmic scale to the cumulated profit graph Y axis and allow the Y axis also be in dollars. This would be the most helpful if the backtester eventually has built-in support for position sizing based on a % of current (not starting) account value, so that compounding can take place and be visualized in the usual method as described above.
                  Last edited by Anagoge; 12-26-2008, 03:10 PM.

                  Comment


                    #39
                    Thanks for the additional suggestion.
                    RayNinjaTrader Customer Service

                    Comment


                      #40
                      I noticed the cumulated profit graph y axis description can overlap the $ value labels. See the attached screenshot. I ran a strategy that earns a bit over a long period, then switched the dropdown to show currency (not percent), and then the shown overlap happens.
                      Attached Files

                      Comment


                        #41
                        Thanks for reporting.
                        RayNinjaTrader Customer Service

                        Comment


                          #42
                          A couple of minor suggestions:

                          It would be great if the optimize parameters dialog remembered its size, so I would only need to resize it once.

                          It would also be nice if the grid properties dialog was resizable (this is available from the context menu of the optimizer results grid). Currently, it only shows 7 columns at once.

                          Comment


                            #43
                            There seems to be a bug in the Currency display of the optimizer results Trades tab. I assume that the Currency view "Profit" column should show the total $ gained/lost per trade ((exit-entry) * shares, for long stock trades). Instead, it seems to just show the percent view divided by 100 and rounded, so a 58.4% gain shows as a $0.58 gain.
                            Attached Files

                            Comment


                              #44
                              Please see this link as to how profit is calculated: http://www.ninjatrader-support.com/H...tedProfit.html
                              Josh P.NinjaTrader Customer Service

                              Comment


                                #45
                                I've taken a look at that formula, but the numbers still no not make sense to me. As an example, the currency formula is:

                                CumulatedProfit = SUM(profit * quantity * point value)
                                For a stock trade that is:
                                CumulatedProfit = SUM(profit * quantity * 1)
                                Or just:
                                CumulatedProfit = SUM(profit * quantity)

                                For a single long stock trade, that is:
                                CumulatedProfit = (exit-entry) * quantity
                                So, for my first trade in the screenshot:
                                CumulatedProfit = (117.98-133.70) * 37
                                CumulatedProfit = -15.72 * 37
                                CumulatedProfit = -581.64

                                Cumulated profit in the screenshot for the first trade is reported as $-0.12. If I solve for the entry/exit given that number, I get:
                                -0.12 = (exit-entry) * 37
                                -0.12/37 = exit-entry
                                $-0.003 = exit-entry

                                What am I missing here?

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by argusthome, 03-08-2026, 10:06 AM
                                0 responses
                                110 views
                                0 likes
                                Last Post argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                59 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                37 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                41 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                78 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X