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

NT has an assertion failure

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

    #16
    Hello ETFVoyageur,

    You can dynamically add plots or lines in State.Configure like the sample that I suggested you look at in the AddPlot documentation.

    AddPlot is always used to make plots, there is no other supported way to have a plot configuration in the UI. You don't have to add all 10 plots, you can make if conditions but that has to go in State.Configure and you still need to use AddPlot for whatever plots need to be configured by the user. You can make other user inputs to control if those plots are added or not.

    The order the plots are show in the UI is the order you call AddPlot which is also the order of the plot indexing for the Values collection.

    Before doing anything else please view the help guide sample named "ns Indicator which dynamically adds a plot in State.Configure"



    For your other question about arranging user properties I would suggest making a seperate post if you have questions about that, please provide a specific example of the end result you wanted so we have direction on what resources to provide.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by oneybuchi2, Today, 03:48 PM
    0 responses
    7 views
    0 likes
    Last Post oneybuchi2  
    Started by Graci117, 06-19-2024, 01:39 PM
    6 responses
    53 views
    0 likes
    Last Post Graci117  
    Started by farawayz, Today, 01:20 PM
    0 responses
    11 views
    0 likes
    Last Post farawayz  
    Started by rjm1903, Today, 01:10 PM
    0 responses
    6 views
    0 likes
    Last Post rjm1903
    by rjm1903
     
    Started by AH369, 06-21-2024, 11:09 AM
    3 responses
    27 views
    0 likes
    Last Post AH369
    by AH369
     
    Working...
    X