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 Karado58, 11-26-2012, 02:57 PM
                    8 responses
                    14,828 views
                    0 likes
                    Last Post Option Whisperer  
                    Started by Option Whisperer, Today, 09:05 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post Option Whisperer  
                    Started by cre8able, Yesterday, 01:16 PM
                    3 responses
                    11 views
                    0 likes
                    Last Post cre8able  
                    Started by Harry, 05-02-2018, 01:54 PM
                    10 responses
                    3,204 views
                    0 likes
                    Last Post tharton3  
                    Started by ChartTourist, Today, 08:22 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post ChartTourist  
                    Working...
                    X