Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Choose time frame in parameter

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

    Choose time frame in parameter

    Hello guys!

    I want to create a time frame selection (combo box) in 'Parameters' section (like as on chart).
    [Every Ticks; 1 Min; 2 Min; 3 Min; 5 Min; 10 Min; 15 Min; 30 Min; 60 Min]
    It would be a scheduler.
    If selected the 'Every Ticks': calling a function for every incoming tick
    If selected the '1 Min': calling a function in every minutes (when new bar is opened on 1 min chart)
    etc...
    Have you got any idea?

    Thank you,
    Bejglee

    #2
    Hello Bejglee,

    Thank you for your note.

    Using enums can give you a drop-down.

    Below is a link to an example in the forums file sharing section that has a demonstration of this.
    http://ninjatrader.com/support/forum...d=4&linkid=426

    If you are wanting to make a drop-down from an array of strings, this can be done too. Attached is an example.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X