Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Different daily bar count than primary series in strategy

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

    Different daily bar count than primary series in strategy

    Hello,

    I'd like to use long term daily SMA averages, like 200 or 50, on an intraday chart that is at a much finer time granularity, e.g. 5 minutes, etc. I would prefer to not load more than a few days of data for the intraday series if possible, e.g. a few days, a week, etc. Is there a way to load 200 days' worth of daily bar data to compute 200 SMA without having to load 200 days' worth of the primary bar series? I know I can just add daily bars as a second series, I'm just trying to see if there's a way to load different number of days for the two series.

    Thanks.

    #2
    Hello silverm3170,

    Thank you for your inquiry.

    Unfortunately, if you want to supply the data as input to an indicator, the only way is to either use the primary data series or use AddDataSeries().

    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X