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

How to fill Strategy column in Trade Performance window NT8

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

    How to fill Strategy column in Trade Performance window NT8

    When running a Trade Performance in NT8 my "Strategy" column always come out empty. Would be beneficial to be able to distinguish between various strategies in the performance window. Does anyone know how to get a strategy to write its name in a way that is picked up by this column?

    Cheers,

    #2
    Hello Jesperboll, thanks for your note.

    The SampleMACrossover strategy is displaying for me, as well as saved ATM templates. Its possible the display name is overridden in the strategy. Did you write the strategy? Are you able to view the source code or is this compiled into a dll from a vendor?

    I look forward to hearing from you.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi Chris,

      I did the strategy in the strategybuilder wizard - is there a particular naming or referencing I need to do in the code to reflect it property? I can view and adjust the code as needed.

      Thx,
      /Jesper

      Comment


        #4
        Hi Jesper, thanks for your reply.

        That is not expected, the DisplayName property is not editable through the builder. Could you kindly Export your script and post it here so I can have a look? Alternatively, send the .zip to platformsupport at ninjatrader.com and reference "Attn ChrisL <forum link> 2193698" in the body of the email.

        I look forward to your reply.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          This random one for example does not write to the Strategy column.

          Attached Files

          Comment


            #6
            Hi Jesper thank you for posting that. I am running your script now, I'll let you know what I see once it makes a trade.
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              Hi Jesper, thanks for your patience.

              The strategy made a trade and I do see it within the Trade Performance window. In the strategy setup menu, did you erase the "Label" property? This could be the cause. I am running the script again with the label cleared out to see what comes up as the strategy name in Trade Performance.

              I look forward to your reply.
              Chris L.NinjaTrader Customer Service

              Comment


                #8
                Hi Chris,

                It suddenly started printing the strategy name fine! Don't know what was wrong initially but all runs well now.

                Thanks a lot!
                /Jesper

                Comment


                  #9
                  Hello, thanks for your post.

                  There is no particular naming you should stick to except for using special characters (#$%^&*) The "Name" property of the script is what will reflect the display in Trade Performance.

                  Kind regards.
                  Chris L.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by ursavent, Today, 12:54 PM
                  0 responses
                  2 views
                  0 likes
                  Last Post ursavent  
                  Started by Mizzouman1, Today, 07:35 AM
                  3 responses
                  17 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by RubenCazorla, Today, 09:07 AM
                  2 responses
                  13 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by i019945nj, 12-14-2023, 06:41 AM
                  7 responses
                  82 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by timmbbo, 07-05-2023, 10:21 PM
                  4 responses
                  158 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Working...
                  X