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

Change the indicator name

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

    Change the indicator name

    I have changed the indicator name on the OnStateChanged method and it appears OK in the indicator window but once applied to a chart I still see the old name under the Configured window.

    Is there a way the get the same name I have put on OnStateChanged Method under the Configured windown ?


    Thank you

    #2
    Hello. Thanks for the note.

    The name property in State.SetDefaults should reflect the name of the indicator in both the indicator menu and the default label on the chart. If you want to make a copy of your indicator, right-click the code and click Save As, then give it a different name. This will make sure that the name is reflected throughout the entire script. Please be ensure that the script is compiled and the name given should be the same throughout all menus.

    Please let us know if we may be of any further assistance.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ttrader23, 05-08-2024, 09:04 AM
    9 responses
    42 views
    0 likes
    Last Post ttrader23  
    Started by ZeroKuhl, Yesterday, 04:31 PM
    8 responses
    43 views
    0 likes
    Last Post ZeroKuhl  
    Started by reynoldsn, Today, 07:04 PM
    0 responses
    8 views
    0 likes
    Last Post reynoldsn  
    Started by puapwr, Today, 06:09 PM
    0 responses
    4 views
    0 likes
    Last Post puapwr
    by puapwr
     
    Started by franciscog21, Today, 05:27 PM
    0 responses
    13 views
    0 likes
    Last Post franciscog21  
    Working...
    X