Navigation: Function Reference > Stream Functions > Stream Utility Functions > strmRegressionSlope()

strmRegressionSlope()

Top  Previous  Next

strmRegressionSlope( stream: TEStream; offset: integer; bars: integer ) : Double;

 

Calculates the slope of the linear regression over bars, starting at offset.

 

Parameters

 

stream

input stream of type TEStream

offset

integer value. offset into the stream at which to start the calculation.

bars

integer value. number of bars over which to perform the calculation.