Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IntervalSelector as parameter

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

    IntervalSelector as parameter

    Hello,
    Is it posible to use the NinjaTrader.Gui.Tools.IntervalSelector control as an input parameter in the load dialog of an indicator or strategy ?
    If so, please, could you provide a sample code?
    Thanks very much

    #2
    Hello cls71,

    I don't see a specific type converter for the interval selector to be used as a properties, generally for those type of values you would use an int and the BarsPeriodType if you wanted to pick some bar value. As a side note if the use case involves AddDataSeries that will cause issues/fail randomly if using runtime variables to select data. If you have other use cases that would generally be fine, only AddDataSerires cannot be dynamic.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    98 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    143 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    69 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    77 views
    0 likes
    Last Post PaulMohn  
    Working...
    X