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 rajendrasubedi2023, Today, 09:50 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    0 responses
    4 views
    0 likes
    Last Post geotrades1  
    Started by ender_wiggum, Today, 09:50 AM
    0 responses
    5 views
    0 likes
    Last Post ender_wiggum  
    Started by bmartz, Today, 09:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X