Is there a way to make the DrawLine method draw on a particular scale (Left, Right, Overlay)?
It appears it cannot draw on the scale of the secondary instrument.
I have attached an indicator that is meant to be used for a chart with 2 instruments where the primary instrument is scaled on the Left and the secondary instrument is scaled on the Right. The indicator currently defaults to "6B 06-12" for 2nd instrument and therefore assumes "6E 06-12" for primary instrument.
The indicator draws a line from session open to current price for each instrument.
On the call to DrawLine for Instrument 2, when the 2nd parameter is set to 'false,' the line does not show up on the chart (due to the price being our of range for the current scale of primary instrument).
When I change the 2nd parm to 'true' the line shows up and scrunches the scaling.
Is this a bug that will be fixed in the future or is this a permanent 'feature'?
Regards,
Gary
p.s.
I believe that this may be related to the following issue:
Comment