Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Analyzer not displaying results

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

    Strategy Analyzer not displaying results

    I have a custom Strategy and it is not display Analyzer results. Even on chart Performance its blank. But strategy runs and takes trades fine.




    #2
    Hello coucilsoft,

    Thanks for your post.

    Are you skipping historical processing in your script by using the following code?

    Code:
    [I]if (State == State.Historical)
        return;[/I]
    If so, you would need to remove this so that the strategy could process historical data. Skipping historical processing would prevent the strategy from being able to be backtested on historical data in the Strategy Analyzer.

    Let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      No i dont have any check for Historical.

      Comment


        #4
        Hello councilsoft,

        Thanks for your note.

        Please send us an exported copy of the strategy so that we may investigate further.

        To export a NinjaScript strategy you could navigate to Tools > Export > NinjaScript AddOn.

        Exporting: https://ninjatrader.com/support/help...tAsSourceFiles

        I look forward to further assisting.
        Brandon H.NinjaTrader Customer Service

        Comment


          #5
          Attach here?

          Comment


            #6
            Hello councilsoft,

            Thanks for your note.

            Yes, you could attach your exported strategy in this forum thread so we may look further into this.

            I look forward to resolving this.
            Brandon H.NinjaTrader Customer Service

            Comment


              #7
              I'm having this same issue. How do I resolve it? I'm not much of a coder and don't want to mess up the code I have.

              Comment


                #8
                Hello Jenak5,

                To confirm, you are showing trades on the Trades display in the Strategy Analyzer, but the Total # of trades is 0 in the performance report?
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  I was able to get it fixed. Thank you. It was my coding error.

                  Comment


                    #10
                    Originally posted by Jenak5 View Post
                    I was able to get it fixed. Thank you. It was my coding error.
                    May I know what was the error please ?

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by AaronKoRn, Today, 09:49 PM
                    0 responses
                    3 views
                    0 likes
                    Last Post AaronKoRn  
                    Started by carnitron, Today, 08:42 PM
                    0 responses
                    8 views
                    0 likes
                    Last Post carnitron  
                    Started by strategist007, Today, 07:51 PM
                    0 responses
                    9 views
                    0 likes
                    Last Post strategist007  
                    Started by StockTrader88, 03-06-2021, 08:58 AM
                    44 responses
                    3,975 views
                    3 likes
                    Last Post jhudas88  
                    Started by rbeckmann05, Today, 06:48 PM
                    0 responses
                    9 views
                    0 likes
                    Last Post rbeckmann05  
                    Working...
                    X