Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Improvements to Strategy Analyzer

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

    Improvements to Strategy Analyzer

    I have some inputs on the Strategy Analyzer:

    Great that you have added a graphical distribution of P/L per entry and exit times. Could please also add functionality to show graphical distribution of P/L per holding period of the individual trades?



    Also using the Optimzier in the Strategy Analyzer:
    I understand that there will be a new "Combined Result" if I do a multi-instrument backtest. This is a great feature. Can you please also use this Combined Result feature if I am using the Optimizer to optimize for data series (i.e. 5,6,7,8... minutes)? And or if I optimized particular variables?


    Thank you

    #2
    whotookmynickname,

    Thank you for the suggestions. Can you please describe what you mean by a graphical distribution?
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Optimizer/Graph/Distribution

      There are several tabs I can switch to after performing the backtest. These are summary, chart, graph, execution, etc.

      On the graph chart you can choose between:Cumulative Net profit, Daily NP, Distribution, etc.

      For Distribution you can choose to show: Time base: Entry and Exit.

      My request is that you make the option available: Per Holding Period

      With this addition, you could graph the distribution of all your trades by holding periods to see where you made money.

      Comment


        #4
        Thanks for the suggestion. We will add it to our list of future considerations.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi! It would be very useful also to be able to overlay the entire price series backtested on the Cumulated profit graph in order to fastly recognize the performances of the system based on the period of the market.

          Thank you

          Comment


            #6
            Thanks for the suggestion.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Do you think that this feature could be present in the final release of N7? Thanks in advance!

              Comment


                #8
                chcant,

                We will take it into consideration, but at this point in time our priorities are more on fixing bugs than on completely new feature sets. Thank you for the suggestion though.

                What you can do right now is create yourself a plot for the strategy that tracks PnL and just have that charted along with your strategy to see how it performed over time along with your chart.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Yes but when i'm in the strategy analyzer all the indicators plotted by the strategy cannot be visible! How can i solve the problem?

                  Comment


                    #10
                    chcant,

                    I am not sure what you mean. Are you saying you do not see any indicator at all? Please try running a backtest with SampleMACrossOver. Are you not able to see the two SMA indicators applied to the chart?
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Yes i see the two EMAs but into my strategy i plot a custom indicator made with Add(StrategyPlot(0)). This is not visible into the strategy analyzer.

                      Comment


                        #12
                        Did you tell it to create a new panel? Do you at least see the indicator listed in the labels?
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          The following its the strategy code relative to the plot:

                          StrategyPlot(0).Plots[0].Pen.Color=Color.Blue;
                          StrategyPlot(0).PanelUI=1;
                          StrategyPlot(0).Name="Chandelier stop";
                          Add(StrategyPlot(0));

                          Comment


                            #14
                            Right, but does it actually come up with an indicator label? Like how the SMA's came up with SMA labels. Does the StrategyPlot one come up?

                            Also, did you actually set values to StrategyPlot in OnBarUpdate?
                            Josh P.NinjaTrader Customer Service

                            Comment


                              #15
                              Yes, it does. It came up with "Chandelier stop" label but in another panel under that of the bar chart. Here you can see an example.
                              Attached Files

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              621 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