Get data from indicator separate window (universal way)

 

Hi,

I want to get the indicator data from a separate window.

I need to do it in universal way. I mean, doesn't matter if it is an RSI window or MACD or anything else.

I want to collect the indicator data into an array, regardless of what indicator it is (in other words: i need to get the data without having to specify explicitly what indicator it is).

Is it possible?

Reason: