Forum

Accessing User placed Horizontal Line from a program

I am trying to learn how to access the price data of a Horizontal Line that has been placed on a chart manually by a user. Attached is a test program I ve been using (butchering) in trying to figure out how it is done. Seems I can read it once ... but after it is moved by a user on the screen' I can

Using the price level of a teminal implemented Horizontal Line

Surely this can be done right? Reading the price level of a user installed horizontal line. By user installed I mean placed on to a chart manually. The following code is something i was playing with trying to learn to do just that. In the end i want to be able to place 2 Horizontal lines on a chart