Thank you for your reply.
On minute chart Bar won't return in volume, it return in numbers of bars. I want it to return in volume on a minute chart. IB dont backfill overnight data.
What do i need to change to make it return in volume
The syntax we are speaking about is simply for converting an X value to an Index of a bar, however, this would not have any relation to multiple series and only the primary panel which the indicator is in. The ChartBars object used references specifically the primary series.
GetValueAt .
double volume = Volume.GetValueAt(someIndex);
In
RenderTarget.DrawLine(startPoint, endPoint, areaBrushDx, 4);
could it be
RenderTarget.VerticalLine(............?); What code do we use? you just cant plug in (
bar.ToString() + " \n 2.62
) and a vertical line appear at bar 226
If I understand you must teach with a method how to find bar 226 in the chart. Its specific position x, y and than it can draw a vertical line.
Is there only a positioning for the bar? A code that tells you where is bar 226 and than you use rendertarget to draw the line?
I look forward to being of further asistance.
Comment