Has anyone a solution how you can work with the price of a horizontal line object which was drawn manually on the chart?
I tried to get lines from the user but that's not a professional work...
Has anyone a solution how you can work with the price of a horizontal line object which was drawn manually on the chart?
I tried to get lines from the user but that's not a professional work...
As far as I know, you can use the
confirmargument ininput.time()andinput.float()for getting the X and Y. If it's a horizontal line then you only need the float one.