Padding bars with PriceVolumeDist
Author: pscanlon1
Creation Date: 5/8/2016 3:59 PM
profile picture

pscanlon1

#1
Hi All,
Im trying to pad my bars to the right of the last bar, in order to see the price and volume distribution easier.

Im basically doing this in my code..

CODE:
Please log in to see this code.


Is there a way to get a reference to the last bar, regardless if there is padding or not using Bars.Count?

I see in the extension method for PriceVolumeDist, it is using

CODE:
Please log in to see this code.
to get a reference to the right most point to make the rectangles.

Ive attached a picture that might help what I am trying to achieve. Thanks
profile picture

Eugene

#2
Hi Patrick,

Unfortunately, you can not draw on the padded bars area. This is a limitation.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).