I have a strategy that does a DrawLine.
The DrawLine places the line endpoints at the wrong price when the 6E is scaled on the LEFT. See attached picture #1
When I switched the scaling for 6E to RIGHT, the line endpoints are correct.
See attached picture #2.
The chart is a LineOnClose type which clearly shows the price at the time of the
DrawLine.
Here is the DrawLine cmd I used:
DrawLine(CurrentBar.ToString()+"L"+lineCount, true, barsAgo, Close[barsAgo], 0, Close[0], lineColor, DashStyle.Solid, 1);
Seems like a bug.
Gary
Comment