I need to get data from a rectangle that is drawn by an indicator in chart.
I need to get the data as this appear in drawing objects (see attached screenshot): color, start time, start Y, end time, end Y and then assign these values to respective variables to process later in the logic of the strategy.
Could I see the code to do this?
Thanks in advance
Comment