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 lorem, Today, 09:18 AM
    0 responses
    2 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by hazylizard, Today, 08:38 AM
    4 responses
    11 views
    0 likes
    Last Post hazylizard  
    Started by geddyisodin, Today, 05:20 AM
    2 responses
    19 views
    0 likes
    Last Post geddyisodin  
    Started by Max238, Today, 01:28 AM
    5 responses
    47 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by giulyko00, Yesterday, 12:03 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X