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 read name of this strategy inside strategy?

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

    How to read name of this strategy inside strategy?

    So are there any values for that what can be used?

    If I override some PrintWith.. functions with own and start with printOut(nameOfStrategy + ": other message");
    style..

    (Something like argv, argc unix)

    - raffu

    #2
    raffu, you could print this.Name - Print(this.Name);
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by tradebot, Today, 01:25 PM
    0 responses
    4 views
    0 likes
    Last Post tradebot  
    Started by seq2seq, 05-07-2023, 07:26 PM
    6 responses
    563 views
    0 likes
    Last Post duniya_trader  
    Started by i2ogu3, Yesterday, 11:31 PM
    4 responses
    23 views
    0 likes
    Last Post i2ogu3
    by i2ogu3
     
    Started by reynoldsn, Yesterday, 07:11 PM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by manueldecastro, Today, 10:26 AM
    2 responses
    12 views
    0 likes
    Last Post manueldecastro  
    Working...
    X