Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dynamic Enum for TradingHours & InstrumentLists

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

    Dynamic Enum for TradingHours & InstrumentLists

    It would convenient if there were enums created for these list objects so they can easily be referenced as properties.

    The how to is documented here http://stackoverflow.com/questions/8...create-an-enum

    Alternatively, I can have these dynamically created on NT8 startup but I'm not sure how to have my custom method that creates these get called at startup. Any ideas?
    Last edited by GrumpyTrader; 02-10-2016, 12:43 PM.

    #2
    Hello GrumpyTrader,

    Thank you for writing in.

    I would suggest taking a look at this particular link to the help guide for further information about OnStateChange(). You'll be able to have custom methods called on startup during one of the states that you desire: http://ninjatrader.com/support/helpG...tatechange.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    669 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    378 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X