Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

dropdown parameters for indicators and strategies

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

    dropdown parameters for indicators and strategies

    I would like to make one of my parameters a dropdown box instead of a string variable. For example, I want to have a dropdown box that lets me select either "buy stop" or "buy stop limit" for a strategy or some other type of variable for an indicator.

    Is there any example code I could look at to accomplish this?

    Thanks,

    Steve

    #2
    Hello Stevent,

    Yes, you can see an example of this here:
    Creating a user-defined parameter type (enum)
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X