Hi there,
I'm new to JForex so sorry if this is a stupid question...
Quote:
You are receiving this exception because, you are trying to pass to a function setInputParameter as second parameter just an object. Instead you need to pass the array of objects.
The code is:
private double[][] inputs = new double[1][];
...
ind01.setInputParameter(0, inputs[0]);
I am passing an array of doubles, the same as in the tutorial "
Implementing indicator that uses another indicator". I tried passing
inputs which is
double[ ][ ] but that resulted in other errors.
This code works with all the indicators that I have used - except for ULTOSC.
Has anyone managed to call ULTOSC from within a custom indicator?
If so I would greatly appreciate an example!