Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need Listbox in Strategy Configuration Dialog

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

    Need Listbox in Strategy Configuration Dialog

    I was able to add a custom parameter to the strategy configuration dialog that displays for both "Backtest" and choosing a strategy from a chart. The parameter value is displayed in the dialog. How can I get a dropdown listbox to display with a range of values to select from like the "Data Series Type" parameter?

    [Description(
    "")]
    [Category(
    "Parameters")]
    publicint ConfigWaitAndSeeLimit
    {
    get { return WaitAndSeeLimit; }
    set { WaitAndSeeLimit = Math.Max(1, value); }
    }

    #2
    aaascotty, you would need to work with enums for this - http://www.ninjatrader-support2.com/...ead.php?t=3420

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    168 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    323 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    247 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X