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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    58 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X