I would like to use an indicator to get values for multiple candles so I tried using this
Object outputs = indicators.calculateIndicator(instrument,
My understanding is that I should get an array of two elements (indicator values for the last 2 candles), each element an array of values returned by the indicator (here I am using ichimoku, so there are 5 values)
The documentation says the object returned is an array of arrays. How do I access it ?
I tried this:
Objectfirst = outputs;
Objectsecond = outputs;
then I would access each object elements. but I get a compilation error
Type mismatch, cannot convert from Object to Object
How can I access the returned data ?