Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

add data series whitout history

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

    add data series whitout history

    hello, i run indicator with 27 data seriess, takeing long time to load it evry time i change my code and refresh the chart.

    is there a way to add data series without history bars?

    #2
    Hello tomas1983,

    Thank you for your post. In your data series window, there is a parameter for "Days to load." The fewer days you load into your data series, the faster your chart(s) will load.

    Additionally, in your indicator parameters, there are a couple settings which can effect your PC's performance. Under Setup, there is a parameter called "Calculate." If this is set to "On bar close," your indicators will take less time to load than if it is set to "On each tick" or "On price change."

    Also within the indicator parameters is "Maximum bars look back." Here you have the options of 256 or Infinite. Choosing 256 will require less PC memory than choosing Infinite.

    I have provided a relevant section of the NinjaTrader 8 Help Guide as well.


    If I may be of further assistance, please let me know.

    Comment


      #3
      ninjascript

      hi, tnx for ur reply, but i want to load the data series for my ninjascript ecditor without history.

      im useing:
      Add("6C 06-14", PeriodType.Minute, 1);

      i want it to load the data without any history.

      Comment


        #4
        Hello,

        Thank you for the post.

        I wanted to check, is this question for NT7 or NT8? The "Add" syntax is for NT7 but we are currently in the NT8 forums. Can you confirm?

        For NT8 specifically, using the AddDataSeries() syntax you could potentially use the following overload set:

        Code:
        AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)



        This allows you to specify a BarsToLoad which could be set to a low amount.

        For NT7, this would not be possible and the Add syntax would follow what the charts DataSeries is set to.

        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        80 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        46 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X