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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    94 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    81 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    75 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Working...
    X