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.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by proptrade13, Today, 11:06 AM
        0 responses
        0 views
        0 likes
        Last Post proptrade13  
        Started by kulwinder73, Today, 10:31 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by RookieTrader, Today, 09:37 AM
        3 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by terofs, Yesterday, 04:18 PM
        1 response
        24 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by CommonWhale, Today, 09:55 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X