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 argusthome, Yesterday, 10:06 AM
    0 responses
    20 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    38 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X