Solution #1 - use files
I can have the drawing tools write data to the disk and have the indicator load the data.
But then I'll have to deal with knowing when updates have happened.
Solution #2 - static variables?
Haven't tried this but it seems that I can have my custom drawing tool have a static variable with a list of all the things it's drawn then access this from the indicator by including the namespace from the drawing tool.
For this I would have to make sure that both the drawing tool and the chart are installed.
Solution # 3 - maybe there's a way to get a list of all the objects drawn in the chart?
Is there a right way to do this?
Comment