Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Added DataSeries

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

    Added DataSeries

    Hello

    When i add a data series on my custom indicator on the initialize method, the number of bars for that series is like the number of bars on my chart. Is there a way to increase it so the new data series will have more bars?

    Thanks

    #2
    Hello kiss987,
    Unfortunately there are no supported way of doing it.

    However if you NinjaScript code has additional bar series then you can refer the data series to that bar series. Please refer to this sample code which further illustrates it
    Note: In NinjaTrader 8 It is no longer needed to use an indicator to sync a secondary series. This can be done directly from the Series<T> (https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?seriest.htm) constructor. This post is left for historical purposes. Series objects are useful for
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X