Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series<T> Question

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

    Series<T> Question

    Hi,

    When working with minute bars, is there a way to initialize a Series<T> linked to a daily bar series without adding a dummy secondary daily bar series to the strategy?

    #2
    Series&lt;T&gt; Question

    Hello wuileng,

    Thanks for writing in to our Support team.

    There is no other means to sync the ISeries to a daily series without first adding the bars object in the code if you are not calculating off of a daily chart already. You would need to add the daily bar series via the AddDataSeries method and use the correct BarsArray[] index to reference this daily data series.

    For more information on how to add bars objects and creating Series<T> objects from bars objects, you can visit our help guide here:

    Adding Additional Bars Object to NinjaScript:
    http://ninjatrader.com/support/helpG...tToninjascript

    Creating Series<T> Objects:
    http://ninjatrader.com/support/helpG...gSeriesObjects

    Please let me know if I may be of any further assistance.
    Alan S.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    27 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X