I'd like to use Draw Functions to draw Divergence lines on both the Indicator Panel AND the Price Panel. I believe that this is not supported, one indicator can only put the Draw functions on one panel or another. (please tell me how if I'm wrong)
So I'm looking for either :-
- A function that converts PricePanel Y Values (ie: Close[0]) to GDI Coordinate values. Similar to ChartControl.GetXByBarIdx() but for Y values.
OR - A Function that tells me the Upper & Lower values that are visible in the Y Axis scale so I can write my own convertion function.
OR - Any suggestions on how to map between the Price Scale & the GDI Graphics scale.
While I suspect this is not supported, I know others have done it before so any thoughts you can provide would be most welcome.
Thanks
Comment