Does anyone know of an indicator that will plot a horizontal line "x" bars forward of a price e.g. close (ideally would be able to input open, high low, close to be used).
I want to plot lines above and below the input price e.g. close using +/- another input value e.g. 20
x is an input e.g. 5 - in this case the line would be extend from the bar that was used in the calculation forward 5 bars. Ideally the lines would start at the next bar as they are not relevant to the bar that they are calculated on.
So for example:
If close was input as the price to be used.
20 points was input
number of bars of 5 was input
Current close is 100
Result:
Horizontal lines above and below the bar going forward 5 bars (ideally the lines would start at the next bar).
One line at the 120 level
One line at the 80 level
Alternatively would someone mind coding one or point me in the direction of one I can clone and change.
Comment