I'm coding an indicator using custom plotting (overriding the Plot method) and let's say I need to draw, for each bar of the price panel, a simple rectangle in the indicator panel. For that, I need to know such things as what bars are displayed in the price panel (for example bar number 500 at position +200 pixels) and the space between each price bar. I don't see these informations in the CustomPlotSample indicator code so my question is what objects/variables can I use to obtain this kind of information?
Thanks

Comment