Getting bar values

jwilliams9090

New member
Joined
Feb 4, 2024
Posts
3
Likes
0
I have a simple program that gets the values of a bar (open, high, low, close). This uses ctx.getDataSeries() in method calculateValues().
I have other studies on my chart that I want to retrieve the bar values for too, I added a Volume Imprint study with Delta Bars and I want to get the values (open, high, low ,close) of those delta bars too. It looks like getDataSeries() just returns the bars for the ticker for the chart. I'm not sure what to search for to get an example of how to get other elements on the chart. I don't want to calculate delta or anything like that I just want to read the bar values that motivewave generated, just like I did for a regular bar chart.
From looking at the doc and examples I am thinking there is a way to get a map of all the elements that are on a chart, I just don't know how to do it.
 
Top