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

Print()ing strategy name

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

    Print()ing strategy name

    How do I reference the Strategy Name in a print statement? args[] does not seem to be available and not clear to me that this would even give me the name of the calling program.

    tks

    #2
    Hello,

    Are you trying to print out the actual name of strategy? If so, you will need to type it out and Print() it.

    Accessing the name of the strategy is not supported.
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by RandyT View Post
      How do I reference the Strategy Name in a print statement? args[] does not seem to be available and not clear to me that this would even give me the name of the calling program.

      tks
      Sorry, I hope don´t break any support rule. (I don´t know )

      Code:
       
      Print(this.Name);
      Last edited by cls71; 10-18-2008, 11:10 AM.

      Comment


        #4
        Thanks! Just what I was looking for.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by helpwanted, Today, 03:06 AM
        1 response
        5 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X