Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Does Strategy Plot still work?

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

    Does Strategy Plot still work?

    I am trying to use the strategy plot from the strategy PNLTEST on the site with Ninja 7.10. However I am not getting any items ploted. Is there something extra that now needes to be done?

    TradesCumProfit = Performance.AllTrades.TradesPerformance.Currency.C umProfit -
    priorTradesCumProfit +
    Position.GetProfitLoss(Close[0], PerformanceUnit.Currency);

    StrategyPlot(0).Value.Set(TradesCumProfit);
    StrategyPlot(1).Value.Set(0);
    StrategyPlot(2).Value.Set(TradesCumProfit);
    I have tried replacing tradescumprofit with a static value, and still nothing showed up. Any suggestions?

    based on the following thread, it appears not to work. Please use the strategy PNLTest available for download to confirm for yourselves.
    Last edited by richa61416; 02-26-2010, 03:23 PM.

    #2
    Please clarify what PNLTEST is and where it is shared.

    You should check your Control Center logs for any errors.
    Josh P.NinjaTrader Customer Service

    Comment


      #3

      I am refering to this one.

      Comment


        #4
        Seems to be plotting fine to me.
        Attached Files
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Mines show as is
          Attached Files

          Comment


            #6
            Suggest you check your Control Center logs for errors.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              there are no errors.

              Comment


                #8
                i closed out and went back in, same results, nothing plotted. May be you need to test on a clean ninja 7 machine installation. Some thing may be misisng

                Comment


                  #9
                  Unfortunately all I can suggest is for you to reinstall script as well as NT.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Originally posted by NinjaTrader_Josh View Post
                    Unfortunately all I can suggest is for you to reinstall script as well as NT.
                    ok will do so.

                    Comment


                      #11
                      Hmmm on both my Laptop and Desktop, the Strategy plot fails to plot.

                      Comment


                        #12
                        Is Multi Color Approach available for StrategyPlot?

                        When I tried to use it I got: The name 'PlotColors' does not exist in the current context

                        EDIT: I suppose I will have to make appropriate changes in the StrategyPlot indicator itself and without this it can't be done from the strategy level
                        Last edited by gregid; 02-28-2010, 10:49 AM.

                        Comment


                          #13
                          StrategyPlot(0).Plots[0].Pen.Color = Color.Green;
                          StrategyPlot(
                          0).Plots[0].Pen.Width = 3;

                          HOwever strategy plot is not working properly in ninja 7. You may want to test this in Ninja 6.5.

                          Comment


                            #14
                            richa61416,

                            I can't reproduce your issues on several of my test machines. I suggest you create a simple test that just plots a line instead of some fancy PnL calculation to confirm first.
                            Josh P.NinjaTrader Customer Service

                            Comment


                              #15
                              OK. Josh. I already attempted to just plot 1 item before consulting Ninja. That did not work either. As this is the beta version still, eventually it will work. There are more larger items of higher priority, so this item can wait.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              597 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              343 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              103 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              556 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              555 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X