Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Loading a number of days data into a volumetric bar series

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

    Loading a number of days data into a volumetric bar series

    Hello,

    I am adding a volumetric data series to my strategy using the AddVolumetric() method within the State.Configure section of OnStateChange(), however unlike the AddDataSeries() method, there doesn't seem to be an overload which specifies the number of previous bars to load, and from what I can see, it only loads 3 days of history.

    If I load data directly on to the chart, I can choose the number of days of history to load, and I would like to programatically be able to make the volumetric data series load the same number of days/bars as my primary data series (ideally without actually putting the volumetric series on the chart).

    I have had a good look around, and I can't seem to find a way to do this.

    Am I missing something obvious?


    Thanks!

    #2
    Hi NichUK, thanks for posting.

    AddVolumetric will load the same number of days as the primary series, up to the maximum days of tick data your data provider is supplying. My test loaded the requested 20 days on NQ 1 minute:



    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    62 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 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