Announcement

Collapse
No announcement yet.

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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        227 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        146 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        160 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        238 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        197 views
        0 likes
        Last Post CarlTrading  
        Working...
        X