• 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 b16_aln, Today, 08:53 AM
    0 responses
    6 views
    0 likes
    Last Post b16_aln
    by b16_aln
     
    Started by learningnt, Yesterday, 10:52 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by U0000999, Today, 07:31 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by TheGameOfProbabilities, Today, 06:56 AM
    5 responses
    23 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by emuns, Today, 06:40 AM
    2 responses
    11 views
    0 likes
    Last Post emuns
    by emuns
     
    Working...
    X