I created a new indicator that draws a horizontal line on the chart when specific criteria have been met.
Is there a way to change the Global Drawing Object code so that the horizontal line can also be displayed on other charts that have Global Drawing Object turned on?
I have multiple computer monitors, and at this time I have the indicator activated on a few of my tick charts. But on another computer monitor that I use, I have minute-based charts (1 minute chart, 2 minute chart, 5 minute chart, etc.)
In fast moving markets, while I'm analyzing my minute based charts, I would like for one of the horizontal lines that appear indicating that specific criteria on my 75 tick chart has been met, to also appear on my minute-based charts.
Is that possible? And if so, what code would I add into the indicator NinjaScript?
The first attached screenshot shows the current Global Drawing Object setting for the new indicator that I created. The second screenshot shows the Global Drawing Object settings for a horizontal line that I manually added to a chart.
The third attached screenshot shows my current horizontal line code for the indicator.
Comment