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

Get Current Template's Name

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

    Get Current Template's Name

    Hello everyone,

    I am trying to get the current template's name but there's seems to be no built-in function for that in NinjaTrader8. Is there any way I could get current template's name?


    Regards,
    Walter

    #2
    Hello woltah231,

    Thank you for your post.

    There wouldn't be a way to do that through code, the applied template doesn't really stay applied and just changes the parameters for the chart itself. If you're just wanting it displayed on the chart, you could use this workaround to display the template name, though you would have to manually type it into the indicator:

    Hi, Until Ninja comes up with a solution, a quick fix is to add a simple indicator that will print your template name in the upper corner of the chart. Use the


    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alifarahani, Today, 09:40 AM
    4 responses
    20 views
    0 likes
    Last Post alifarahani  
    Started by gentlebenthebear, Today, 01:30 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PhillT, Today, 02:16 PM
    2 responses
    7 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Started by Kaledus, Today, 01:29 PM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frankthearm, Yesterday, 09:08 AM
    14 responses
    47 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Working...
    X