help for LinRegForecast_a

tsxela

Newbie
Messages
4
Likes
0
I would write an indicator in EasyLanguage which is based on the "LinRegForecast_a" but I do not understand the syntax.
I have little practice with arrays.
can anyone help me?
it's possible have a numeric example?
thanks


code LinRegForecast_a:

Inputs: IndArray[Xsize](NumericArrayRef), DepArray[Ysize](NumericArrayRef), ArraySize(Numeric), X(Numeric);

LinRegForecast_a = LinRegIntercept_a(IndArray, DepArray, ArraySize) + (LinRegSlope_a(IndArray, DepArray, ArraySize) * X);
 
NumericArray declares an array passed by_value.
It does not permit a function to modify the array.

NumericArrayRef declares an array passed by_reference.
It permits a function to modify the array.

SortArray is an example of a built-in function which uses NumericArrayRef.

If you need additional help post the code for LinRegIntercept_a and LinRegSlope_a which are called by LinRegForecast_a. ... And describe the indicator you want.
 
Top