I'd like to be able to have an Addon call a function in my Indicator on a specific chart.
Picture this. I have an Indicator that has a function that draws a vertical line at the current bar. However this function gets called all it does is draw a line at the current bar. I have an Addon that has a window with a single button. I want to push that button and somehow have it call the function in the Indicator to draw the vertical line. Obviously, the Addon needs to know which chart is the active one with focus because I don't want the line on every chart.
It would also be nice if the Indicator could communicate back to the Addon that it drew the line.
Is this possible? If it is, then this is a great starting point for me to continue my Addon idea.
Thanks,
Fred
Comment