that works fine. It doesn't draw until the bar is at the correct time, and ends correctly,
BUT. I don't want the line to draw past the current bar. I want it to stop at the current bar and keep updating with each bar
to stay out of the margin area where I have important levels.
Here's the original code:
Draw.Line(this, "Open" + dt.Month + dt.Day + dt.Year, false, dtStartTime, OpenPrice, dtEndTime, OpenPrice, Brushes.DodgerBlue, OpenDashStyleHelper, OpenLineWidth);
Thank you to anyone and everyone who replies!
Comment