I have an indicator I'm developing. Right now it simply plots horizontal lines at different percentages since the previous days close. So it will plot lines at the 1,2 and 3% above or below the close of the previous day. Now I'd like some flexibility to be able to plot from the close of previous days back for example if I wanted to plot the lines to draw from the close of 3 days back. Any ideas on how I would achieve this?
Now I have put a value in daysback as 3 but still does not plot lines 3 days back. Hmmm.
Indicator code attached
Thanks in advance
DJ
Comment