• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 - Dataseries Overloads

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

    NT8 - Dataseries Overloads

    Sometthing like this is a handy thing to have:

    This will improve performance and the problems with people and historical data...
    And will allow developers to really do some very nice things without performance or data impacts...

    1...
    you dont want to load historical data always
    you want to also control the sessiotemplate
    and periodtype and period

    DataSeries dSDaily = new Dataseries(Daily,1, doNotLoadHistorical, sessionTemplateRTH)

    or would it be similar to:
    DataSeries dSDaily = new DataSeries(BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName)


    I would pay you to add this

    sometimes i use arrays and generics to do the job of dataseries as above quite often to avoid overheads - but then i have to sometimes write a subsystem of indicators that do not use dataseries they work off the arrays.... are far more lightweight and quicker than NT indicators as they just array and formula based - but time consuming.... so then i might then copy the values to an indicator based on a dataseries... and its all quite crazy as the above solutions would work very good
    Last edited by MicroTrends; 05-07-2015, 08:11 PM.

    #2
    Sorry not following 100%

    Are you referencing the AddDataSeries() and adding in a secondary series or the ISeries<T> DataSeries objects?

    I believe your referncing AddDataSeries() in which case we do have a new AddDataSeries() overload where you can specify the amount of data to load.

    http://www.ninjatrader.com/support/h...dataseries.htm

    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sergey_z, Today, 05:44 AM
    0 responses
    2 views
    0 likes
    Last Post sergey_z  
    Started by NinjaCustomer, Today, 12:29 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by ronaldgreene828, Yesterday, 07:50 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by nailz420, 07-17-2019, 08:38 AM
    2 responses
    14 views
    0 likes
    Last Post nailz420  
    Started by bouncetherubble, Yesterday, 06:56 PM
    0 responses
    9 views
    0 likes
    Last Post bouncetherubble  
    Working...
    X