I wish to access a variable of an indicator from a strategy.
1/. Is there any way to pass a variable value from an indicator to a strategy. I see obviously I can pass the streams but I cannot see how to pass single state information. Is this intentional or am I missing something?
I can pass state information in a separate stream but I cannot access internal streams of an indicator from within a strategy and cannot get the a output stream to NOT display when I use xxx:setStyle(core.LINE_NONE) for the stream - it adjusts the chart to reflect the hidden stream, which is not the effect that I desire.
2/. I cannot access indicator methods from a strategy - again is this intentional?