I am looking to build a simple indicator, the code for which I am hoping will also be simple. All I want is for the indicator to plot horizontal lines at two multiples of ten above and below current price. So for example if the exact price was 7182.25, I want the indicator to plot horizontal lines at 7190.00 and 7180.00. Or if it would be easier to do, simply plot multiples of 10 within a given range, i.e. from 7100.00 to 7200.00, what do you think?
P.S. I know that I can set up grid lines to represent exactly what I am talking about, however unless anybody knows a way to call upon grid lines in a strategy, that information isn't useful for me.
Thank you for any help you can offer, I look forward to your guidance.
Comment