I actually have two questions about Draw objects:
1. Is it possible to draw a line segment over the right-most N bars of the chart so that is continually moves as the day progresses? For example, I want to draw a line at a price of 45.50 such that it displays over the last 10 bars, but continues to be extended as the trading day passes.
My thought for doing this was to use the DrawLine method and, at every bar, remove and redraw the Draw object. This seems inefficient and I wondered if there was a better way.
2. Can a label or text box be added to the line above so that it always appears at the right-most edge of the Line object?
Thank you.
Comment