Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    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.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        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.
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            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 NullPointStrategies, Yesterday, 05:17 AM
                    0 responses
                    55 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    132 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    73 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    45 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    49 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X