In this specific example a horizontal line is drawn at the level of the highest high over a user input number of bars. _Tutorial 166 demonstrates a technique that ensures that a drawing object remains visible in the chart window, even if price activity is no longer in the region of the chart where the drawing object is positioned.
Without using a technique such as demonstrated in this tutorial would require manual scaling