I have three different time-based candlestick charts. On each of them, I draw a few horizontal lines that I want to show on each other chart with the same ticker.
Occasionally, there's a thick confluence of lines. I need a script that toggles the visibility of the lines belonging to the same group, namely those from the generating chart that I'd rather switch off.
I usually modify or adapt indicator code, but I don't have a clue about how to proceed.
Any suggestions will be welcome!

Comment