I am trying to calculate the Linear Regression curve for a custom indicator. Looking through the code for the available indicators I found the LinearRegCurve file that shows how to calculate this.
double linReg=Utility.linRegLine(series, index, period, input, period)[0]; // end point of line
which uses the following import
import com.motivewave.platform.study.general.Utility;
However I do not have access to that import or more importantly the method call. How can I get access to this method call?
double linReg=Utility.linRegLine(series, index, period, input, period)[0]; // end point of line
which uses the following import
import com.motivewave.platform.study.general.Utility;
However I do not have access to that import or more importantly the method call. How can I get access to this method call?