I would like to be able to automatically place a number of horizontal lines on my chart without having to input each one manually.
However I would like to input the price where the first horizontal line is situated via an input box, and then I would like the code to automatically place horizontal lines 100 pips above and below the price that I choose to place the original horizontal line at, and then 100 pips above and below each new line upto an exchange rate of about 3:1, as I would like to use the indicator for a wide range of currencies but mainly the majors. The price of the first line changes each day so I cannot just make a template.
Any advice is much appreciated.
However I would like to input the price where the first horizontal line is situated via an input box, and then I would like the code to automatically place horizontal lines 100 pips above and below the price that I choose to place the original horizontal line at, and then 100 pips above and below each new line upto an exchange rate of about 3:1, as I would like to use the indicator for a wide range of currencies but mainly the majors. The price of the first line changes each day so I cannot just make a template.
Any advice is much appreciated.