• 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

  • NinjaTrader_Brett
    replied
    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)

    Leave a comment:


  • MicroTrends
    started a topic NT8 - Dataseries Overloads

    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, 07:11 PM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by tonynt, Today, 02:21 AM
0 responses
3 views
0 likes
Last Post tonynt
by tonynt
 
Started by alstsion, Today, 12:55 AM
0 responses
1 view
0 likes
Last Post alstsion  
Started by kandster, Yesterday, 11:49 PM
0 responses
3 views
0 likes
Last Post kandster  
Started by priceisking, Yesterday, 05:33 PM
0 responses
26 views
0 likes
Last Post priceisking  
Started by vivekniwas, Yesterday, 02:15 PM
1 response
16 views
0 likes
Last Post NinjaTrader_ChrisL  
Working...
X