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

Dynamic Data Box labels?

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

    Dynamic Data Box labels?

    This is related to my question about dynamic configuration data. I am making an indicator with a configuration enum parameter that controls the type of information the indicator is based on.

    That means the plot label in the Data Box should vary according to which choice the user makes. I can use a generic label, but it would be nicer if I could set a more specific one once the user configuration is done.

    I have tried setting Plots[0].Name in both OnStartUp() and OnBarUpdate(). Both are ignored -- it looks as if once the name is set in the Add call in Initialize() it is cast in concrete.

    Is there any way to set this name after Initialize() is done -- i.e. once I know what it should be?

    --EV

    #2
    Hi EV, unfortunately dynamically labeling the data box contents is not supported.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DayTradingDEMON, Today, 09:28 AM
    4 responses
    21 views
    0 likes
    Last Post DayTradingDEMON  
    Started by geddyisodin, Yesterday, 05:20 AM
    9 responses
    50 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by George21, Today, 10:07 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Stanfillirenfro, Today, 07:23 AM
    9 responses
    24 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by navyguy06, Today, 09:28 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X