I need to modify/ Duplicate and Modify the LinReg method. In LinReg there is a method called SUM that takes 2 pars , a Series and an Int, can I assume that that method give the sum of all the input Series for the number of bars back equal to int ?
Here is the line it appears:-
double slope = ((double)Period * sumXY - sumX * SUM(Inputs[0], Period)[0]) / divisor;
Comment